# Proxy 502 error on file upload with rails 2.3.2

**URL:** <https://www.ruby-forum.com/t/proxy-502-error-on-file-upload-with-rails-2-3-2/166147>\
**Category:** Rails\
**Created:** [April 22, 2009, 9:38am UTC](https://www.ruby-forum.com/t/proxy-502-error-on-file-upload-with-rails-2-3-2/166147 "2009-04-22T09:38:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattias](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/cab0a1/32.png) [@mattias](https://www.ruby-forum.com/u/mattias)\
**Post date:** [April 22, 2009, 9:38am UTC](https://www.ruby-forum.com/t/proxy-502-error-on-file-upload-with-rails-2-3-2/166147/1 "2009-04-22T09:38:17Z")

</div>

I have the following running on a FreeBSD 6.0

Rails 2.3.2  
Mongrel 1.1.5  
Mongrel\_cluster 1.0.5  
Apache 2.2.8 with proxy balancer

After updateing to Raisl 2.3.2 i get a proxy error when uploading larger  
files, You can se the error below: I have tested the setup with Raisl  
2.2.2 and it works fine.

Does this have to do with Rack in the new Rails version?

(70014)End of file found: proxy: error reading status line from remote  
server 127.0.0.1, referer: [http://domain.com/admin/assets/new](http://domain.com/admin/assets/new)  
[Wed Apr 22 09:30:37 2009] [error] [client xx.xx.xx.xx] proxy: Error  
reading from remote server returned by /admin/assets, referer:  
[http://domain.com/admin/assets/new](http://domain.com/admin/assets/new)

/mattias
