Browser-Phone icon indicating copy to clipboard operation
Browser-Phone copied to clipboard

WebSocket error occurred.

Open LabelMinsk opened this issue 1 year ago • 1 comments

I`m so sorry. I can`t win that issue. When i try to connect webSocket i`ve got an error in console: WebSocket connection to 'wss://192.168.39.90:8088/ws' failed: But if i connect to webSocket from postman is well work.

Screenshot with settings

Anyway thank you so much!

LabelMinsk avatar Jun 21 '23 12:06 LabelMinsk

You cannot connect to an IP based host, it has to have a valid certificate, so it has to be a fully qualified domain name. I have used .local successful - see the videos for more on that. Otherwise other host file hacks also work… basically anything you need to do to get that to work, but some name must resolve to the IP you specify there, and that host must serve a certificate matching the url you just used.

InnovateAsterisk avatar Jun 23 '23 06:06 InnovateAsterisk