-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Timeout Error after following Kubernetes example #9
Comments
Interesting. I'm thinking that error happens when the proxy was attempting to receive an oauth token for your service account, although that's a strange failure mode. Is it possible that you are preventing outgoing HTTP requests in your Kubernetes configuration? @dlorenc : have you ever seen this? |
I haven't seen this, but did notice another error that I didn't see before. I just sent a PR to add that. @beldur, can you try again with the ssl-certs volume like I added in #10? Other than that, I'd try to make sure you have outbound internet access and your DNS configuration is correct. If you SSH to a node, can you ping accounts.google.com? |
From a Cluster Node:
From a Container (nginx vanilla container) running on a node
|
I added the ssl certs volume and replaced my RC with
I still get the same timeout error. |
My guess is similar to @dlorenc, in that it seems that something is blocking outgoing connections to that address from within the container. Do you happen to set any sort of network flags on that container? Can you SSH and try to do a |
I completely recreated my cluster with the new GKE Version 1.2 Now I don't get the timeout error anymore. |
Was there any more info about this? I've seen it again lately, a few times. Under GKE Version 1.14.9-gke.23. Support hasn't been able to see anything conclusive and suggested creating a new cluster. |
…tures/ngorski/add_git Add git to the base image.
Hi,
I created a GKE Cluster and followed the Kubernetes instructions:
Now I'm getting the following error (XXX:XXX is my Project and Instance Name):
Open socket for "XXX:XXX" at "/cloudsql/XXX:XXX"
Socket prefix: /cloudsql
Got a connection for "XXX:XXX"
couldn't connect to "XXX:XXX": Post https://www.googleapis.com/sql/v1beta4/projects/XXX/instances/XXX/createEphemeral?alt=json: oauth2: cannot fetch token: Post https://accounts.google.com/o/oauth2/token: dial tcp: i/o timeout
Any idea where the timeout comes from?
The text was updated successfully, but these errors were encountered: