Questions tagged [connection-reset]

159 questions
155
votes
14 answers

What's causing my java.net.SocketException: Connection reset?

We are seeing frequent but intermittent java.net.SocketException: Connection reset errors in our logs. We are unsure as to where the Connection reset error is actually coming from, and how to go about debugging. The issue appears to be unrelated to…
Richard Ev
  • 52,939
  • 59
  • 191
  • 278
37
votes
8 answers

SQLRecoverableException: I/O Exception: Connection reset

Yesterday evening I left the office with a running Java program written by me. It should insert a lot of records into our company database (Oracle) using a JDBC connection. This morning when I came back to work I saw this error (caught by a…
Maik
  • 811
  • 3
  • 22
  • 35
32
votes
4 answers

Connection Reset when port forwarding with Vagrant

I have Vagrant/VirtualBox running an Ubuntu 12.04 LTS OS. I have configured Vagrant to forward the guest port 8000 to my host port 8888. [default] Preparing network interfaces based on configuration... [default] Forwarding ports... [default] -- 22…
Mark
  • 5,286
  • 5
  • 42
  • 73
24
votes
4 answers

ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error

I am getting the following error frequently while retrieving file object from database column. How can I resolve this problem? May 8, 2009 3:18:14 PM org.apache.catalina.core.StandardHostValve status WARNING: Exception Processing…
jothinst
15
votes
4 answers

RegExp in preg_match function returning browser error

The following function breaks with the regexp I've provided in the $pattern variable. If I change the regexp I'm fine, so I think that's the problem. I'm not seeing the problem, though, and I'm not receiving a standard PHP error even though…
user974552
  • 193
  • 1
  • 2
  • 9
9
votes
0 answers

javax.naming.CommunicationException: Connection reset [Root exception is java.net.SocketException: Connection reset]; remaining name

I am getting socket exception when I try to connect LDAP. Here is my sample code. I am seeing this issue in java 8. I never observed this issue in the earlier java versions. public static DirContext getDirectoryContext() throws NamingException { …
Java App Expert
  • 143
  • 1
  • 2
  • 4
8
votes
2 answers

Spring application deployed on tomcat - org.apache.catalina.connector.ClientAbortException: java.io.IOException: Connection reset by peer

I am working on a springboot application. I'm gettng the following exceptions a lot, when the application is deployed on external tomcat server. But, when I test the application in local through springboot's internal tomcat, it doesn't show this…
pkgajulapalli
  • 1,066
  • 3
  • 20
  • 44
8
votes
1 answer

Getting 'An existing connection was forcibly closed by the remote host.' from Azure

While trying to follow the 'Get Started with Events Hub' example for Microsoft Azure (http://azure.microsoft.com/en-us/documentation/articles/service-bus-event-hubs-csharp-ephcs-getstarted/#introduction), when I try to run either receiver or sender…
Omer Meshar
  • 81
  • 1
  • 2
6
votes
3 answers

Javascript Sockets (failed: Error during WebSocket handshake: net::ERR_CONNECTION_RESET)

I am trying to create a simple program to send a message to a socket in plain text. The sender is a webpage in javascript using websocket and the server is a C program. I don't have any control over the C code but I have been assured by the codes…
mando222
  • 543
  • 3
  • 6
  • 16
6
votes
0 answers

How catch java.io.IOException: An established connection was aborted by the software in your host machine?

I have debug this exception and I observed that When user send some request to server and before server response to user, and if user close browser window Or just close that specific page then that Exception occurs. 2015-03-19 12:04:40 DEBUG io:132…
Az.MaYo
  • 1,044
  • 10
  • 23
6
votes
1 answer

What's the difference between Broken Pipe and Connection reset by peer?

During my daily job, I need to keep connecting to sever through SSH, and I usually got two different kinds of errors, the first one is "Broken Pipe" while the second one is "Connection reset by peer". I'm wondering what's the difference between…
Void Main
  • 2,241
  • 3
  • 27
  • 36
6
votes
1 answer

Connection reset by peer: socket write error - cfcontent on Coldfusion 10

We recently upgraded from Coldfusion 9 to CF10 and I'm now receiving a sporadic error on a page where I'm using cfcontent to serve documents (pdf, doc, etc.) I'm using cfcontent to control access to the files, as some are for internal use only. This…
Steve Judd
  • 218
  • 2
  • 6
5
votes
2 answers

How to replicate a Connection Reset by peer?

I have a server that has the following printed in the log Caused by: java.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) …
Mohendra Amatya
  • 371
  • 6
  • 24
5
votes
1 answer

notifications push ios: Connection reset by peer

I’m trying to do a notifications system for apple devices, but I’m getting the following errors when I try to run it on the server: Warning: stream_socket_client(): SSL: Connection reset by peer in /home/empresa/public_html/simplepush/push.php…
5
votes
1 answer

Handling "Connection reset by peer" error in an FTP client

I have a Java program that calculates some stats daily and uploads the file on a server through FTP. However, I get "Connection reset by peer" errors way too often. Since I cannot change the server configurations, what are the recommended ways to…
user517491
1
2 3
10 11