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

Chrom[e | ium] 20 SSL problem #177

Closed
primalmotion opened this issue Jul 3, 2012 · 5 comments
Closed

Chrom[e | ium] 20 SSL problem #177

primalmotion opened this issue Jul 3, 2012 · 5 comments

Comments

@primalmotion
Copy link

Hey,

With latest versions of Chromium, it is not possible to use SSL encrypted websocket.

When starting the proxy, this is thrown:

File "/tmp/work/archipel-agent-virtualmachine-vnc/archipelagentvirtualmachinevnc/websocket.py", line 723, in top_new_client
    self.client = self.do_handshake(startsock, address)
  File "/tmp/work/archipel-agent-virtualmachine-vnc/archipelagentvirtualmachinevnc/websocket.py", line 595, in do_handshake
    if wsh.last_code == 101:
AttributeError: WSRequestHandler instance has no attribute 'last_code'

By setting the cert to empty string, it works again, but with no encryption of course.

@kanaka
Copy link
Member

kanaka commented Jul 4, 2012

It reproduced briefly for me. However, after re-accepting the self-signed cert (by using normal https to connect) and then reloading noVNC itself, the problem has now gone away. I think this is another symptom of the "no way to accept invalid certs over WebSockets" issue. Can you verify that forcing the cert to be accepted using https resolves the problem for you too?

@kanaka
Copy link
Member

kanaka commented Jul 25, 2012

@primalmotion, ping.

@kidk
Copy link

kidk commented Jul 27, 2012

I've come across this problem with noVNC. Accepting the cert trough https does indeed fix the problem.

@CyrilPeponnet
Copy link

I confirm this too, you can close this one I suppose. (Primalmotion can confirm also, we have discussed this case for archipel yesterday).

@kanaka
Copy link
Member

kanaka commented Feb 17, 2013

Okay, thanks.

@kanaka kanaka closed this as completed Feb 17, 2013
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