jcp | 2023-12-20 13:54:31 UTC | #1
Hi, Encountered a weird intermittent error on WebMessage launch.
Web user get's displayed, within Messenger: We apologize but something unexpected happened. Please try again later.
console log extract:
13:10:51.192 GET wss://webmessaging.euw2.pure.cloud/v1?deploymentId=######&application=messenger-2.7.3
[HTTP/1 200 Connection Established 824ms]
13:10:51.555 Firefox can’t establish a connection to the server at wss://webmessaging.euw2.pure.cloud/v1?deploymentId=#####&application=messenger-2.7.3. genesysvendors.min.js:13:42124
13:10:51.557 Error (MessengerHelper.openWebSocket): genesys.min.js:10:13551
13:10:51.557 Error: WebSocket closed with reason: (1006)
Occurence: This seems to happen only in Firefox , at the beginning of the conversation (actually no conversationId seems to be created) but not every time.
Messenger is configured with Hide until triggered by business logic Automatically start Conversation js Script is also using Database set is used to pass data through to flow as participant data
It looks like sending an empty message on capture of error clears it, but not very user friendly experience.
Any Advice ?
Thanks
Angelo_Cicchitto | 2023-12-21 07:56:50 UTC | #2
Hi - This appears to be related to a Firefox limitation when dealing with WebSockets > https://github.com/websockets/ws/issues/1436 We are working on a remedy.
RanjithManikanteSa | 2024-01-18 16:24:38 UTC | #3
Hi @jcp,
We fixed this and the changes are rolled out. You shouldn't see this intermittent issue anymore, please let us know if any.
IvanDg | 2024-02-16 01:24:56 UTC | #4
Hello we are still experiencing this on our side. It is only error in firefox and none on other browsers.
RanjithManikanteSa | 2024-02-16 06:01:18 UTC | #5
Hi @IvanDg,
Could you try clearing the browser cache and test again? If the issue still persists, could you please provide:
- Browser name, version and OS details
- In the network logs, you should see a WebSocket request made to "v1?deploymentId=bafc26b1-17d5-474c-880a-173d8d7903cc&application=messenger-2.7.7". Could you check with what reason it is failing and let us know. We handled the random disconnect with 1006 error code, curious if its something else is still missing.
IvanDg | 2024-02-20 00:08:31 UTC | #6
Hello @RanjithManikanteSa It seems like clearing the cache solved the problem. May I know the reason what persistent data was the trigger to this? Thanks you very much!
RanjithManikanteSa | 2024-02-20 03:59:26 UTC | #7
Hi @IvanDg, It could be local Firefox browser did not pick-up latest changes until after cache is cleared, may be something was blocking it. Ideally, latest changes should be reflecting by default on a normal page reload.
IvanDg | 2024-02-21 00:43:26 UTC | #8
Noted, I understand the issue and 100% can't reproduce it. Thanks!
system | 2024-03-22 00:43:45 UTC | #9
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: 23793