You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the WebSocket URL passed to the connect function does not contain a path, the connection fails, as shown in the image below.
This appears to be due to the inability to set an empty string for urlObj.pathname.
This issue has been occurring since updating to version 2.9.6.
Reproduction
Pass a WebSocket URL without a path when calling the connect function (e.g., 'wss://192.168.0.211:8073').
An extra, unnecessary slash is added to the WebSocket URL, causing the connection to fail (e.g., 'wss://192.168.0.211:8073//rtc').