WebSocket proxy to telnet

Primary tabs

SOAP, Caché

Is there any easy way to create a WebSocket to Telnet proxy within the Cache environment?

I would like to use a html5 telnet emulator to connect to cache, but need to create a proxy,


Is this a simple task?


Is this fully supported by InterSystems?

No, it's open-source. Any bugs/feature requests should be reported on GitHub. It's very stable, though.

Or you can fork it and fix/change/add functionality by yourself.

I have used https://www.codeproject.com/Articles/63201/TelnetSocket in a .NET web application to develop a "proof-of-concept". The code makes use of the System.Net.Sockets.TcpClient .NET class to establish and manage a telnet connection. In my case, I wanted something simple to allow a an authenticated user, to execute a non-interactive shell program over telnet to change their password using an internally hosted web application (not accessible to the public Internet). This had already been done in PHP but I wanted something a bit different and something that integrated well with our existing .NET web application. The concept worked but I was never completely happy with the design approach. 

Cache Web Terminal does provide an interactive shell with intellisense but limitations mean you can't use it like you would use something like PuTTY and the current issue log presents quite a few challenges.

adding an answer so this doesn't show up in 'unanswered questions' anymore


this is a conceptual issue. If there is no ACCEPTED answer it shows up as UNanswered.
- no further comment from my side - 

while NO answer has really no ANSWER type reply

You could take a look at this, which was originally designed, some 4 years ago, to provide browser-based terminal roll&scroll access to VistA.   If you're familiar with Node.js, you should be able to adapt it for your own use: