Troubleshooting SSL Handshake Error for Building Datahub Clone on Ubuntu VM

Original Slack Thread

Getting a error while building a fresh clone of datahub. A problem occurred configuring project ‘:datahub-frontend’.

Could not resolve all files for configuration ‘:datahub-frontend:classpath’.
Could not resolve io.github.kobylynskyi:graphql-java-codegen-gradle-plugin:4.1.1.
Required by:
project :datahub-frontend > io.github.kobylynskyi.graphql.codegen:io.github.kobylynskyi.graphql.codegen.gradle.plugin:4.1.1
Could not resolve io.github.kobylynskyi:graphql-java-codegen-gradle-plugin:4.1.1.
Could not get resource ‘https://plugins.gradle.org/m2/io/github/kobylynskyi/graphql-java-codegen-gradle-plugin/4.1.1/graphql-java-codegen-gradle-plugin-4.1.1.module’.
Could not GET ‘https://jcenter.bintray.com/io/github/kobylynskyi/graphql-java-codegen-gradle-plugin/4.1.1/graphql-java-codegen-gradle-plugin-4.1.1.module’.
Remote host terminated the handshake. I’m running on an Ubuntu VM on GCP. Has anyone come across this issue?

not on gcp, but you could try to verify that your machine has connectivity to bintray? Maybe curl the url and check the response?

<@U05F2CWUS5C> This is the result of CURL; curl https://jcenter.bintray.com/io/github/kobylynskyi/g
raphql-java-codegen-gradle-plugin/4.1.1/graphql-java-codegen-gradle-plugin-4.1.1.module
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to http://jcenter.bintray.com:443|jcenter.bintray.com:443

In that case I assume your linux machine doesn’t have a correct certificate chain in place :slightly_smiling_face: