WebSocket connection to 'ws://./' failed: Error in connection establishment:

Description
We are using web sdk, but browser is showing below error. How to fix it.

WebSocket connection to ‘ws://./’ failed: Error in connection establishment:
pace.js?v=evfXQgyADGar15z3wQSTJA2:463 WebSocket connection to ‘ws://./’ failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED

Error
WebSocket connection to ‘ws://./’ failed: Error in connection establishment:

Hey @customerservice, thanks for posting and using Zoom!

Please provide steps to reproduce, your code, and screenshots.

Thanks,
Tommy

Hi Tommy

We want users to click Join the video call button. As soon as they click, we are getting below error

WebSocket connection to ‘ws://./’ failed: Error in connection establishment:

here is the code:

$(function () { var joiningStack = @Html.Raw(Json.Encode(ViewData["zjoiningStack"])); var custdimp = @Html.Raw(Json.Encode(ViewData["user"])); //console.log (custdimp); //console.log('checkSystemRequirements'); //console.log(JSON.stringify(ZoomMtg.checkSystemRequirements())); //const zoomMeeting = document.getElementById("zmmtg-root"); //const ZoomMtg = document.getElementById("zmmtg-root"); // it's option if you want to change the jssdk dependency link resources. ZoomMtg.setZoomJSLib('https://source.zoom.us/1.7.2/lib', '/av'); ZoomMtg.preLoadWasm(); ZoomMtg.prepareJssdk(); console.log(JSON.stringify(ZoomMtg.checkSystemRequirements())); var signature; getSignature(); } document.getElementById('join_meeting').addEventListener('click', function (e) { e.preventDefault(); if (!this.form.checkValidity()) { alert("Enter Name and Meeting Number"); return false; } ZoomMtg.init({ leaveUrl: joiningStack[2], isSupportAV: true, videoHeader: true, success: function () { ZoomMtg.join( { meetingNumber: joiningStack[1], userName: custdimp, signature: signature, apiKey: joiningStack[0], userEmail: 'email@gmail.com', passWord: '', success: function (res) { $('#nav-tool').hide(); console.log('join meeting success'); }, error: function (res) { console.log(res); } } ); }, error: function (res) { console.log(res); } }); }); }); We are pushing joiningstick data from server.

Hi Tommy

I removed pace,js from page & error has gone but we are not able to see video ( just blank screen)

Also got this warning. We are on broadband & network speed should not be a problem.

"
A cookie associated with a cross-site resource at http://zoom.us/ was set without the SameSite attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
"

Hey @customerservice,

Glad to hear the error is gone.

Have you tried clicking the turn video on button? Is there another participant in the call?

That chrome warning should not be an issue.

Thanks,
Tommy