Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Pinax gunicorn deployment behind a NAT, where the outward-facing Apache server does a ReverseProxy to the gunicorn server. Overall it works well but when I try to log in with OpenID I get an error:

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /openid/register/.

Reason: Error reading from remote server

How can I get Pinax to cooperate with NAT?

share|improve this question

migrated from Jul 24 '12 at 21:40

This question came from our site for users of Linux, FreeBSD and other Un*x-like operating systems.

Reason: Error reading from remote server - this means that probably your application code either didn't return something in time or did return something wrong – Ulrich Dangel Jul 24 '12 at 19:19
Check the log files on both servers? Specific error codes? Try sniffing the traffic? – Chris S Jul 24 '12 at 21:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.