You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "László Bodor (Jira)" <ji...@apache.org> on 2023/05/04 07:58:00 UTC
[jira] [Resolved] (TEZ-4492) Tez UI Build Failing Due to Bower Registry CERT_EXPIRE issue ( BOWER-2608)
[ https://issues.apache.org/jira/browse/TEZ-4492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
László Bodor resolved TEZ-4492.
-------------------------------
Resolution: Fixed
> Tez UI Build Failing Due to Bower Registry CERT_EXPIRE issue ( BOWER-2608)
> --------------------------------------------------------------------------
>
> Key: TEZ-4492
> URL: https://issues.apache.org/jira/browse/TEZ-4492
> Project: Apache Tez
> Issue Type: Bug
> Components: UI
> Reporter: Anmol Sundaram
> Assignee: Anmol Sundaram
> Priority: Minor
> Fix For: 0.10.3
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> After the recent Bower certificate renewal, Tez build in certain environments is failing because of
> {code:java}
> [INFO] bower more-js#0.8.8 CERT_HAS_EXPIRED Request to https://registry.bower.io/packages/more-js failed: certificate has expired{code}
> To fix, we can use one of the two approaches ->
>
> Approach 1 :
> We should update the bower registry to a new one which does not lead to this issue.
>
> The build is passing after using the new registry as well.
> Ref :
> Issue : [https://github.com/bower/bower/issues/2608]
> Fix : [https://github.com/bower/bower/issues/2608#issuecomment-1522810048]
>
> Disadvantage :
> This bower registry was deprecated as per the following sources.
> [https://twitter.com/bower/status/918073147789889536]
> [https://gist.github.com/sheerun/c04d856a7a368bad2896ff0c4958cb00]
> We may face issues in connecting to this URL in future.
> ============
> Approach 2 :
> A workaround is to disable strict-ssl in bowerrc . We need to disable it for .yarnrc as well, otherwise the build was leading to a different error :
> ******************
> error An unexpected error occurred: "https://registry.yarnpkg.com/boom/-/boom-7.3.0.tgz: unable to get local issuer certificate".
> ******************
>
> Disadvantage :
> Might not be recommended to disable SSL ?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)