mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 00:36:08 +03:00
[GH-ISSUE #537] [Bug] 终端页面, 提示"连接中断,请刷新页面。" #1620
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#1620
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zuilintan on GitHub (Sep 3, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/537
Describe the bug
进入终端页面, 提示"连接中断,请刷新页面。", 但刷新也是无效的,
此时systemctl status nginx-ui -l报错信息如下截图(很抱歉, 我没有找到咱们nginx-ui自身的日志文件)
To Reproduce
以在线升级的方式, 升级到v2.0.0-beta.32后,
进去终端页面,
问题必现
Expected behavior
正常显示终端
Screenshots


Info (please complete the following information):
Additional context
None
@0xJacky commented on GitHub (Sep 3, 2024):
之前是从哪个版本升级上来的?因为最近一次更新 pty 依赖是 3 星期前
@0xJacky commented on GitHub (Sep 3, 2024):
至少 beta.24 开始这个功能好像就不可用了
日志查看使用
@zuilintan commented on GitHub (Sep 3, 2024):
很遗憾, 具体版本号我没有印象了,
不过应该是在2.0.0-beta.26或更早之前
@0xJacky commented on GitHub (Sep 3, 2024):
是的这个应该是老问题了,目前我在 debian 和 Ubuntu (内核 5.x)都是正常使用的
https://github.com/creack/pty/issues/21
@0xJacky commented on GitHub (Sep 3, 2024):
所以很抱歉这个问题大概率我没法解决
@zuilintan commented on GitHub (Sep 3, 2024):
通过数据库查询, 我可确认版本是从2.0.0-beta.25-patch.1升级上来:


@zuilintan commented on GitHub (Sep 3, 2024):
好的, 这的确是个很复杂且无头绪的问题,
后面我会尝试重新安装
@zuilintan commented on GitHub (Sep 3, 2024):
对了, 补充一下:
我这台主机, 手动更新过python版本,
从2.x->3.12
@0xJacky commented on GitHub (Sep 3, 2024):
如果可以的话建议更新一下操作系统 centos7 上个月已经 EOL 了
@zuilintan commented on GitHub (Oct 2, 2024):
问题已定位:
我的NgiuxUI web端使用了nginx反代,不需要端口9000访问,
故将端口移出了防火墙白名单,
而终端似乎依赖9000
对策:
9000加入防火墙白名单
@0xJacky commented on GitHub (Oct 2, 2024):
错误的,9000 端口如果在 nginx 反向代理后面,是不需要暴露到防火墙外的