My website serves other countries such as USA and CAN users. I'm using the Web Messaging Guest API for customer service and user chat. Recently, from the request, I found that the CAN user's connection to the Web Messaging socket is easy to disconnect for the first time. I suspect it is a socket connection problem, because I saw from this document (https://developer.genesys.cloud/commdigital/digital/webmessaging/websocketapi#connecting) that Canada needs to use a different socket address, and currently I always use US. East (Virginia) socket address.
So I adjusted the javascript code to use the Canada (Central) socket address for Canadian users. Since I am not in Canada, I used a proxy network to test my modified code.
The problem currently encountered is that the Canada (Central) socket address cannot be connected. I can confirm there are no issues with my network as I can open web addresses (google, YouTube, etc.).
The error looks like this:
my question is:
- Are there certain configuration items, such as deploymentId, that restrict the use of Socket addresses?
- Do you have any other suggestions so that I can troubleshoot the problem?