09-02-2020 05:08 AM
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.
Solved! Go to Solution.
09-02-2020 09:03 AM
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.