Google Cloud SQL: Can't add authorized application

150 views
Skip to first unread message

Zack Hine

unread,
Jan 9, 2016, 6:54:43 PM1/9/16
to Google App Engine

I know how to authorize an application for a cloud sql instance, and I've even already done it, but I had to delete the instance and create a new one because I had chosen the wrong version of MySQL.


So when I go to this screen: 





And then click Access Control to go to this screen to add my application:


Then click Save, I get this after a few seconds:




It always says Could not complete the operation. This has been going on for a couple hours now. I even tried creating a brand new application and a new instance in that and I get the same issue.

I thought maybe it was a region issue but as you can see in the first pic the instance region is set to us-east1, and as you can see in the next pic, the region of my app engine is the same.


Without this working I can not use cloud sql at all in my application because I get 'MySQL server has gone away' error when trying to connect.


What is going on?



Zack Hine

unread,
Jan 10, 2016, 1:42:07 AM1/10/16
to Google App Engine
Just want to add, that I've also tried installing the Google Cloud SDK and running:
gcloud sql instances patch my-instance --authorized-gae-apps my-app

And the result is:
The following message will be used for the patch API method.
{"project": "my-app", "instance": "my-instance", "settings": {"authorizedGaeApplications": ["my-app"]}}
ERROR: (gcloud.sql.instances.patch) Service temporarily unavailable.
Message has been deleted

Adam (Cloud Platform Support)

unread,
Jan 10, 2016, 3:04:44 PM1/10/16
to Google App Engine
This unfortunately is a known issue. Feel free to star the issue here for visibility.
Reply all
Reply to author
Forward
0 new messages