always Resource temporarily unavailable, bug ?

Issue #785 new
yingning huang created an issue

always "Error receiving data", but service is running....

[CST Oct 23 14:46:18] info : Starting Monit 5.25.1 daemon with http interface at [0.0.0.0]:2812 [CST Oct 23 14:46:18] info : 'wx2.com' Monit 5.25.1 started [CST Oct 23 14:46:24] error : 'Tomcat' failed protocol test [HTTP] at [127.0.0.1]:8080/pay2/ [TCP/IP] -- HTTP: Error receiving data -- Resource temporarily unavailable [CST Oct 23 14:46:30] error : 'Tomcat' failed protocol test [HTTP] at [127.0.0.1]:8080/pay/ [TCP/IP] -- HTTP: Error receiving data -- Resource temporarily unavailable

[root@wx2 monit.d]# [root@wx2 monit.d]# curl -i http://127.0.0.1:8080/pay/ HTTP/1.1 302 Found Server: Apache-Coyote/1.1 Location: http://127.0.0.1:8080/pay/home.shtm?uri=http%3A%2F%2F127.0.0.1%3A8080%2Fpay%2F Content-Length: 0 Date: Tue, 23 Oct 2018 06:47:26 GMT

[root@wx2 monit.d]# curl -i http://127.0.0.1:8080/pay2/ HTTP/1.1 302 Found Server: Apache-Coyote/1.1 Location: http://127.0.0.1:8080/pay2/home.shtm?uri=http%3A%2F%2F127.0.0.1%3A8080%2Fpay2%2F Content-Length: 0 Date: Tue, 23 Oct 2018 06:47:29 GMT

[root@wx2 monit.d]# [CST Oct 23 14:48:32] info : 'Tomcat' connection succeeded to [127.0.0.1]:8080/pay2/ [TCP/IP] [CST Oct 23 14:48:33] info : 'Tomcat' connection succeeded to [127.0.0.1]:8080/pay/ [TCP/IP]

Comments (1)

  1. Massimo Sala

    Content-Length: 0 ... it seems a redirect.

    Suggestion: in monit try to check the final URL http://127.0.0.1:8080/pay2/home.shtm

  2. Log in to comment