Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCRIPT5022: SecurityError in IE11 #44

Closed
houyaowei opened this issue Mar 13, 2019 · 1 comment
Closed

SCRIPT5022: SecurityError in IE11 #44

houyaowei opened this issue Mar 13, 2019 · 1 comment
Labels

Comments

@houyaowei
Copy link

react version:
16.2.0

import the lib:
import Sockette from "sockette";`

get init instance:
2

after the component loaded . then refresh the browser , this error occured :
4

3
1

how can I fix this problem? thanks

@lukeed
Copy link
Owner

lukeed commented Mar 13, 2019

Hey~! This is an IE thing in regards to localhost connecting over wss:// protocols. Here's a SO answer I found that explains it & gives a workaround: https://stackoverflow.com/a/20145203/3577474

I'm going to close this since it's not related to Sockette – but I'd be curious to hear if those steps solved it for you. Thanks!

@lukeed lukeed closed this as completed Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants