How to find source of Connection Reset Error

感情迁移 提交于 2019-12-24 08:36:18

问题


Where can I go look to find the source of a connection reset error? Here are the details:

I have a Clojure applet that uses clj-http.client.

I need to track down what is sending the following error

Feb 14, 2013 5:16:04 PM 
org.apache.http.impl.client.DefaultRequestDirector execute
INFO: I/O exception (java.net.SocketException) 
caught when processing request: Connection reset
Feb 14, 2013 5:16:04 PM 
org.apache.http.impl.client.DefaultRequestDirector execute
INFO: Retrying request

We have looked through the server's IIS logs, and cannot find any error indicating a connection reset. We've also looked at the server's Event Logs, and cannot find an error that matches the error I'm getting in the client. As a matter of fact, the IIS logs look OK. I can see my address verification "GET" requests right in the log.


回答1:


It's just a guess, though I often get that error message when the web server is configured to respond to the wrong host name. If it is serving for www.example.com/my/service and I open a connection to 1.2.3.4/my/service then it hangs up with "connection reset".



来源:https://stackoverflow.com/questions/14885631/how-to-find-source-of-connection-reset-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!