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

Untrusted Secure Websocket broken on latest chrome dev #1494

Closed
Carreau opened this issue Mar 15, 2012 · 7 comments
Closed

Untrusted Secure Websocket broken on latest chrome dev #1494

Carreau opened this issue Mar 15, 2012 · 7 comments
Milestone

Comments

@Carreau
Copy link
Member

Carreau commented Mar 15, 2012

Hi,
IPython websocket seem to be broken on last chrome dev (19.0.1068.0 dev, [march 13 I think]), jQuery pop up at startup :

Websocket connection to wss://localhost:8888/kernels/dff85e51-da2a-49c9-915a-6b93b5d8e3e7
could not be established. You will NOT be able to run code. Your browser may not be compatible
with the websocket version in the server, or if the url does not look right, there could be an
error in the server's configuration.

Nothing in js console

Wherease some websocket testing site like http://websocket.org/echo.html works.
Does anyone have the same probleme ? I rolled back to chrome stable and it works fine.

last commit of master: 3912ea7 , https with password, on mac.

@takluyver
Copy link
Member

Can you test without https, to see if it's only an issue with secure websockets?

@Carreau
Copy link
Member Author

Carreau commented Mar 15, 2012

Yes, I can, and yes it works.

@minrk
Copy link
Member

minrk commented Mar 15, 2012

Is your certificate trusted? It could be that Chrome is giving up on the websocket connection with an untrusted certificate.

Or, as has been true in the past with a couple ws issues, it's just a Chrome bug and will be fixed shortly.

@minrk
Copy link
Member

minrk commented Mar 15, 2012

After testing with a trusted certificate, I'm pretty sure this is the case. Chrome is refusing to establish wss connections with untrusted certificates. I'm not sure how to get a certificates to be trusted on localhost, because Chrome is giving me:

The identity of this website has not been verified.

The identity of the server you are connected to cannot be fully validated.

Even though I've instructed my system to trust the certificate. When I use a trusted certificate for non-localhost address, then wss connections work fine.

@Carreau
Copy link
Member Author

Carreau commented Mar 16, 2012

ok, good to know, i'll try to look at it again on tuesday.
Thanks.

@jeffhsu3
Copy link

I'm getting a similar issue, but only when using ipython notebook within a virtual environment.

@Carreau
Copy link
Member Author

Carreau commented Apr 2, 2012

well , seem to be fixed on (19.0.1084.1 dev) as of today april 2cnd.
Closing then...

@Carreau Carreau closed this as completed Apr 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants