在收到响应之前目标主机关闭了连接 [英] Connection closed by target host before receiving the response
问题描述
我们在连接到后端系统之一时遇到间歇性故障.当我们查看日志时,我们可以看到连接正在被 wso2/backend 关闭.我们无法弄清楚问题究竟出在哪里.?请在发送请求后立即找到以下日志(1-3 毫秒).
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} - 在收到响应之前目标主机关闭了连接远程地址:backend.system.com/0.0.0.0:443
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
我们使用的是 wso2esb-5.0.0.任何建议将不胜感激.
We are using wso2esb-5.0.0. Any suggestion will be appreciated.
谢谢
推荐答案
这里后端由于某种原因关闭了连接.您可能需要检查后端日志和后端负载均衡器日志才能找到线索.
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
- 保持连接
- 分块
- HTTP 版本(1.1 与 1.0)
这篇关于在收到响应之前目标主机关闭了连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!