Inside the console, this error appears: Unhandled promise rejection Error: "Trying to discover web socket url but the connection has no discovery url"
After, replacing all PureCloud URLs to my region (ie), I have these errors:
jsapi-startSharing-92dd5556.js:156 WebSocket connection to 'wss://cobrowse.mypurecloud.ie/ws?deploymentToken=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX%2F5GAIBEIA7StrUgK3PpBLODdziyTUJXdvq1ITs%2BdbU%2BU2Nn84Yl59k0rC2d5twdDx3Ao3gZRN%2FQn5Hs9ZF01CTZCw%3D.eyJzZWxmVXJpIjoiL2FwaS92Mi9jb2Jyb3dzZS9kZXBsb3ltZW50cyIsImtleSI6Ik94czhRNFFLMDBNeHJDOUo0aTZQcGlXUk5yenRkdnhKIiwibmFtZSI6IlZvaWNlQ29Ccm93c2UiLCJob3N0cyI6WyJodHRwOi8vbG9jYWxob3N0Ojg1LyIsIioiXSwiaWQiOiIxZWUzMGZlZS1hNzRiLTQxYzMtYWI4NC1lY2ZhZDMxZTU5ZmQiLCJhdXRvSm9pbiI6dHJ1ZSwidmlld2VyQ29udHJvbEFsbG93ZWQiOnRydWV9.5Ph84MpdlZc7QVStODU6kKVzG2Ei0mUolPiMGgXEkj0%3D' failed: HTTP Authentication failed; no valid credentials available
Hi Ali - the troubleshooting section for the Co-browse API suggests the following:
For chat and voice, the page says co-browse is starting, but the console prints an error similar to "Error: Trying to discover web socket url but the connection has no discovery url"
Make sure that your deployment key is accurate
Make sure that your domain or subdomain is listed accurately in your deployment key configuration. Co-browse will not allow connections to subdomains that are not listed.
I’ve confirmed with our developers that this error can come from not including the correct domains in your deployment. Can you please check your domains?
If you verify your config is correct per Becky's message and are still encountering the error, please open a case with PureCloud Care to investigate further.