kumina/wsproxy — Issue #4: Location mismatch when using stunnel 
Author: unityweb
Created: 2011-11-26 14:58:44+00:00
State: open

Here's my setup :

novnc -> wss -> stunnel (8442) (set to connect to 8080) -> wsproxy (:8080) -> vnc (5901).

Everything works fine on desktop; but when on mobile (ipad) i get :

Error during websocket handshake : localtion mismatch : wss://:8442/5901 != ws://:8442/5901

After some search i came to this : http://blog.phpontrax.com/2010/02/how-to-make-an-open-source-load-balancer-stunnel-haproxy/

Patched stunnel; but still the same error.

Is there a 'Origin' vs 'X-Foward-Proto' to be patched in wsproxy ?

Damn, whish i would have more knowledge to help myself.

Any idea ?