Deployment of Gunicorn + Flask + Nginx on Cloud Run

168 views
Skip to first unread message

Suraj Khaitan

unread,
Apr 28, 2021, 5:22:11 PM4/28/21
to Google Cloud Developers
Hi,

"We are deploying flask app with gunicorn along with nginx on cloud, however while accessing the services of cloud run we are constantly getting '"2021/04/28 15:21:47 [error] 2#2: *25 connect() failed (111: Connection refused) while connecting to upstream, client: 169.254.8.129, server: , request: "GET /test HTTP/1.1", upstream: "http://0.0.0.0:8081/test", host: "app-j4n75rtl2q-uc.a.run.app"'

Please suggest how to resolve this.

Thanks,
Suraj

Shawn Wu

unread,
May 3, 2021, 11:55:43 AM5/3/21
to Google Cloud Developers
I recommend you to add debugger to gather more details. Also can you provide your Dockerfile details ?
Reply all
Reply to author
Forward
0 new messages