Hello,
I am trying to publish data to Elektron's websocket. Authorization token only lives for 10 minutes and when it expires, session is being closed. Before session expires I would like to start new session using refresh token. Once new session is ready my system would switch over to it and close previous session.
With this approach i am experiencing a bit inconsistent behaviour from the system. Sometimes when I issue login request for second session - first one gets closed.
I am attaching diagram of experienced behaviour.
I would appreciate any hints on how can I maintain websocket in such way so my system always have at least one active connection to publish data.
Regards,
Jan Roman