Page 1 of 1

EnvisaLink 4 TPI Issues: Regular timeouts

Posted: Fri Apr 22, 2016 8:46 am
by thanatos0801
I've been working on a TPI application and for the most part everything is working fine. I'm seeing some issues with the reliability of the connection to the EVL, though. After some random amount of time, the socket read times out, and for several seconds after that, I can't connect at all. Eventually I can connect again, but it takes a minute or two before I can connect again.

Here's the code connection log ->

Code: Select all

2016-04-22 08:42:46.125 VirtualKeypad[74433:5067239] Did read data: %00,01,1C08,08,00,****DISARMED****  Ready to Arm  $
2016-04-22 08:42:46.125 VirtualKeypad[74433:5067239] Set panel status to: ****DISARMED****  Ready to Arm  
2016-04-22 08:43:06.125 VirtualKeypad[74433:5071371] Disconnected with error: Error Domain=GCDAsyncSocketErrorDomain Code=4 "Read operation timed out" UserInfo={NSLocalizedDescription=Read operation timed out}
2016-04-22 08:43:11.637 VirtualKeypad[74433:5071371] Connected...
2016-04-22 08:43:11.640 VirtualKeypad[74433:5071371] Disconnected with error: Error Domain=GCDAsyncSocketErrorDomain Code=7 "Socket closed by remote peer" UserInfo={NSLocalizedDescription=Socket closed by remote peer}
2016-04-22 08:43:21.674 VirtualKeypad[74433:5069323] Connected...
2016-04-22 08:43:21.677 VirtualKeypad[74433:5069323] Disconnected with error: Error Domain=GCDAsyncSocketErrorDomain Code=7 "Socket closed by remote peer" UserInfo={NSLocalizedDescription=Socket closed by remote peer}
2016-04-22 08:43:36.714 VirtualKeypad[74433:5073801] Connected...
Any thoughts?

Re: EnvisaLink 4 TPI Issues: Regular timeouts

Posted: Sun May 08, 2016 6:55 am
by spud
I have seen this exact same issue with the EVL3 for Ademco panel, a lot of users of my software have reported this problem.
The problem doesn't seem to occur with DSC panels.

Re: EnvisaLink 4 TPI Issues: Regular timeouts

Posted: Sun May 08, 2016 9:25 am
by K-Man
There are no open tickets nor recent bug reports for the TPI (apart for documentation issues).

If you are a developer you can submit a bug report but you need to also send in a PCAP file (tcpdump) capturing the issue.

Also make sure you are running the latest version of firmware too.

Re: EnvisaLink 4 TPI Issues: Regular timeouts

Posted: Tue May 10, 2016 1:33 pm
by thanatos0801
What's the latest version of the firmware and how would I update it if I'm behind? I don't see anything to check for updates in the web panel.

I *think* I may have solved the issue on my own... I'm in long term testing now, but if I'm right and this keeps working, then my issue had to do with the "app nap" feature in OS X shutting down my network connections.