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

升级到1.6.0版本后,无法使用terminal功能 #108

Closed
2 tasks done
imshuai opened this issue Jan 20, 2025 · 2 comments · Fixed by #116
Closed
2 tasks done

升级到1.6.0版本后,无法使用terminal功能 #108

imshuai opened this issue Jan 20, 2025 · 2 comments · Fixed by #116

Comments

@imshuai
Copy link

imshuai commented Jan 20, 2025

运行环境

Debian 11.11 5.15.0 aarch64

Nezha 版本

1.6.0

描述问题

dashboard和agent升级到1.6.0后,在后台使用terminal功能时,新弹出的标签页直接报错Failed to construct 'WebSocket': The URL '/api/v1/ws/terminal/ffffffff-ffff-ffff-ffff-ffffffffffff' is invalid.

Image
怀疑使用Cloudflare的CDN导致错误,于是在dashboard所在的服务器上,将配置好的agent连接地址直接修改为内网地址127.0.0.1:8008

Image
然后浏览器直接访问192.168.3.44:8008,能正常查看到agent上线并汇报数据。登陆后台后,仍然无法使用terminal,同样的错误。

尝试过重启dashboard和agent,浏览器缓存也清理过。

复现步骤

配置信息

附加信息

验证

  • 我确认这是一个 nezha (哪吒面板) 的问题。
  • 我已经搜索了 Issues,并确认该问题之前没有被反馈过。
@imshuai
Copy link
Author

imshuai commented Jan 21, 2025

再次测试怀疑是Windows7系统原因,win7系统中Edge浏览器(版本:109.0.1518.140)和360极速浏览器(版本:122.0.6261.95)均无法使用terminal功能,但在Windows11系统中使用最新稳定版Edge浏览器则正常使用terminal功能。

@uubulb uubulb transferred this issue from nezhahq/nezha Jan 21, 2025
@uubulb
Copy link
Contributor

uubulb commented Jan 21, 2025

大概率浏览器问题

@uubulb uubulb mentioned this issue Feb 5, 2025
@naiba naiba closed this as completed in #116 Feb 5, 2025
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

Successfully merging a pull request may close this issue.

2 participants