/ Zope / Apsis / Pound Mailing List / Archive / 2009 / 2009-10 / Re: Pound is converting error 413 (size limit exceeded) to error 500

[ << ] [ >> ]

[ Re: [Pound Mailing List] Pound: ... ] [ mailing list server / Robert Segall ... ]

Re: Pound is converting error 413 (size limit exceeded) to error 500
Himanshu Vasishth <hvasishth(at)gmail.com>
2009-10-23 07:57:42 [ SNIP ]
I am using pound to load balance between apache servers. I have the
apache servers configured such that they return error 413(file size
exceeded) if users try to upload files larger than 20MB. If my client
directly connects to the apache instance, the error 413 is correctly
returned back to the client. However, when going through pound the
error is getting converted to error 500. The following statement
appears in the pound log file.

(b7c42b90) e500 error copy client cont to xxx.xxx.xxx.xxx:80/POST
/xxx/xxxxxxxxx HTTP/1.1: Connection reset by peer (30.560 sec)

Any pointers on how can I make pound send back 413 to client.

Re: [Pound Mailing List] Re: Pound is converting error 413 (size limit exceeded) to error 500
Robert Segall <roseg(at)apsis.ch>
2009-10-23 17:47:30 [ SNIP ]
On Thu, 2009-10-22 at 22:57 -0700, Himanshu Vasishth wrote:
> I am using pound to load balance between apache servers. I have the
> apache servers configured such that they return error 413(file size
> exceeded) if users try to upload files larger than 20MB. If my client
> directly connects to the apache instance, the error 413 is correctly
> returned back to the client. However, when going through pound the
> error is getting converted to error 500. The following statement
> appears in the pound log file.
> 
> (b7c42b90) e500 error copy client cont to xxx.xxx.xxx.xxx:80/POST
> /xxx/xxxxxxxxx HTTP/1.1: Connection reset by peer (30.560 sec)
> 
> Any pointers on how can I make pound send back 413 to client.

Your error shows that the server returned a "wrong" answer (probably
closed the socket before sending the response headers). Could be a
time-out.
-- 
Robert Segall
Apsis GmbH
Postfach, Uetikon am See, CH-8707
Tel: +41-44-920 4904


MailBoxer