0
  1. Running HAProxy behind GCP HTTPS Load Balancer.
  2. All backends are healthy (in GCP LB and HAProxy).
  3. I am able to reach HAProxy stats page over H2.
  4. But when I go to reach a server proxied by HAProxy, GCP returns 502: statusDetails: "backend_response_corrupted"
  5. HAProxy http log shows 200 OK, and the correct data size.
  6. Curl the backend URL from outside GCP returns the correct data.
  7. HAProxy HTTP Keep Alive 620s (long as Google recommends)

Any ideas on why GCP load balancer returns 502 corrupted data?

  • What is H2? Do you have a protocol mismatch between GCP LB and HAProxy? Edit your question and include details on how everything is configured. – John Hanley Nov 5 '19 at 22:18
0

Its explained in official documentation here .

Quoting from the documenation:

The HTTP response body sent by the backend has invalid chunked transfer-encoding or is otherwise corrupted

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.