Google App Engine with Postgres & Go - Unable to connect to DB

88 views
Skip to first unread message

Bryce Chudomelka

unread,
Feb 19, 2021, 2:06:13 PM2/19/21
to Google App Engine
Hello,

I am having a lot of trouble deploying my project to GAE and connecting to Postgres Cloud SQL. I tried Stack Overflow but no such luck.


My Go program MWE can connect to postgres on my local machine but it cannot connect when deployed. I have provided a rather robust description of my Code and errors on SO. I don't know where else to go to ask for help. 

David (Cloud Platform Support)

unread,
Feb 24, 2021, 5:09:55 PM2/24/21
to Google App Engine

Hello,

Please note that Google Groups is reserved for conceptual discussions that don’t involve debugging. I understand you may know this already but just ran out of options to get additional assistance other than Stack Overflow. In order for you to get proper assistance, I would recommend you to check out Google Cloud Platform Support. If you happen to be on a free trial, you may be eligible for free support (click on free trial).

Also, please take a look at this working example of gae/go and postgresql which also uses pgx as it may be helpful. This is part of the Cloud SQL quick start so should work almost out of the box (I say almost because you still need to add your own cloud sql instance information).

Reply all
Reply to author
Forward
0 new messages