SystemLink Forum

cancel
Showing results for 
Search instead for 
Did you mean: 

Message connection closed after 10 minutes inactivity

Solved!
Go to solution

After testing if it was possible to keep the connection for a message alive and send once in a while a message gave me the following error after pressing the send button.

 

 

 

 

Error -251232 occurred at NI Skyline Utilities.lvlib:Parse HTTP Error.vi:5080001

Possible reason(s):

Session token '3ca1d12b-951c-4f41-85db-a15b26b672d4' not found.


Complete call chain:
     NI Skyline Utilities.lvlib:Parse HTTP Error.vi:5080001
     NI Skyline Utilities.lvlib:Execute HTTP Verb.vi:7500001
     NI Skyline Message HTTP Library.lvlib:Publish.vi:6370001
     NI Skyline Message HTTP.lvclass:Publish.vi:6370001
     SendMessageTest.vi

 

 

At first I couldn't figure out why this error was coming up, but I think this happens because the http session times out after 10 minutes. Does anyone know if there is a way to keep the connection alive? or maybe setup systemlink to increase the timeout or disable it.

0 Kudos
Message 1 of 2
(1,455 Views)
Solution
Accepted by topic author Bas.v.E

In order to keep the session from being cleaned up on the server you will need to periodically send messages even on a dummy/keep-alive topic or do a 0 timeout read on a dummy topic.

0 Kudos
Message 2 of 2
(1,419 Views)