EnvisaLink 4 TPI Issues: Regular timeouts

Information and support for EnvisaLink modules.

Moderators: EyezOnRich, GrandWizard

Post Reply
thanatos0801
Posts: 11
Joined: Mon Apr 04, 2016 2:32 pm

EnvisaLink 4 TPI Issues: Regular timeouts

Post 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?
spud
Posts: 12
Joined: Fri Jun 07, 2013 1:39 pm
Contact:

Re: EnvisaLink 4 TPI Issues: Regular timeouts

Post 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.
K-Man
Posts: 145
Joined: Fri Jun 01, 2012 1:08 pm

Re: EnvisaLink 4 TPI Issues: Regular timeouts

Post 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.
thanatos0801
Posts: 11
Joined: Mon Apr 04, 2016 2:32 pm

Re: EnvisaLink 4 TPI Issues: Regular timeouts

Post 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.
Post Reply