Bug #75

Socket stays dead after Connection reset

Added by KidE over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:09/02/2011
Priority:HighDue date:
Assignee:rdnzl% Done:

0%

Category:-
Target version:0.1.200
Resolution:

Description

Due to a stofzuiger power outage my CUNO got disconnected and the socket died.

2011/09/02 13:13:00 [CUL] Error reading data from the TCP port! -> System error. Connection reset by peer
2011/09/02 13:13:00 [CUL] < 2011/09/02 13:13:00 [CUL] ERROR: CUL TCP socket closed by peer.

After a few minutes the CUNO came back to life but domotiga didn't try to setup a new socket

History

#1 Updated by rdnzl over 2 years ago

  • Description updated (diff)
  • Status changed from New to Resolved
  • Target version changed from 0.1.201 to 0.1.200

I have added a reconnect timer to r671.
It will try up to 5 reconnects, but only works if you get a connection closed by peer.
Please test it.

#2 Updated by rdnzl over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF