haproxy gives 502 on links with utf-8 chars?!

2010-11-19 Thread Jakov Sosic
Hi. I have a haproxy doing load balacing between two apache servers which have mod_jk. Application is on JBoss application server. Problem that I have noticed is that if link has some UTF-8 character (Croatian language characters), then haproxy gives error 502. Here is example from log: Nov 19

Re: haproxy gives 502 on links with utf-8 chars?!

2010-11-19 Thread Willy Tarreau
Hi Jakov, On Fri, Nov 19, 2010 at 01:06:39PM +0100, Jakov Sosic wrote: Hi. I have a haproxy doing load balacing between two apache servers which have mod_jk. Application is on JBoss application server. Problem that I have noticed is that if link has some UTF-8 character (Croatian language

Re: haproxy gives 502 on links with utf-8 chars?!

2010-11-19 Thread Jakov Sosic
On 11/19/2010 01:47 PM, Willy Tarreau wrote: echo show errors | socat stdio unix-connect:/var/run/haproxy.sock # echo show errors | socat stdio unix-connect:/var/run/haproxy.sock [19/Nov/2010:15:01:56.646] backend www (#1) : invalid response src aaa.bbb.ccc.ddd, session #645, frontend www

Re: haproxy gives 502 on links with utf-8 chars?!

2010-11-19 Thread German Gutierrez :: OLX Operation Center
Looks like the field  X-GSS-Metadata: Has utf-8 encoded characters, I don't know if that's valid or not, I think not. -- Germán Gutiérrez OLX Operation Center OLX Inc. Buenos Aires - Argentina Phone: 54.11.4775.6696 Mobile: 54.911.5669.6175 Skype: errare_est Email: germ...@olx.com

Re: haproxy gives 502 on links with utf-8 chars?!

2010-11-19 Thread Jakov Sosic
On 11/19/2010 03:07 PM, German Gutierrez :: OLX Operation Center wrote: Looks like the field X-GSS-Metadata: Has utf-8 encoded characters, I don't know if that's valid or not, I think not. From wikipedia: http://en.wikipedia.org/wiki/List_of_HTTP_header_fields Accept-Charset Character

Re: haproxy gives 502 on links with utf-8 chars?!

2010-11-19 Thread Hank A. Paulson
Accept-* headers talk about what the ends of the connection want in terms of page content. What is allowed in the headers themselves is a different part of the spec, not spec'd by the content of a header but by the spec itself. Many HTTP/1.1 header field values consist of words separated by

Re: haproxy gives 502 on links with utf-8 chars?!

2010-11-19 Thread Willy Tarreau
On Fri, Nov 19, 2010 at 03:05:17PM +0100, Jakov Sosic wrote: On 11/19/2010 01:47 PM, Willy Tarreau wrote: echo show errors | socat stdio unix-connect:/var/run/haproxy.sock # echo show errors | socat stdio unix-connect:/var/run/haproxy.sock [19/Nov/2010:15:01:56.646] backend www (#1) :