Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Websocket error on Microsoft Edge

$
0
0

 With Microsoft Edge 44.18362.387.0, I am trying to establish a Websocket connection with my Websocket Server running on localhost.

var fullurl = "wss://localhost:8990/ws";
var conn = new WebSocket(fullurl);

I get the following error.

SCRIPT12017: SCRIPT12017: WebSocket Error: SECURITY_ERR, Cross zone connection not allowed

I have run the CheckNetIsolation commands  as suggested in the forums.

CheckNetIsolation LoopbackExempt -a -n="Microsoft.MicrosoftEdge_8wekyb3d8bbwe"

CheckNetIsolation LoopbackExempt -a -n="Microsoft.Windows.Spartan_cw5n1h2txyewy"

CheckNetIsolation LoopbackExempt -a -p=S-1-15-2-3624051433-2125758914-1423191267-1740899205-1073925389-3782572162-73798

  1. I have verified that in the about:flags localhost loopback is enabled.

  2. Here is the results of running CheckNetIsolation LoopbackExempt -s

[1] -----------------------------------------------------------------     Name: AppContainer NOT FOUND     SID:  S-1-15-2-3940530315-3680572922-3580967311-3604442549-2808734947-326342994-2786341419

[2] -----------------------------------------------------------------     Name: microsoft.microsoftedge_8wekyb3d8bbwe     SID:  S-1-15-2-3624051433-2125758914-1423191267-1740899205-1073925389-3782572162-737981194

[3] -----------------------------------------------------------------     Name: AppContainer NOT FOUND     SID:  S-1-15-2-3624051433-2125758914-1423191267-1740899205-1073925389-3782572162-737981194-4043415302-551583165-304772019-4009825106

[4] -----------------------------------------------------------------     Name: AppContainer NOT FOUND     SID:  S-1-15-2-3624051433-2125758914-1423191267-1740899205-1073925389-3782572162-737981194-3859068477-1314311106-1651661491-1685393560

[5] -----------------------------------------------------------------     Name: 001     SID:  S-1-15-2-3624051433-2125758914-1423191267-1740899205-1073925389-3782572162-737981194-4256926629-1688279915-2739229046-3928706915

[6] -----------------------------------------------------------------     Name: microsoft.microsoftedge_8wekyb3d8bbwe     SID:  S-1-15-2-3624051433-2125758914-1423191267-1740899205-1073925389-3782572162-737981194

OK.

Any help is appreciated. Thanks.

Jyotsna


Viewing all articles
Browse latest Browse all 3527

Trending Articles