[GH-ISSUE #239] 浏览器标签页未关闭可能导致启动过多的终端 #1473

Closed
opened 2026-02-27 12:10:58 +03:00 by kerem · 2 comments
Owner

Originally created by @IridaGX on GitHub (Dec 17, 2023).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/239

Describe the bug
浏览器打开nginx-ui,停留在终端;然后切到其他标签,保留nginx-ui的标签不关闭。过大约1~2天的时间,导致ssh连接终端报错:
PTY allocation request failed on channel 0

出现问题后重启nginx-ui服务,问题得到解决,推测是nginx-ui启动了过多的终端会话

Screenshots

2023-12-17 11:33:26 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:33:37 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:33:48 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:33:59 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:34:10 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:34:21 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:34:32 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:34:43 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:34:54 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:35:05 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:35:16 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:35:27 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:35:38 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:35:49 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:36:00 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:36:11 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:36:22 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:36:33 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:36:44 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:36:55 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:37:06 ERROR api/pty.go:29 start pty error: device not configured
2023-12-17 11:37:17 ERROR api/pty.go:29 start pty error: device not configured

Info (please complete the following information):

  • Server OS: macOS 13.6.1
  • Server Arch: aach64
  • Nginx UI Version: 1.9.9 (110)
  • Your Browser: Chrome
Originally created by @IridaGX on GitHub (Dec 17, 2023). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/239 **Describe the bug** 浏览器打开nginx-ui,停留在终端;然后切到其他标签,保留nginx-ui的标签不关闭。过大约1~2天的时间,导致ssh连接终端报错: PTY allocation request failed on channel 0 出现问题后重启nginx-ui服务,问题得到解决,推测是nginx-ui启动了过多的终端会话 **Screenshots** ``` 2023-12-17 11:33:26 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:33:37 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:33:48 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:33:59 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:34:10 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:34:21 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:34:32 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:34:43 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:34:54 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:35:05 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:35:16 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:35:27 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:35:38 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:35:49 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:36:00 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:36:11 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:36:22 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:36:33 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:36:44 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:36:55 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:37:06 ERROR api/pty.go:29 start pty error: device not configured 2023-12-17 11:37:17 ERROR api/pty.go:29 start pty error: device not configured ``` **Info (please complete the following information):** - Server OS: macOS 13.6.1 - Server Arch: aach64 - Nginx UI Version: 1.9.9 (110) - Your Browser: Chrome
kerem 2026-02-27 12:10:58 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@0xJacky commented on GitHub (Dec 17, 2023):

这个问题在 v2 中修复了,可以更新到 v2 之后看看是否有解决

<!-- gh-comment-id:1859187053 --> @0xJacky commented on GitHub (Dec 17, 2023): 这个问题在 v2 中修复了,可以更新到 v2 之后看看是否有解决
Author
Owner

@IridaGX commented on GitHub (Dec 17, 2023):

好的,辛苦🌹

<!-- gh-comment-id:1859188118 --> @IridaGX commented on GitHub (Dec 17, 2023): 好的,辛苦🌹
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#1473
No description provided.