Hi, tcpdump on OTRS side says that there is no TCP flow on server side when i press Submit button. Haproxy log say that new client packet is recieved but this packet doesn't route to any server even if i use simple "listen" with no backends-frontends.
Haproxy version is lastest 1.4 (1.4.19), but we tru with 1.5 - the same strange behavior. -- Best regards, Eugene Istomin System Administrator EDS Systems [email protected] Work: +372-640-96-01 Cell: +372-522-92-11 On Monday 27 February 2012 16:56:52 Baptiste wrote: > Hi, > > what do your log says about this? > There may be some errors triggered which may help diagnose the issue. > > which version of haproxy by the way? > > > cheers > > On Mon, Feb 27, 2012 at 4:23 PM, Eugene Istomin <[email protected]> wrote: > > Hello, > > > > > > > > We have a problem with Haproxy <-> OTRS helpdesk system. > > > > The problem is related to some POST requests that uses a Content-Type of > > "multipart/form-data" > > > > > > > > HAProxy log: > > > > 00000008::80.clireq[000a:ffff]: POST /otrs/index.pl HTTP/1.1 > > > > 00000008::80.clihdr[000a:ffff]: Host: XXXX > > > > 00000008::80.clihdr[000a:ffff]: User-Agent: Mozilla/5.0 (X11; Linux > > x86_64; rv:10.0) Gecko/20100101 Firefox/10.0 > > > > 00000008::80.clihdr[000a:ffff]: Accept: > > text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > > > > 00000008::80.clihdr[000a:ffff]: Accept-Language: en-us,en;q=0.5 > > > > 00000008::80.clihdr[000a:ffff]: Accept-Encoding: gzip, deflate > > > > 00000008::80.clihdr[000a:ffff]: Connection: keep-alive > > > > 00000008::80.clihdr[000a:ffff]: Referer: > > http://support.edss.ee/otrs/index.pl?Action=AgentTicketClose;TicketID=1& > > Session=10cf240e18426b457568beab5c3624a02b > > > > 00000008::80.clihdr[000a:ffff]: Cookie: > > __utma=37433332.1316239773.1328797409.1328797409.1328797409.1; > > __utmz=37433332.1328797409.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(n > > one); Session=10cf240e18426b457568beab5c3624a02b > > > > 00000008::80.clihdr[000a:ffff]: Content-Type: multipart/form-data; > > boundary=---------------------------1477711025172414033487090087 > > > > 00000008::80.clihdr[000a:ffff]: Content-Length: 1829 > > > > > > > > > > > > As you can see, none of srvrep or srvhdr is answered. > > > > This is ordinary POST request that use > > "application/x-www-form-urlencoded" Content-Type: > > > > > > > > 00000029::80.clireq[0011:ffff]: POST /otrs/index.pl HTTP/1.1 > > > > 00000029::80.clihdr[0011:ffff]: Host: XXXX > > > > 00000029::80.clihdr[0011:ffff]: User-Agent: Mozilla/5.0 (X11; Linux > > x86_64; rv:10.0) Gecko/20100101 Firefox/10.0 > > > > 00000029::80.clihdr[0011:ffff]: Accept: > > text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > > > > 00000029::80.clihdr[0011:ffff]: Accept-Language: en-us,en;q=0.5 > > > > 00000029::80.clihdr[0011:ffff]: Accept-Encoding: gzip, deflate > > > > 00000029::80.clihdr[0011:ffff]: Connection: keep-alive > > > > 00000029::80.clihdr[0011:ffff]: Referer: > > http://support.edss.ee/otrs/index.pl?Action=AgentTicketClose > > > > 00000029::80.clihdr[0011:ffff]: Cookie: > > __utma=37433332.1316239773.1328797409.1328797409.1328797409.1; > > __utmz=37433332.1328797409.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(n > > one); Session= > > > > 00000029::80.clihdr[0011:ffff]: Content-Type: > > application/x-www-form-urlencoded > > > > 00000029::80.clihdr[0011:ffff]: Content-Length: 111 > > > > 00000029:we.edss.ee:80.srvrep[0011:0016]: HTTP/1.1 302 Found > > > > 00000029:we.edss.ee:80.srvhdr[0011:0016]: Date: Mon, 27 Feb 2012 > > 15:01:40 > > GMT > > > > 00000029:we.edss.ee:80.srvhdr[0011:0016]: Server: Apache/2.2.22 > > (Linux/SUSE) > > > > 00000029:we.edss.ee:80.srvhdr[0011:0016]: Set-Cookie: > > Session=1093c96c0f0c1d793eb20b36efc9a94fc8; path=/ > > > > 00000029:we.edss.ee:80.srvhdr[0011:0016]: Location: > > /otrs/index.pl?Action=AgentTicketClose&Session=1093c96c0f0c1d793eb20b36e > > fc9a94fc8 > > > > 00000029:we.edss.ee:80.srvhdr[0011:0016]: Connection: close > > > > 00000029:we.edss.ee:80.srvhdr[0011:0016]: Transfer-Encoding: chunked > > > > 00000029:we.edss.ee:80.srvhdr[0011:0016]: Content-Type: text/html; > > charset=utf-8; > > > > > > > > The exact form code: > > > > <form action="/otrs/index.pl" method="post" > > enctype="multipart/form-data" > > name="compose" id="Compose" > > > > class="Validate PreventMultipleSubmits"><input type="hidden" > > name="ChallengeToken" > > > > value="337e7b347a6c3665b5804a95c3f939f2"/><input type="hidden" > > name="ChallengeToken" value="337e7b347a6c3665b5804a95c3f939f2"/> > > > > <input type="hidden" name="Action" value="AgentTicketClose"/> > > > > <input type="hidden" name="Subaction" value="Store"/> > > > > <input type="hidden" name="TicketID" value="2"/> > > > > <input type="hidden" name="Expand" id="Expand" value=""/> > > > > <input type="hidden" name="FormID" > > value="1330356031.2808030.57680829"/>> > > Can you confirm that this problem is related to multipart/form-data > > content-type? > > > > Thanks! > > > > -- > > > > Best regards, > > > > Eugene Istomin > > > > System Administrator > > > > EDS Systems > > > > [email protected] > > > > Work: +372-640-96-01 > > > > Cell: +372-522-92-11

