-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Communication with JS websockets #26
Comments
Hi @matkoch please try changing Please let me know if this works! |
Interestingly, it does only work in Chrome, but not in Firefox. |
Is this what you get in Firefox?
Discovered these: https://stackoverflow.com/questions/37298608/content-security-policy-the-pages-settings-blocked-the-loading-of-a-resource |
Oh! Try going to another page. When I first went to my own site (www.joelchristner.com) i.e. any site that doesn't have this content security policy meta tag, it worked! |
Also interesting to note that Chrome starts outbound websocket connections using IPv6 whereas Firefox is using IPv4. |
Going to close this, hope it helps. Seems the library is behaving as it should. Please re-open if you have further issues @matkoch ! |
Yep. Thanks for your response! I use this only in combination with CEF, so I’m good :) |
Thanks for your work with this library. Really appreciate it.
I'm trying to communicate with a JS WebSocket. Roughly like:
But
http://
is not supported:SyntaxError: An invalid or illegal string was specified
This SO question seems to be related, but I still couldn't make it work.
Do you have any hints?
The text was updated successfully, but these errors were encountered: