Skip to content
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

init-cloudsql fails probably due to disabled network access #65

Closed
lagzda opened this issue Aug 5, 2016 · 1 comment
Closed

init-cloudsql fails probably due to disabled network access #65

lagzda opened this issue Aug 5, 2016 · 1 comment
Labels
🚨 This issue needs some love. triage me I really want to be triaged.

Comments

@lagzda
Copy link

lagzda commented Aug 5, 2016

Hello!
I am trying to complete the node.js CloudSQL bookshelf tutorial on my Mac.
I have enabled the APIs, set up my project and created a first generation sql instance.
I have configured the instance as specified in the tutorial -
Named my database "library"
Allow all network access (0.0.0.0/0)
Requested ipv4
Created a user
I have also set up my config.json file with these variables -
{
"GCLOUD_PROJECT": "[MY_ID]",
"DATA_BACKEND": "cloudsql",
"MYSQL_USER": "nodejsapp",
"MYSQL_PASSWORD": "[MY_PASSWORD]",
"MYSQL_HOST": "[YOUR_MYSQL_HOST]" example 176.197.82.75
}
When I run the script it throws an error - Error: connect ETIMEDOUT, with more output.
I am guessing that this is due to blocked access as I have also tried pinging the server and it sends request timeout.
I also tried gcloud beta sql connect and that did not connect as well, although it said that it is temporary whitelisting my IP which appeared in Console.
Please help!

@lagzda
Copy link
Author

lagzda commented Aug 5, 2016

Sorry, network fault!

@lagzda lagzda closed this as completed Aug 5, 2016
@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚨 This issue needs some love. triage me I really want to be triaged.
Projects
None yet
Development

No branches or pull requests

2 participants