runningOnComputeEngine throws error #1216
Labels
needs more info
This issue needs more information from the customer to proceed.
type: question
Request for information or clarification. Not an issue.
Environment details
Stacktrace
Any additional information below
I'm using the cloud sql socket factory which makes use of google-api-java-client within a Gradle build to setup cloud sql databases. The runningOnComputeEngine throws a network not reachable exception instead of the expected SocketTimeoutException. Given that it is not able to connect, the unreachable exception does not seem too bad/expected? But instead of accepting that it is not running within a compute engine, the client crashes.
(there is a flag to turn it off as a workaround)
The text was updated successfully, but these errors were encountered: