#173 Server Heartbeat Error Requires Restart

v2.0
closed-fixed
sndcsd (16)
6
2008-07-04
2008-01-15
No

If the server's heartbeat thread looses the connection to the Event Server for some reason you will receive the following error.

ProtocolError: connection failed

The server will continue running but there is no code to catch the broken connection and start a new heartbeat thread.

The result is that clients will be able to connect to the server and populate with data but they will flatline because there is no heatbeat event being sent out.

Discussion

  • Seth Remington

    Seth Remington - 2008-07-04
    • status: open --> closed-fixed
     
  • Seth Remington

    Seth Remington - 2008-07-04

    Logged In: YES
    user_id=667337
    Originator: YES

    This was fixed in a CVS commit back on 2008-05-31. The commit message:

    * Heartbeat.py: Catch exception in the heartbeat generator when
    publishing the heartbeat and ignore it. This will prevent the
    heartbeat thread from exiting and not generating any more heartbeats.

     

Log in to post a comment.