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

WebSocket connection to 'ws://xxx.xxx.x.x:5901/' failed: #1

Open
sivai2i opened this issue Mar 6, 2018 · 2 comments
Open

WebSocket connection to 'ws://xxx.xxx.x.x:5901/' failed: #1

sivai2i opened this issue Mar 6, 2018 · 2 comments

Comments

@sivai2i
Copy link

sivai2i commented Mar 6, 2018

I couldn't test the application. I'm getting the error as WebSocket connection to 'ws://xxx.xxx.x.x:5901/' failed: Error in connection establishment:

I am trying to connect with tightvnc server installed in windows machine from ubuntu.

@mikekellyio
Copy link

have you websockified the vnc port? react-vnc-display uses novnc under the covers which requires the vnc protocol to go over a websocket connection.

From https://github.com/novnc/websockify :

Here is an example of using websockify to wrap the vncserver command (which backgrounds itself) for use with noVNC:

./run 5901 --wrap-mode=ignore -- vncserver -geometry 1024x768 :1

@sonisrje
Copy link

I also get this error: "Received a broken close frame containing a reserved status code" Even I have websockified the vnc port. Can you please help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants