You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/09/23 14:34:31 UTC

[GitHub] [cordova-android] yuanzuo opened a new issue #1075: cordova android v9 - build failure - unable to find valid certification path to requested target

yuanzuo opened a new issue #1075:
URL: https://github.com/apache/cordova-android/issues/1075


   # Bug Report
   upgraded my project cordova-android 9.0 from android 8.
   Upgraded CLI to Cordova 10.
   upgraded node.js to v12.18.4
   upgraded to java 8 to patch 261
   
   ## Problem
   android build failed the error: unable to find valid certification path to requested target
   
   FAILURE: Build failed with an exception.
   * What went wrong:
   A problem occurred configuring root project 'android'.
   > Could not resolve all artifacts for configuration ':classpath'.
      > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50.
        Required by:
            project :
         > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50.
            > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.50/kotlin-gradle-plugin-1.3.50.pom'.
               > Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.3.50/kotlin-gradle-plugin-1.3.50.pom'.
                  > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      > Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.72.
   
   ### What is expected to happen?
   Build Should be successful.
   
   
   ### What does actually happen?
   build failed the error: unable to find valid certification path to requested target
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   see above.
   I got this error in command line and in Android Studio (v3.1.4)
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   >cordova build android
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   Windows 10. Cordova v10. Gradle 6.5. Cordova-android v9.0
   
   ### Version information
   Windows 10. Cordova v10. Gradle 6.5. Cordova-android v9.0
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x ] I searched for existing GitHub issues
   - [x ] I updated all Cordova tooling to most recent version
   - [x ] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] timbru31 commented on issue #1075: cordova android v9 - build failure - unable to find valid certification path to requested target

Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #1075:
URL: https://github.com/apache/cordova-android/issues/1075#issuecomment-698858535


   Very weird, but sadly not an issue we can solve given the fact that gradle itself has problems to reach a specific URL.
   
   Your antivirus program might be the culprit, too, some install custom SSL certificates and try to intercept SSL traffic. Your Java installation might be too old, too and does not trust the GeoTrust RSA CA 2018 which Bintray uses.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] timbru31 commented on issue #1075: cordova android v9 - build failure - unable to find valid certification path to requested target

Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #1075:
URL: https://github.com/apache/cordova-android/issues/1075#issuecomment-698313689


   This looks like some network hiccups or proxy issues. Can you test it again or with another/different network?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] timbru31 commented on issue #1075: cordova android v9 - build failure - unable to find valid certification path to requested target

Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #1075:
URL: https://github.com/apache/cordova-android/issues/1075#issuecomment-698313689






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] yuanzuo commented on issue #1075: cordova android v9 - build failure - unable to find valid certification path to requested target

Posted by GitBox <gi...@apache.org>.
yuanzuo commented on issue #1075:
URL: https://github.com/apache/cordova-android/issues/1075#issuecomment-698661782


   Initially I thought it is caused by company network VPN. But it still fails if it was run outside company network. 
   I also tried using another wifi than home wifi, no luck. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] yuanzuo commented on issue #1075: cordova android v9 - build failure - unable to find valid certification path to requested target

Posted by GitBox <gi...@apache.org>.
yuanzuo commented on issue #1075:
URL: https://github.com/apache/cordova-android/issues/1075#issuecomment-698661782


   Initially I thought it is caused by company network VPN. But it still fails if it was run outside company network. 
   I also tried using another wifi than home wifi, no luck. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] timbru31 closed issue #1075: cordova android v9 - build failure - unable to find valid certification path to requested target

Posted by GitBox <gi...@apache.org>.
timbru31 closed issue #1075:
URL: https://github.com/apache/cordova-android/issues/1075


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] timbru31 closed issue #1075: cordova android v9 - build failure - unable to find valid certification path to requested target

Posted by GitBox <gi...@apache.org>.
timbru31 closed issue #1075:
URL: https://github.com/apache/cordova-android/issues/1075


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org