Symptoms:
Monitor definition: "monitor_port": "9020", "display_name": "https-health-monitor", "interval": 15, "rise_count": 3, "timeout": 15, "http_monitor": {
"response_body": "<Name>MAINTENANCE_MODE</Name><Status>OFF</Status>", "request_url": "/?ping", "request_method": "HTTP_METHOD_GET",
"response_code": [ "200" ], "request_version": "HTTP_VERSION_1_1" }, "fall_count": 3, "type": "HTTP", "id": { "right": 10976970400663106615, "left": 11626635069033957738
NSX ### - [nsx@6876 comp="nsx-edge" subcomp="agg-service" tid="1467" level="INFO"] ExecCmd call output: {"lbs": [{"cpu_usage": "0", "display_name": "T1-LB-##", "enabled": true, "mem_usage": "2", "pool_num": "32", "pool_up_num": "16", "pools": [{"backup_disabled": "0", "backup_down": "0", "backup_graceful_disabled": "0", "backup_unknown": "0", "backup_unused": "0", "backup_up": "0", "display_name": "trf-###-##-###-90##", "member_num": "5", "members": [{"display_name": "", "failure_code": "24400", "failure_reason": "Wrong HTTP Status Line", "ip": "10.xx.xx.xx"VMware NSX-T Data Center 2.5.x
VMware NSX-T Data Center
2021/01/27 07:31:04 [debug] 21863#0: epoll timer: 9952021/01/27 07:31:04 [debug] 21863#0: epoll: fd:83 ev:0001 d:000003A160FEA8102021/01/27 07:31:04 [debug] 21863#0: http check recv.2021/01/27 07:31:04 [debug] 21863#0: recv: eof:0, avail:12021/01/27 07:31:04 [debug] 21863#0: recv: fd:83 176 of 2048 <<<<< first packet2021/01/27 07:31:04 [debug] 21863#0: http check recv size: 176, peer: 10.xx.xx.xx:90202021/01/27 07:31:04 [debug] 21863#0: recv: eof:0, avail:02021/01/27 07:31:04 [debug] 21863#0: http check recv size: -2, peer: 10.xx.xx.xx:9020 (11: Resource temporarily unavailable)2021/01/27 07:31:04 [debug] 21863#0: shmtx lock2021/01/27 07:31:04 [debug] 21863#0: shmtx unlock2021/01/27 07:31:04 [debug] 21863#0: hc http parse: rcvd response status 200 from server 10.##.##.##:9020(pool LB15f9####-####-####-####-c3100f7c####), expected http status code: 2xx - 1 0, 3xx - 0 0, 4xx - 0 0, 5xx - 0 02021/01/27 07:31:04 [debug] 21863#0: get http body offset, http response len: 1592021/01/27 07:31:04 [debug] 21863#0: not found \n\n <<<< there is no http body2021/01/27 07:31:04 [debug] 21863#0: get http body offset,p: 0000000003F8BCAC
2021/01/27 07:31:04 [debug] 21863#0: http check upstream recv(): -1, fd: 83 (11: Resource temporarily unavailable)2021/01/27 07:31:04 [info] 21863#0: expected string <Name>MAINTENANCE_MODE</Name><Status>OFF</Status> not found with peer: 10.xx.xx.xx:9020, rc: -22021/01/27 07:31:04 [debug] 21863#0: http_parse: expect parse result: -22021/01/27 07:31:04 [debug] 21863#0: http check parse rc: -2, peer: 10.xx.xx.xx:90202021/01/27 07:31:04 [debug] 21863#0: timer delta: 12021/01/27 07:31:04 [debug] 21863#0: worker cycle2021/01/27 07:31:04 [debug] 21863#0: epoll timer: 9942021/01/27 07:31:04 [debug] 21863#0: epoll: fd:83 ev:0001 d:000003A160FEA8102021/01/27 07:31:04 [debug] 21863#0: http check recv.2021/01/27 07:31:04 [debug] 21863#0: recv: eof:0, avail:12021/01/27 07:31:04 [debug] 21863#0: recv: fd:83 290 of 1872 <<<<<< second packet2021/01/27 07:31:04 [debug] 21863#0: http check recv size: 290, peer: 10.xx.xx.xx:90202021/01/27 07:31:04 [debug] 21863#0: recv: eof:0, avail:02021/01/27 07:31:04 [debug] 21863#0: http check recv size: -2, peer: 10.xx.xx.xx:9020 (11: Resource temporarily unavailable)2021/01/27 07:31:04 [info] 21863#0: http parse status line error with peer: 10.xx.xx.xx:9020 <<<<< there is no HTTP status line2021/01/27 07:31:04 [debug] 21863#0: http check parse rc: 14, peer: 10.xx.xx.xx:90202021/01/27 07:31:04 [info] 21863#0: check protocol http error with peer: 10.xx.xx.xx:9020, status code: 200
Issue is resolved from version NSX-T 2.5.2.
Workaround: