# 502 proxy error

**URL:** <https://www.ruby-forum.com/t/502-proxy-error/185318>\
**Category:** Deployment\
**Created:** [March 18, 2010, 5:00am UTC](https://www.ruby-forum.com/t/502-proxy-error/185318 "2010-03-18T05:00:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![martin\_mercy2001](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/d2c977/32.png) [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Post date:** [March 18, 2010, 5:00am UTC](https://www.ruby-forum.com/t/502-proxy-error/185318/1 "2010-03-18T05:00:24Z")

</div>

Dear Friends,

I have deployed my rails application in linux slackware 13 and used  
apache server.

After deployment i was able to access the login page of my web  
application and when i give my login and password it says “502 Proxy  
error” like,

Proxy error,

The proxy server received an invalid response from an upstream server.  
The proxy server could not handle the post

Reason: Error reading from the remote server.

Actually my post request was sent to proxy server and restricted but get  
request works fine.

Could anyone help me to fix this problem?

Thanks in advance…

Regards,  
Jose Martin
