Application Delivery (ADX)

Reply
Contributor
Posts: 24
Registered: ‎05-04-2009

What do I have to look at to be able to do an HTTP 1.1 health check?

I do have a very simple configuration. It is basically just the following:

server real frontend 172.16.72.100

  port http

  port http url "GET /internal/health.html HTTP/1.1\r\n"

  port http content-match m1

http match-list m1

  default down

  up simple "super"

The real server frontend does not come up. I had a look at a trace already - the real server responds with a 400 error.

What is wrong here?

Super Contributor
Posts: 316
Registered: ‎05-01-2009

Re: What do I have to look at to be able to do an HTTP 1.1 health check?

The return code 400 indicates a bad request from the client. The problem is the missing host header - HTTP v1.1 does not allow requests without the host header. Please try the following:

server real frontend 172.16.72.100

  port http

  port http url "GET /internal/health.html HTTP/1.1\r\nHost: www.domain.com\r\n\r\n"

  port http content-match m1

http match-list m1

  default down

  up simple "super"

Please replace www.domain.com with the FQDN expected by the real server.

My 2 Cents.

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.