I deployed my django project in GAE and I get the 502 Bad Gateway error on 
all pages except the main one. 
The previous version was working, but is not working since I added API 
calls for storage (storages.backends.gcloud.GoogleCloudStorage). 
I added environment variable GOOGLE_APPLICATION_CREDENTIALS in both 
settings.py and app.yaml. Log shows this error:

[error] 32#32: *111 upstream prematurely closed connection while reading 
response header from upstream, client: xxx.xxx.xxx.xxx, server: , request: "GET 
/accounts/login/ HTTP/1.1", upstream: 
"http://xxx.xxx.xxx.xxx:8080/accounts/login/";, host: "xxxx.appspot.com", 
referrer: "https://xxxx.appspot.com/";

I posted a question in stackoverflow too and I get no answer. I spent 2 days in 
this and can't get it working.

-- 
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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/3128edaf-fabd-4859-bc25-5d2ea82daa8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... Carlos Martínez

Reply via email to