Hi!
We are doing an integration using the Websocket Event API and have a question regarding the access token handling.
What is the expected behaviour? should the socket connection be closed by the “VMS-server” when the access token expires? In our test system we get an excess token that should expire after 3600 seconds (1 hour) but the websocket is never closed.
Kind regards Hans Olausson
Hi Hans,
I’m not sure the web-socket would be closed automatically when the provided access token expires. However, connection could be closed, once IIS recycles. This usually happens on 20 to 30 hours interval.
But that only if you connect trough the API GW. If direct connection to EvS is made - I’m afraid (you are right) and the web socket would live almost forever.
Ok thanks! then we know our test system behaves as expected.