miguel_ed | 2024-09-04 07:52:45 UTC | #1
Hi team.
We have detected that on some connections we are receiving this close-reason from the Genesys websocket: statusCode 1001, reason: Going away, and I would like to know what is the best way to handle this: if it is as simple as trying to reconnect again, waiting 10 seconds until we try to connect again, etc.
Thanks in advance.
Miguel
vpirat | 2024-09-04 13:48:27 UTC | #2
Hi,
Yes, that is the way to go. Remote party tells you that connection is gracefully closed. Wait few seconds and reconnect.
This may occur for different reasons.
- if your browser navigates away from the page,
- if you have too many connections opened for the same session (max 3 by default),
- if the connection has been opened for too long (max 2 hours).
The list is not exhaustive.
Hope this helps,
Regards, V.P.
system | 2024-10-04 13:48:46 UTC | #3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 28875