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

Wss connection problem while trying to connect by https #114

Open
svillegasc opened this issue Mar 8, 2017 · 5 comments
Open

Wss connection problem while trying to connect by https #114

svillegasc opened this issue Mar 8, 2017 · 5 comments
Labels

Comments

@svillegasc
Copy link

I have a problem, Help me

Mixed Content: The page at 'https://expzero.com/todolist/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://54.88.59.233:3000/websocket'. This request has been blocked; this endpoint must be available over WSS.

I have a proxy that has the SSL certificate, the proxy sends the requests to an application and that application connects to a backend that has the address shown in the error 'ws: //54.88.59.233: 3000 / websocket'.

@davidebianchi
Copy link
Contributor

Hi @svillegasc,

you should use the secure websocket protocol: wss://54.88.59.233:3000/websocket.
This solve the issue?

Davide

@deanrad
Copy link

deanrad commented Mar 16, 2017

I find that none of these URL schemes is working for asteroid to connect to my server.
This is for when the browser connects via Meteor, DevTools reports my url as wss://oserver.com/sockjs/551/b8a4v76i/websocket

Asteroid times out on:

wss://oserver.com/sockjs
wss://oserver.com:443/sockjs
wss://oserver.com:443/websocket
ws://oserver.com/sockjs
ws://oserver.com/websocket

@deanrad
Copy link

deanrad commented Mar 16, 2017

@davidebianchi - wss uses port 443 by default, not 3000

@infacq
Copy link

infacq commented Jul 18, 2017

how do set up Meteor to allow wss connection on localhost?

@Sleepingbug
Copy link

@svillegasc Have you finally solved it? How to solve it? I have the same problem now.

camelcrush referenced this issue in camelcrush/insta-web May 23, 2022
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

5 participants