Problem

Problem

Ich möchte eine Frage stellen und wäre dankbar, wenn mir jemand bei der Lösungsfindung helfen könnte.

Ich verwende Haproxy Version 1.4.15

[root@HAProxy tmp]# haproxy -v
HA-Proxy version 1.5.14 2015/07/02
Copyright 2000-2015 Willy Tarreau <[email protected]>.

Problem

Ich habe jedoch das Problem, dass jedes Mal die gleiche HTTP-Antwort gelöscht und nicht an den Client weitergeleitet wird.

Wenn die folgenden zwei Anfragen an den HA-Proxy gesendet werden, wird nur die Antwort der zweiten Anfrage an den Client zurückgesendet. Für die erste Anfrage empfängt HaProxy eine Antwort vom Backend, lässt aber die 200 OK-Antwort bei der Weiterleitung an den Client fallen.

Oct 14 14:31:17 localhost haproxy[11601]: xxx.xxx.xxx.xxx:50114 [14/Oct/2015:14:31:17.193] http-in console/Console 0/0/0/22/25 200 78668 - - --NI 1/1/0/1/0 0/0 "GET /Console/MultiLanguageSvc?Domain=xxxx&SYS=Care&LatestTime=&SVC= HTTP/1.1"
Oct 14 14:31:19 localhost haproxy[11601]: xxx.xxx.xxx.xxx:50115 [14/Oct/2015:14:31:19.225] http-in console/Console 0/0/0/104/104 200 3948 - - --NI 1/1/0/1/0 0/0 "GET /Console/CareLoginSvc?AgentID=91007@xxxx&Password=8BA0FC9468973A97956AA849462406C2&ExtNo=7603&Lang=ja_JP&SVC= HTTP/1.1"

Das Debug-Protokoll zeigte keine Anzeichen von Fehlern.

Unten finden Sie einen Teil der Ergebnisse des Debugprotokolls.

/usr/local/haproxy/sbin/haproxy -f /usr/local/haproxy/etc/haproxy.cfg -d -V
Available polling systems :
      epoll : pref=300,  test result OK
       poll : pref=200,  test result OK
     select : pref=150,  test result FAILED
Total: 3 (2 usable), will use epoll.
Using epoll() as the polling mechanism.

** Below are the 200OK that is not sent to the client.**
00000000:iconsole.srvrep[0008:0009]: HTTP/1.1 200 OK
00000000:iconsole.srvhdr[0008:0009]: Cache-Control:
00000000:iconsole.srvhdr[0008:0009]: Pragma:
00000000:iconsole.srvhdr[0008:0009]: Expires: Wed, 31 Dec 1969 23:59:59 GMT
00000000:iconsole.srvhdr[0008:0009]: Content-Type: text/xml;charset=utf-8
00000000:iconsole.srvhdr[0008:0009]: Content-Length: 78470
00000000:iconsole.srvhdr[0008:0009]: Date: Wed, 14 Oct 2015 09:11:24 GMT
00000000:iconsole.srvhdr[0008:0009]: Server: MMCC
00000001:http-in.clicls[0008:0009]
00000001:http-in.closed[0008:0009]

** Below are the 200OK that is sent to the client. **
00000002:iconsole.srvrep[0008:0009]: HTTP/1.1 200 OK
00000002:iconsole.srvhdr[0008:0009]: Cache-Control:
00000002:iconsole.srvhdr[0008:0009]: Pragma:
00000002:iconsole.srvhdr[0008:0009]: Expires: Wed, 31 Dec 1969 23:59:59 GMT
00000002:iconsole.srvhdr[0008:0009]: Content-Type: text/xml;charset=utf-8
00000002:iconsole.srvhdr[0008:0009]: Content-Length: 3751
00000002:iconsole.srvhdr[0008:0009]: Date: Wed, 14 Oct 2015 09:11:26 GMT
00000002:iconsole.srvhdr[0008:0009]: Server: MMCC
00000005:http-in.clicls[0008:0009]
00000005:http-in.closed[0008:0009]

Hat jemand eine Vermutung, warum HA Proxy bestimmte Anfragen ablehnt?

verwandte Informationen