如何找到连接重置错误的来源 [英] How to find source of Connection Reset Error

查看:251
本文介绍了如何找到连接重置错误的来源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在哪里可以找到找到连接重置错误的来源?下面是详细信息:

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

我有一个Clojure小程序使用 clj-http.client

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

我们查看了服务器的IIS日志,没有找到任何指示连接重置的错误。我们还查看了服务器的事件日志,并且找不到与我在客户端中收到的错误相匹配的错误。事实上,IIS日志看起来OK。我可以在日志中看到我的地址验证GET请求。

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.

推荐答案

这只是一个猜测,当Web服务器配置为响应错误的主机名时出现错误消息。如果它正在www.example.com/my/service服务,我打开一个到1.2.3.4/my/service的连接,然后它用连接重置挂起。

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".

这篇关于如何找到连接重置错误的来源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆