by williamconley » Sun Jul 12, 2015 9:32 pm
It's not about time at the workstations.
There are two basic dynamics involved:
1) Time between servers/processes
All servers in the cluster must be synced (not "set", but "synced" using ntp) so they share time within 6 seconds across all servers and processes. This means that php and mysql time must be the same zone as well.
2) Packet loss to agent screens is unacceptable
Logged In Agent Screens send and receive a packet once per second. The receiving php script changes a value in the database upon receipt/request. If this value is NOT changed, the system will believe it has lost contact with the agent and kill the session with this same error. The reason the error is "time sync" is that the agent may NOT have lost contact, but the process checking the time or setting the time on the watchdog field may be off. So the problem is that we can not be sure if the agent lost a packet (#2) or if the time is not synchronized (#1), both toss the same error.
And before you go there ... No, the packet does not have a timestamp in it. The processes that handle the packet generate time from the server upon which they run. PHP and MySQL are the two processes running on that server which are involved in this handshake.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294