# Attachment upload prob. on production server

**URL:** <https://www.ruby-forum.com/t/attachment-upload-prob-on-production-server/112733>\
**Category:** Rails\
**Created:** [August 22, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/attachment-upload-prob-on-production-server/112733 "2007-08-22T18:12:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pavel\_Lysov](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/6a8cbe/32.png) [@Pavel\_Lysov](https://www.ruby-forum.com/u/Pavel_Lysov)\
**Post date:** [August 22, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/attachment-upload-prob-on-production-server/112733/1 "2007-08-22T18:12:50Z")

</div>

Hi all,

I am having prob uploading an image. Using acts\_as\_attachment plugin  
with rails 1.1.6 and as far as I know there is lighttpd and fastCGI  
servers. Here is what we’ve got from there:

Proxy Error  
The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request  
POST /meetmarket\_submission/thumb.

Reason: Unsupported Transfer-Encoding chunked  
“image”=\>{“attachment”=\>#\<File: /tmp/CGI.12987.0\>}} from remote server

Apache/1.3.37 Server at \<…\> Port 443

Locally everything is working fine, this raises on production only. Any  
clues how can I fix it?

Thank you a lot!  
Pavlo
