0x676e67 / thunder

Synology NAS thunder run on Linux

Home Page:https://nas.xunlei.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

happy12322 opened this issue · comments

日志:


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 权限不足导致的问题吧, 关于网络权限我不是太懂, 努力了一番没有成功, 不知道问题出在哪里.

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

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