我正在尝试运行一个名为 Janitorr 的 docker compose。https
我与作者有一个故障线程,似乎在我的服务器端发生了一些重定向。https
我真的不知道我需要做什么。
我通过 Swizzin 运行 nginx。我对 nginx 的了解几乎为零。
这是 nginx sonarr.conf
location /sonarr {
proxy_pass http://127.0.0.1:8989;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
auth_basic "What's the password?";
auth_basic_user_file /etc/htpasswd.d/htpasswd.rickardfransson;
}
# Allow the API External Access via NGINX
location /sonarr/api {
auth_basic off;
proxy_pass http://127.0.0.1:8989;
}
# Allow Calendar Feed External Access via NGINX
location ^~ /sonarr/feed/calendar {
auth_basic off;
proxy_pass http://127.0.0.1:8989;
}
编辑:这是我启动 Janitorr 并找到时间戳后的访问日志。在 11:13 时,程序触发 PUT 请求,然后停止
.127.0.0.1 - rickardfransson [29/Sep/2024:11:13:18 +0200] "GET /qbittorrent/api/v2/torrents/info?category=tv-sonarr HTTP/2.0" 200 5240 "-" "Sonarr/4.0>
172.20.0.3 - - [29/Sep/2024:11:13:19 +0200] "GET /emby/sessions HTTP/1.1" 200 4085 "-" "axios/1.6.7"
78.46.88.19 - - [29/Sep/2024:11:13:20 +0200] "GET /radarr4k/api/v3/system/status HTTP/1.1" 200 433 "-" "Go-http-client/1.1"
78.46.88.19 - - [29/Sep/2024:11:13:20 +0200] "GET /sonarr/api/v3/system/status HTTP/1.1" 200 425 "-" "Go-http-client/1.1"
172.20.0.3 - - [29/Sep/2024:11:13:20 +0200] "GET /emby/sessions HTTP/1.1" 200 4085 "-" "axios/1.6.7"
172.20.0.3 - - [29/Sep/2024:11:13:21 +0200] "GET /emby/sessions HTTP/1.1" 200 4084 "-" "axios/1.6.7"
172.20.0.3 - - [29/Sep/2024:11:13:22 +0200] "GET /emby/sessions HTTP/1.1" 200 4085 "-" "axios/1.6.7"
172.20.0.3 - - [29/Sep/2024:11:13:23 +0200] "GET /emby/sessions HTTP/1.1" 200 4084 "-" "axios/1.6.7"
172.20.0.3 - - [29/Sep/2024:11:13:24 +0200] "GET /emby/sessions HTTP/1.1" 200 4084 "-" "axios/1.6.7"
172.20.0.3 - - [29/Sep/2024:11:13:25 +0200] "GET /emby/sessions HTTP/1.1" 200 4084 "-" "axios/1.6.7"
172.20.0.3 - - [29/Sep/2024:11:13:26 +0200] "GET /emby/sessions HTTP/1.1" 200 4082 "-" "axios/1.6.7"
172.20.0.3 - - [29/Sep/2024:11:13:27 +0200] "GET /emby/sessions HTTP/1.1" 200 4081 "-" "axios/1.6.7"
这是同一时间戳附近的错误日志
2024/09/29 11:10:05 [error] 3135544#3135544: r11.o.lencr.org could not be resolved (110: Operation timed out) while requesting certificate status, re>
2024/09/29 11:12:30 [error] 3135543#3135543: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.1:53
2024/09/29 11:12:30 [error] 3135543#3135543: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.1:53
2024/09/29 11:12:35 [error] 3135543#3135543: r11.o.lencr.org could not be resolved (110: Operation timed out) while requesting certificate status, re>
2024/09/29 11:18:10 [error] 3135543#3135543: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.1:53
以下是 Janitorr 的日志。我们看到程序进入了取消监控阶段并发送了一个 PUT 请求。该请求被重定向并且程序停止运行。
2024-09-29T09:13:24.888Z INFO 1 --- [ scheduling-1] c.g.s.j.s.sonarr.SonarrRestService : Unmonitoring Monarch: Legacy of Mons ters - season 1
2024-09-29T09:13:26.175Z ERROR 1 --- [ scheduling-1] o.s.s.s.TaskUtils$LoggingErrorHandler : Unexpected error occurred in schedul ed task
feign.RetryableException: cannot retry due to redirection, in streaming mode executing PUT http://127.0.0.1:8989/api/v3/series/54
10
–
–
–
curl
?–
–
|