Network Server Disconnect Errors

Supporting 2.6 and up
Post Reply
AdamLee
Phidgetly
Posts: 34
Joined: Wed Jul 17, 2019 9:28 am
Contact:

Network Server Disconnect Errors

Post by AdamLee »

Hey everyone!

Just recently I've been getting these errors and noticing that my Phidgets are sporadically disconnecting in the system:

Code: Select all

2020-07-23T13:18:24  <Info> phidget22net[serverAuthenticateClient()] : www,nodejs://127.0.0.1:61910 authenticated
2020-07-23T13:19:43 <ERROR> phidget22net[checkKeepAlive()] : www,nodejs://127.0.0.1:61910: keepalive [4000000 usec] timeout [71801139741 usec < 71801139955 usec]
2020-07-23T13:19:43 <ERROR> phidget22net[runClientConnection()] : 'a9ee731-815' failed for client www,nodejs://127.0.0.1:61910
        server.c+658 handleDeviceClient() : (Timed Out) failed to handle client request
2020-07-23T13:19:43  <Info> phidget22net[runClientConnection()] : www,nodejs://127.0.0.1:61910 disconnected
I also noticed that there was a updated network server pushed on July 9th. Right now I'm running this in a container that pulls the most recent version of the network server so my guess is that it's from the most recent update but I wanted to post here to see if anyone else has run into this issue. I'm going to try rolling back to the April 17th version to see if it makes a difference, and also from here on out I'm going to target specific versions instead of grabbing the latest.
Adam Lee
Software Engineer
www.activatedresearch.com
User avatar
Patrick
Lead Developer
Posts: 3399
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Network Server Disconnect Errors

Post by Patrick »

Hi,

The network server hasn't changed in while. Does the keepalive failure happen in a predictable way? It looks like your client and server are on the same machine, so it should be a networking issue. Maybe debugging your Node app? Maybe busy machine? I need to write an article about keepalives.

-Patrick
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests