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.0.3 非 root 运行时访问 web ui 报 502 错误 #149

Open
happy12322 opened this issue Mar 21, 2024 · 2 comments
Open

1.0.3 非 root 运行时访问 web ui 报 502 错误 #149

happy12322 opened this issue Mar 21, 2024 · 2 comments

Comments

@happy12322
Copy link

happy12322 commented Mar 21, 2024

日志:


2024-03-21T13:45:31.177969Z  INFO thunder::serve::frontend: Starting frontend server: 0.0.0.0:5055    
2024-03-21T13:45:31.193318Z  INFO thunder::serve::backend: Start Thunder Backend Server    
2024-03-21T13:45:31.194262Z  INFO thunder::serve::backend: Thunder Backend Server PID: 774    
2024-03-21T13:45:42.834729Z  INFO request{method=GET uri=/ version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=0 ms status=307
2024-03-21T13:45:42.953418Z  INFO request{method=GET uri=/webman/3rdparty/pan-xunlei-com/index.cgi/ version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=113 ms status=502
2024-03-21T13:45:42.953465Z  WARN request{method=GET uri=/webman/3rdparty/pan-xunlei-com/index.cgi/ version=HTTP/1.1}: tower_http::trace::on_failure: response failed classification=Status code: 502 Bad Gateway latency=113 ms
2024-03-21T13:48:21.189228Z  INFO request{method=GET uri=/webman/3rdparty/pan-xunlei-com/index.cgi/ version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=112 ms status=502
2024-03-21T13:48:21.189264Z  WARN request{method=GET uri=/webman/3rdparty/pan-xunlei-com/index.cgi/ version=HTTP/1.1}: tower_http::trace::on_failure: response failed classification=Status code: 502 Bad Gateway latency=112 ms

系统是 debian 12 更新到最新, 通过 deb 安装的.
使用 root 运行没有问题, 非 root 就出现这样的错误, 所以是非 root 权限不足导致的问题吧, 关于网络权限我不是太懂, 努力了一番没有成功, 不知道问题出在哪里.

@happy12322 happy12322 changed the title 1.0.3 非 root 访问 web ui 报 502 错误 1.0.3 非 root 运行时访问 web ui 报 502 错误 Mar 21, 2024
@chevy222
Copy link

你用 sudo ./thunder start运行没问题吗?我怎么也报502。
image

@chevy222
Copy link

root@fedora:/home/chevy/下载# ./thunder start
root@fedora:/home/chevy/下载# ./thunder log
STDOUT>
2024-03-26T05:04:02.881925Z  INFO thunder::serve::frontend: Starting frontend server: 0.0.0.0:5055    
2024-03-26T05:04:02.885477Z  INFO thunder::serve::backend: Start Thunder Backend Server    
2024-03-26T05:04:02.886442Z  INFO thunder::serve::backend: Thunder Backend Server PID: 2919    
2024-03-26T05:04:11.868153Z  INFO request{method=GET uri=/webman/3rdparty/pan-xunlei-com/index.cgi/ version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=78 ms status=502
2024-03-26T05:04:11.868171Z  WARN request{method=GET uri=/webman/3rdparty/pan-xunlei-com/index.cgi/ version=HTTP/1.1}: tower_http::trace::on_failure: response failed classification=Status code: 502 Bad Gateway latency=78 ms
2024-03-26T05:04:13.479464Z  INFO request{method=GET uri=/webman/3rdparty/pan-xunlei-com/index.cgi/ version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=98 ms status=502
2024-03-26T05:04:13.479479Z  WARN request{method=GET uri=/webman/3rdparty/pan-xunlei-com/index.cgi/ version=HTTP/1.1}: tower_http::trace::on_failure: response failed classification=Status code: 502 Bad Gateway latency=98 ms
2024-03-26T05:04:14.114212Z  INFO request{method=GET uri=/webman/3rdparty/pan-xunlei-com/index.cgi/ version=HTTP/1.1}: tower_http::trace::on_response: finished processing request latency=85 ms status=502
2024-03-26T05:04:14.114227Z  WARN request{method=GET uri=/webman/3rdparty/pan-xunlei-com/index.cgi/ version=HTTP/1.1}: tower_http::trace::on_failure: response failed classification=Status code: 502 Bad Gateway latency=85 ms

我都已经sudo su执行了,还是报502

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

No branches or pull requests

2 participants