cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2357
Views
0
Helpful
1
Replies

java.net.SocketException: Connection reset

btrinker1
Level 1
Level 1

I am getting this message from Tidal Scheduler when trying to run a job from a client.  What does it mean?

1 Reply 1

jefryarch
Level 1
Level 1

Connection reset simply means that a TCP RST was received. This happens when your peer receives data that it can't process, and there can be various reasons for that. A reset packet is simply one with no payload and with the RST bit set in the TCP header flags. The simplest is when you close the java socket, and then write more data on the output stream. By closing the socket, you told your peer that you are done talking, and it can forget about your connection. When you send more data on that stream anyway, the peer rejects it with an RST to let you know it isn't listening.

 

There are several possible causes.

 

  • The other end has deliberately reset the connection.
  • Writing to a connection that the other end has already closed
  • Closing a socket when there is unread data in the socket receive buffer.
  • In Windows, 'software caused connection abort', which is not the same as 'connection reset', is caused by network problems sending from your end.

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: