Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 unix.stackexchange.com 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.