I work for a big corporation and we have a Spanner instance set up in a GKE cluster. I wrote a service that accesses the db, and I need to be able to test it from my local workstation.
I saw that there is a Spanner emulator, but it requires that we install and use Docker Desktop, but the higher ups at my company have dictated that we cannot use Docker Desktop, probably due to costs.
I tried downloading the service connection certificate file for our cluster and configured a GOOGLE_APPLICATION_CREDENTIALS environment variable that points to this file’s location.
When I try debugging the code in visual studio and accessing the Spanner instance I receive the following error (note: the xxxxxxxxxxxxxxx is the address for our corporate proxy - I obfuscated it for security reasons):
Status(StatusCode="Internal", Detail="Error starting gRPC call. HttpRequestException: Unable to get subchannel from HttpRequestMessage. (xxxxxxxxxxxxxxxxx) InvalidOperationException: Unable to get subchannel from HttpRequestMessage.", DebugException="System.Net.Http.HttpRequestException: Unable to get subchannel from HttpRequestMessage. (xxxxxxxxxxxxxxxxxx)\r\n —> System.InvalidOperationException: Unable to get subchannel from HttpRequestMessage.\r\n
I’ve scoured the internet for information on this error, and I’m not having any luck. Has anyone encountered something like this and know how to work around it?