Questions tagged [websockify]

Websockify is a WebSocket to TCP proxy/bridge. This allows a browser to connect to any application/server/service. Implementations in Python, C, Node.js and Ruby.

websockify was formerly named wsproxy and was part of the noVNC project.

At the most basic level, websockify just translates WebSockets traffic to normal socket traffic. Websockify accepts the WebSockets handshake, parses it, and then begins forwarding traffic between the client and the target in both directions.

27 questions
19
votes
4 answers

Websockets reverse proxy in IIS 8

I'm attempting to connect to a websockets server (websockify) through a reverse proxy on IIS. The IIS and websockets server reside on the same physical server (Windows Server 2012 R2, IIS 8.5, ARR 3, Websockets enabled). I've seen a few questions…
cydc
  • 191
  • 1
  • 1
  • 5
4
votes
1 answer

noVNC websockify ssl

I am trying to access noVNC through https on my local home sandbox using Websockify on Ubuntu 16 --> https://ubuntu:6080/vnc.html?host=ubuntu&port=6080 Steps so far taken: 1.Self signed a certificate for testing on my localhost which I can access…
Chris
  • 18,075
  • 15
  • 59
  • 77
4
votes
2 answers

How to use websockify with python on windows or compiling websockify as windows executable (for more multiple client connection at a time)

I'm trying to get the websockify 0.6.0 running on windows but without any luck, I have tried python websockify.py 1501 10.0.0.141:1501 but its not good, getting errors , like that: Traceback (most recent call last): File "websockify.py", line 1, in…
Daniel
  • 36,833
  • 10
  • 119
  • 200
2
votes
1 answer

Open specific URL on successful login to noVNC

I have setup vnc server and access it using noVnc, works really good. On every successful login I want to do the following: Open up google-chrome - This can be done by adding chrome to startup applications. Open a different URL everytime, so this…
Uday Reddy
  • 1,337
  • 3
  • 16
  • 38
2
votes
1 answer

Minimal example of "websocket wrapping" for web server using websockify

some webdev basic questions for a noob. background: I have a javascript client that uses the websocket protocol, and a good old java server, which I'm perfectly able to interact with via telnet. I want them to be able to communicate to each other…
fr_andres
  • 5,927
  • 2
  • 31
  • 44
2
votes
1 answer

Emscripten -> websockify -> raw tcp unexpected hung up

I have problem with connect to raw TCP server form compiled web-application with emscripten. When I connect from deskopt version of app all works great. On my VPS I download, compiled and run websockify by: ./websockify 0.0.0.0:1235…
Łukasz Mleczko
  • 173
  • 2
  • 12
2
votes
0 answers

How to use Javascript blob that actually contains ASCII text?

I am connecting to a JSON-RPC server from an HTML5 page, via websockify. I am basing my code on the canonical websocket echo example. Pseudocode follows: In the HTML part:

In the script part: el =…
M.M
  • 138,810
  • 21
  • 208
  • 365
1
vote
1 answer

websockify and self signed certificates

The server I am trying to establish a connection to is using TLS1.2 with a self signed certificate. Since browsers like chrome don't accept them anymore, I deployed websockify with a verifiable certificate and that works fine. The part where is…
Pascal DeMilly
  • 681
  • 1
  • 6
  • 16
1
vote
0 answers

How to stop specific docker instance based on browser close or tab close event?

A Java Swing application is dockerized and it is bundled with fluxbox,X11 and noVNC(websockify)application(see reference). Whenever user clicks a html it opens and browser tab and starts a fresh Java Swing application for this request. It works as…
JavaUser
  • 25,542
  • 46
  • 113
  • 139
1
vote
1 answer

I am using websockify 0.8.0 the latest version, but it doesn't support TLS-1.2

I am using websockify 0.8.0 the latest version, but it doesn't support TLS-1.2 by default. I am looking for the strong cipher to be displayed for sslscan --no-hearbleed hostname:6080 command output. Adding some extra info to make the question more…
1
vote
1 answer

Node js server with websockify

I need to connect websockets with normal sockets, websockify looks seem the answer, but I don´t really understand what do I need to do whit this info: https://www.npmjs.com/package/node-websockify, do I need to create a Node js server, or only run…
IIXIII
  • 21
  • 2
1
vote
0 answers

Websockify server + socket.io client

Im trying to connect from a client using socket.io : to a server running websockify to…
undefined
  • 41
  • 1
1
vote
1 answer

Scalability of websockify?

I new with websockify. So here my situation. Our company have servers written in C# to handle about 1000 to 2000 raw TCP sockets connect per time from Flash and mobile client to play a game online. So we consider to port Flash to Html5 and use…
0
votes
0 answers

NoVNC image freezes after a few seconds of connection (Websockify)

I'm using Websockify to serve a NoVNC instance of a Windows 10 VM running UltraVNC Server. The Websockify instance is then proxied through Nginx on a subdomain, and then goes through Cloudflare proxying and served with an SSL certificate. I can…
0
votes
1 answer

How to solve noVNC serververification event fired?

I'm try to implement the noVNC APIs to create a custom element to handle the noVNC frames on canvas. When i'm calling new RBF() Object to start the noVNC connection // javascript this.rbf = new RFB(screen, this.url.href) // fired when the…
cicciosgamino
  • 871
  • 3
  • 10
  • 29
1
2