huashengdun / webssh

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

Meet "Websocket authentication failed" On render.com #360

Open crazypeace opened 1 year ago

crazypeace commented 1 year ago

我把所有ISSUE里面 Websocket authentication failed.相关的都看了. 但是看不懂.

我会弄的就是用 docker 容器服务商 (比如 render.com) , 加载repo https://github.com/huashengdun/webssh 然后使用的时候就报这个错了. image

我试过类似的产品, 比如 https://hub.docker.com/r/niruix/sshwifty 还有 https://hub.docker.com/r/shellngn/pro 用 Docker 容器加载. 使用时不会遇到 Websocket authentication failed 这样的错.

这个webssh我觉得界面很简洁, 很不错, 而且还支持 URL 里面带上参数, 使用起来非常简单快捷. 我很想用. 但是遇到这个问题我真的不知道我还能做些什么. 修改 Docker Command 吗? 应该改成什么呢? image

futurecad commented 3 weeks ago

请问解决啦吗?

crazypeace commented 3 weeks ago

我看了一堆issue之后, 加了一列参数在后面, 这样:

python run.py --xsrf=False --xheaders=False --origin='*' --debug --delay=6

我写了一个总结 https://zelikk.blogspot.com/2023/10/huashengdun-webssh-codesandbox.html