3Scale returns 504 HTTP status code with Routing policy
Issue
- Client receives 504 response code intermediately however backend API return 200 in short time(less than 100ms).
Data flow as below:
Client --> F5 --> Haproxy(A) --> 3Scale APICast(B) --Routing policy--> F5 --> Haproxy(C) --> 3Scale APICast(D) --> Backend API
- Haproxy(A) return 504.
- 3Scale(B) returns 504 HTTP status code with Routing policy.
- Haproxy(C) log return 504 with
termination.state.code
sR - 3Scale(D) return 200 and the response is within 10ms.
Environment
- Red Hat 3scale API Management
- 2.9+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.