Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-4492

Tez UI Build Failing Due to Bower Registry CERT_EXPIRE issue ( BOWER-2608)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.10.3
    • UI
    • None

    Description

      After the recent Bower certificate renewal, Tez build in certain environments is failing because of

      [INFO] bower more-js#0.8.8 CERT_HAS_EXPIRED Request to https://registry.bower.io/packages/more-js failed: certificate has expired

      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 ?

      Attachments

        Issue Links

          Activity

            People

              AnmolSun Anmol Sundaram
              AnmolSun Anmol Sundaram
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m