huashengdun / webssh

:seedling: Web based ssh client
https://webssh.huashengdun.org/
MIT License
4.48k stars 1.26k forks source link

Related to #99 - Closing worker .. with reason: worker recycled #143

Open HekSahiti opened 4 years ago

HekSahiti commented 4 years ago

I am having this problem with webssh.

I have put this on a docker container. When I run it on a stand alone server it works fine. But when I run it in a k8s cluster I am not able to access it.

On my browser I get: websocket authentication failed.

This is the output from Chrome Devtools console:

Uncaught DOMException: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.

The solutions on #99 did not help me further

huashengdun commented 4 years ago

It is just a monolithic application and does not support for running multiple instances.

HekSahiti commented 4 years ago

But I should be able to run it in just a single instance, right?

huashengdun commented 4 years ago

That is right. Is your websocket proxying properly configured?