http get / URI

need some help with forming a get that will return a 200 ok response.

the root site is https://xyz.fqdn.gov the uri I need to query is /eftxweb/access.ofx I created the following get GET /eftxweb/access.ofx HTTP/1.(0|1) host: xyz.fqdn.gov connection: close

it returns the following

HTTP/1.0 302 Found Location: https://xyz.fqdn.gov/eftxweb/access.ofx Server: BigIP Connection: close Content-Length: 0

the 302 I understand indicates a redirect, which is occurring, http to https. but I need to be able to create a health monitor that once redirected, tells me that the connection is good and the correct content is rendered, which I think should be a 200 OK.

thanks for the help.

bruce

For multi-step you’ll need to create an external monitor. Which in your case would be something like a bash script that uses curl to access the content, testing the results along the way…

If the requests can be done independently (e.g. You want to verify the redirect AND that the content for the redirect is there, but you don’t need to do 1, followed by the other) then you could simply attach an HTTP monitor for the initial access and check the redirect is there, then a second (HTTPS) monitor that accesses the (Static) URI to verify the content from that.

H

I think there’s a better way to do this though… Do you really need to check both the HTTP and HTTPS server working on a node for the pool member to be considered up?

H

  1. Although you can telnet to port 443, you’r enot going to get what you expect. Telnet doesn’t do SSL.
  2. As for 1

Note that if you want to check by hand, either use curl, OR openssl

  1. For a different VS on port 80 I take it…
  2. OK. You don’t really ned to check the :80 then. Just an HTTPS monitor on the pool would be fine.

H

I created an https monitor, and it downed the pool members (though the app is up and running).

what send and receive string are you using?

sol2167: Constructing HTTP requests for use with the HTTP or HTTPS application health monitor

are you able to get response if testing the send string with openssl s_client?

testing HTTPS with openssl

I created an https monitor, and it downed the pool members (though the app is up and running).

what send and receive string are you using?

sol2167: Constructing HTTP requests for use with the HTTP or HTTPS application health monitor

are you able to get response if testing the send string with openssl s_client?

testing HTTPS with openssl

send string GET /eftxweb/access.ofx HTTP/1.1\r\nHost: xyz.fqdn.gov\r\nConnection: close\r\n\r\n my receive string I’ve tried 200 OK, 302 Found and nothing, all of which produce the same result…pool members downed.

send string GET /eftxweb/access.ofx HTTP/1.1\r\nHost: xyz.fqdn.gov\r\nConnection: close\r\n\r\n my receive string I’ve tried 200 OK, 302 Found and nothing, all of which produce the same result…pool members downed.

I have not tried open ssl, but curl results are above

I have not tried open ssl, but curl results are above

can you try openssl s_client with the send string and see if it gives any clue?

can you try openssl s_client with the send string and see if it gives any clue?

i’ll have to pull it down to my windows desktop and run it from there…all testing I’ve done thus far has been from the F5 cli itself…

i’ll have to pull it down to my windows desktop and run it from there…all testing I’ve done thus far has been from the F5 cli itself…

you can run openssl s_client from f5 cli, can’t you?

you can run openssl s_client from f5 cli, can’t you?

i’m unfamiliar with how to do that…frankly, i’m unfamiliar with openssl s_client…I’ve got it pulled down to my desktop, but its not very intuitive…

i’m unfamiliar with how to do that…frankly, i’m unfamiliar with openssl s_client…I’ve got it pulled down to my desktop, but its not very intuitive…

alright, executed an openssl s_client -connect to the fqdn of the web site…getting a 400 bad request

alright, executed an openssl s_client -connect to the fqdn of the web site…getting a 400 bad request