GoogleCloudPlatform / gradle-appengine-templates

Freemarker based templates that build with the gradle-appengine-plugin
438 stars 205 forks source link

Execution failed for task ':backend:appengineEndpointsGetClientLibs' #79

Open brianhsux opened 8 years ago

brianhsux commented 8 years ago

Hi, all, I've implemented a test GCM app for testing. Cause I need a server to manage the message. So I choice the Google Cloud Platform. Below is the error message I've seen when building.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':backend:appengineEndpointsGetClientLibs'.
> There was an error running endpoints command get-client-lib: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2.38 secs
unable to find valid certification path to requested target
下午 04:12:10: External task execution finished ':backend:assemble'.

It seems that i don't have the valid certification. I try to find this issue on the internet from http://magicmonster.com/kb/prg/java/ssl/pkix_path_building_failed.html Maybe I should add the CA in the path to cacerts.

But I'm confusing that where is the CA of this App? Could anyone help me to solve this question?

Thanks for your kindly help. BR Brian

loosebazooka commented 8 years ago

I wonder if it has something to do you with your network setup or computer setup. Let me see if someone on the endpoints team might be able to explain.

tangiel commented 7 years ago

Is this is happening?