Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

Build failed when App Engine APIs are not enabled #51

Open
hilliao opened this issue Jan 12, 2019 · 2 comments
Open

Build failed when App Engine APIs are not enabled #51

hilliao opened this issue Jan 12, 2019 · 2 comments

Comments

@hilliao
Copy link

hilliao commented Jan 12, 2019

The following error happens running integration tests when App Engine APIs aren't enabled. The fix is to browse to Cloud Console and enable App Engine API. It does not happen for projects that already enabled or have App Engine applications. The biggest problem is the error isn't obvious and took my team 3 days to figure out.

Error:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

@gregorskii
Copy link

I am having a similar issue. The service account JSON path is correct on my machine and a NodeJS script using the same service account JSON can send messages. The Java code cannot properly connect to it and make a subscription. I have double checked the IAM permissions for the SA and the topic permissions for the topic look correct.

Any advice?

@gregorskii
Copy link

My issue was related to https://issues.apache.org/jira/browse/BEAM-7851.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants