Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[gateway] API Gateway doesn't failover for all connection failures #754
Given an API with two endpoints, if one of the endpoints is down the gateway doesn't always failover to the other one.
This happens when the server hosting the endpoint is up, but the target service is not listening on the endpoint (i.e. when a docker image isn't running).
A 502 error is returned.
I think the failover behaviour should be invoked for any I/O error that prevents a connection being established.
Steps to Reproduce (for bugs)