Forum Discussion
HTTP HealthCheck monitor with POST Statement
Hello Josiah,
We installed wireshark on the node, and captured the requests sent from the F5 monitor and from the server from which we run curl. Here both requests and responses:
Curl Request (as seen from the wireshark capture in the node):
POST /scripts/wpnbr.dll HTTP/1.1 User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.18 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 Host: 10.10.10.10:8080 Accept: / Content-type: text/xml Content-Length: 169
HTTP/1.1 100 Continue Server: Citrix Web PN Server Date: Tue, 05 Apr 2016 16:45:20 GMT
Curl Response: HTTP/1.1 200 OK Server: Citrix Web PN Server Date: Tue, 05 Apr 2016 16:45:20 GMT Content-type: text/xml Content-length: 673
F5 request (as seen from wireshark capture in the node)
POST /scripts/wpnbr.dll HTTP/1.1 Host: 10.14.44.118:8080 Content-Type: text/xml
Response to F5 (as seen from wireshark capture in the node) HTTP/1.1 400 Bad request Server: Citrix Web PN Server Date: Tue, 05 Apr 2016 16:40:16 GMT Connection: Close
As you can see, CURL added some headers that I didn't include (user-agent, content-length, accept). I tried adding content-lenght, and it didn't work. With or without backslahes count.
Fabian
- Josiah_39459Apr 05, 2016Historic F5 AccountThe host header is different too. But only your web server logic will tell you why one is good and one is bad (I can't do that). Otherwise you have to try to make them as close to identical as possible.
- Dicky_Moe_13167Apr 05, 2016
Nimbostratus
The forum deleted some tags because it obviuosly took them as html tags, but the xml in both requests is identical. I'll try to make the deaders match.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com