wood burning stoves 2.0*
The moose likes Sockets and Internet Protocols and the fly likes Connection reset by peer ... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Connection reset by peer ..." Watch "Connection reset by peer ..." New topic
Author

Connection reset by peer ...

Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Error writing response data: java.net.SocketException: Connection reset by peer: socket write error

I have seen this error from time to time on my Wiki server logs but haven't been able to reproduce it or find any users who experienced any problems. In finally found out how to make it happen at will. I hit refresh repeatedly very fast. I have to use two fingers to tap out a little drum roll on the mouse. I'm guessing when the server is slow enough, somebody double-clicking on refresh or a link might do it. Or maybe clicking twice on opening a large document. Seems to indicate the server is sending a response to the browser and the browser is no longer interested because it's trying to load something different. Does that make sense?


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I'm going to wake up this thread from a few months ago ... the new version of my Wiki is throwing this error right and left on the Windows NT server. It doesn't seem to do it on my PC. And as the user I don't notice any problems at all. Any idea what's causing it? If there is something I can clean up to prevent it I'd love to do so.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connection reset by peer ...
 
Similar Threads
java.io.Exception , Broken pipe
URLConnection timeout
What happens if multiple refresh requests are sent?
discover a client "has gone"
SOAP and java.net.SocketException