When a camera is connected to the server, and the
server is terminated, the camera is supposed to
reconnect. It does manage to reconnect, but the
receiving side of the control channel on the camera does
not respond to any of the messages coming from the
server.
As you can see in the logs below, the camera
reconnects, and sends the "HELLO" command, to
which the server replies with an "OK," but the camera
never receives the response. Furthermore, in the GUI, if
you attempt to execute "GO," the message is not
received by the camera.
Verbose: Archive parent dir exists
in /home/amon/tmp/electric-eye/server/gui/arch
Warning: /home/amon/tmp/electric-
eye/server/gui/arch/archive/camArchive.dat doesn't
exist, archiving is operating with run-time data only
Verbose: ee_srv_rx_conn_from_cam: new control
connection from 192.168.1.98
Verbose: ee_srv_rx_conn_from_cam: connection
manager created (idx=0).
Verbose: ee_srv_rx_camera_conn: new message from
camera.
Verbose: ee_srv_cmgr_process_message: received:
HELLO
Verbose: send_msg_va: sent: OK Hello!
Verbose: send_msg_va: sent: HEARTBEAT
Verbose: recv_respose: waiting for response (timeout =
10 secs)
Verbose: send_msg_va: sent: HELLO
Verbose: recv_respose: waiting for response (timeout =
10 secs)
Verbose: ee_cam_cmgr_process_message: received:
OK Hello!
Verbose: recv_respose: received: OK (Hello!)
Verbose: ee_cam_cmgr_init: session established with
209.53.100.9/8050
Verbose: looking at next node. Looking for: cam_device
key: cam_device value: /dev/video0
Verbose: ee_cam_device_set_picture_properties:
Default palette value=15 depth=24
Verbose: Sleeping...
Warning: ee_cam_srvr_close_control_conn_unexpec:
unexpected server shutdown; sleeping 10 seconds
before reconnect.
Verbose: send_msg_va: sent: HELLO
Verbose: recv_respose: waiting for response (timeout =
10 secs)
Error: recv_respose: timed out waiting for response.