sam
sam

Reputation: 101

Connection closed by target host before receiving the response

We are getting intermittent failures while connecting to one of the backend system. When we looked at the logs we can see that the connection is getting closed by either wso2/backend. We are unbale to make out where exactly the problem is.? Please find the below logs we get immediately(1-3 millisecond) after sending a request.

WARN {org.apache.synapse.transport.passthru.TargetHandler} - Connection closed by target host before receiving the response Remote Address : backend.system.com/0.0.0.0:443

We are using wso2esb-5.0.0. Any suggestion will be appreciated.

Thanks

Upvotes: 1

Views: 1022

Answers (1)

Bee
Bee

Reputation: 12513

Here the backend has closed the connection for some reason. You may have to check backend logs and backend loadbalancer logs to find a clue.

Some common cases backends fail like this is are being unable to handle

  1. Keepalive
  2. Chunking
  3. HTTP version (1.1 vs 1.0)

Upvotes: 0

Related Questions