Hi Adam,

This was a working app that stopped working all of a sudden. We raised a 
ticket with Google and have now sorted it out. It seems Google is bringing 
security constraints for Apps so that when using the Google Mysql Driver, 
you have to specify the db address as projectid:instanceid and not the IP 
address. This rule was enabled on our app at mid day yesterday that caused 
the app to not be able to connect to the DB. We have updated the app now 
and all seems to work as normal again.

Thanks,

Mitul

On Wednesday, 18 November 2015 23:49:53 UTC, Adam wrote:
>
> This first thing I would check is to make sure your App Engine 
> application's Project ID is still set under 'Authorized App Engine 
> applications' [1]. It it is, try restarting the CloudSQL instance itself 
> (click on the instance name, then 'Restart' at the top).
>
> [1] https://cloud.google.com/sql/docs/access-control#appengine
>
> On Wednesday, November 18, 2015 at 9:43:51 AM UTC-5, Mitul Amin wrote:
>>
>> Hello,
>>
>> Today, just before 12pm, my app on app engine started throwing 
>> com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: 
>> Communications link failure exceptions. It seems like it is not able to 
>> connect to my sql instance, but the sql instance is running. I can connect 
>> to it from my machine in the office as well as another externally hosted 
>> server.
>>
>> I have two apps on app engine and this issue is affecting just one of 
>> them.
>>
>> I have shutdown the one and only dynamic instance for the app and tried 
>> visiting the site which started a new instance and that still has the 
>> problem.
>>
>> Has anybody else facing a similar situation at the moment or has faced 
>> this in the past? Any suggestions?
>>
>> Thanks,
>>
>> Mitul
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0561b66c-57b5-40de-846b-e8090d7d2ac8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to