se1exin / Cleanarr

A simple UI to help find and delete duplicate and sample files from your Plex server
https://hub.docker.com/r/selexin/cleanarr
MIT License
208 stars 18 forks source link

Failed to load content! HTTPConnectionPool... #136

Open Scottybegood opened 4 months ago

Scottybegood commented 4 months ago

Any ideas as to what could have caused this?

HTTPConnectionPool(host='192.168.1.XXX', port=32400): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x14a6d9479f90>: Failed to establish a new connection: [Errno 113] No route to host'))

running as a docker on unraid. everything has worked smooth for the last few weeks and all of a sudden I get this error.

Scottybegood commented 4 months ago

Log Console: ini = /app/uwsgi.ini module = main callable = app processes = 16 cheaper = 2 ini = /etc/uwsgi/uwsgi.ini socket = /tmp/uwsgi.sock chown-socket = nginx:nginx chmod-socket = 664 hook-master-start = unix_signal:15 gracefully_kill_them_all need-app = true die-on-term = true show-config = true ;end of configuration

Starting uWSGI 2.0.21 (64bit) on [Wed May 1 01:21:43 2024] compiled with version: 10.2.1 20210110 on 06 November 2023 00:19:26 os: Linux-6.1.79-Unraid #1 SMP PREEMPT_DYNAMIC Fri Mar 29 13:34:03 PDT 2024 nodename: 12c951f9813b machine: x86_64 clock source: unix pcre jit disabled detected number of CPU cores: 16 current working directory: /app detected binary path: /usr/local/bin/uwsgi your processes number limit is 111752 your memory page size is 4096 bytes detected max file descriptor number: 40960 lock engine: pthread robust mutexes thunder lock: disabled (you can enable it with --thunder-lock) uwsgi socket 0 bound to UNIX address /tmp/uwsgi.sock fd 3 uWSGI running as root, you can use --uid/--gid/--chroot options WARNING: you are running uWSGI as root !!! (use the --uid flag) Python version: 3.10.13 (main, Nov 1 2023, 14:20:38) [GCC 10.2.1 20210110] Python threads support is disabled. You can enable it with --enable-threads Python main interpreter initialized at 0x555ee958d7d0 uWSGI running as root, you can use --uid/--gid/--chroot options WARNING: you are running uWSGI as root !!! (use the --uid flag) your server socket listen backlog is limited to 100 connections your mercy for graceful operations on workers is 60 seconds mapped 1239640 bytes (1210 KB) for 16 cores Operational MODE: preforking WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x555ee958d7d0 pid: 10 (default app) uWSGI running as root, you can use --uid/--gid/--chroot options WARNING: you are running uWSGI as root !!! (use the --uid flag) uWSGI is running in multiple interpreter mode spawned uWSGI master process (pid: 10) spawned uWSGI worker 1 (pid: 13, cores: 1) spawned uWSGI worker 2 (pid: 14, cores: 1) running "unix_signal:15 gracefully_kill_them_all" (master-start)... main 2024-05-01 01:22:05,908 ERROR main.py:internal_error HTTPConnectionPool(host='192.168.1.84', port=32400): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x14814c041f90>: Failed to establish a new connection: [Errno 113] No route to host')) main 2024-05-01 01:22:05,908 ERROR main.py:internal_error HTTPConnectionPool(host='192.168.1.84', port=32400): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x14814c041f90>: Failed to establish a new connection: [Errno 113] No route to host')) [pid: 14|app: 0|req: 1/2] 192.168.1.224 () {42 vars in 657 bytes} [Wed May 1 01:22:02 2024] GET /content/dupes?page=1 => generated 261 bytes in 3078 msecs (HTTP/1.1 500) 3 headers in 123 bytes (1 switches on core 0) [pid: 13|app: 0|req: 1/2] 192.168.1.224 () {42 vars in 657 bytes} [Wed May 1 01:22:02 2024] GET /content/dupes?page=2 => generated 261 bytes in 3078 msecs (HTTP/1.1 500) 3 headers in 123 bytes (1 switches on core 0) spawned uWSGI worker 3 (pid: 15, cores: 1) main 2024-05-01 01:22:08,980 ERROR main.py:internal_error HTTPConnectionPool(host='192.168.1.84', port=32400): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x14814c042c80>: Failed to establish a new connection: [Errno 113] No route to host')) main 2024-05-01 01:22:08,980 ERROR main.py:internal_error HTTPConnectionPool(host='192.168.1.84', port=32400): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x14814c042c80>: Failed to establish a new connection: [Errno 113] No route to host')) main 2024-05-01 01:22:08,980 ERROR main.py:internal_error HTTPConnectionPool(host='192.168.1.84', port=32400): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x14814c041f90>: Failed to establish a new connection: [Errno 113] No route to host')) [pid: 13|app: 0|req: 2/4] 192.168.1.224 () {42 vars in 657 bytes} [Wed May 1 01:22:05 2024] GET /content/dupes?page=4 => generated 261 bytes in 3070 msecs (HTTP/1.1 500) 3 headers in 123 bytes (1 switches on core 0) [pid: 14|app: 0|req: 2/4] 192.168.1.224 () {42 vars in 657 bytes} [Wed May 1 01:22:05 2024] GET /content/dupes?page=3 => generated 261 bytes in 3070 msecs (HTTP/1.1 500) 3 headers in 123 bytes (1 switches on core 0) [pid: 15|app: 0|req: 1/5] 192.168.1.224 () {42 vars in 657 bytes} [Wed May 1 01:22:05 2024] GET /content/dupes?page=5 => generated 261 bytes in 3055 msecs (HTTP/1.1 500) 3 headers in 123 bytes (1 switches on core 0) spawned uWSGI worker 4 (pid: 16, cores: 1) main 2024-05-01 01:22:12,052 ERROR main.py:internal_error HTTPConnectionPool(host='192.168.1.84', port=32400): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x14814c043010>: Failed to establish a new connection: [Errno 113] No route to host')) main 2024-05-01 01:22:12,052 ERROR main.py:internal_error HTTPConnectionPool(host='192.168.1.84', port=32400): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x14814c042c80>: Failed to establish a new connection: [Errno 113] No route to host')) main 2024-05-01 01:22:12,052 ERROR main.py:internal_error HTTPConnectionPool(host='192.168.1.84', port=32400): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x14814c043010>: Failed to establish a new connection: [Errno 113] No route to host')) [pid: 13|app: 0|req: 3/6] 192.168.1.224 () {42 vars in 657 bytes} [Wed May 1 01:22:08 2024] GET /content/dupes?page=6 => generated 261 bytes in 3072 msecs (HTTP/1.1 500) 3 headers in 123 bytes (1 switches on core 0) [pid: 14|app: 0|req: 3/7] 192.168.1.224 () {42 vars in 657 bytes} [Wed May 1 01:22:08 2024] GET /content/dupes?page=7 => generated 261 bytes in 3072 msecs (HTTP/1.1 500) 3 headers in 123 bytes (1 switches on core 0) main 2024-05-01 01:22:12,053 ERROR main.py:internal_error HTTPConnectionPool(host='192.168.1.84', port=32400): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x14814c041f90>: Failed to establish a new connection: [Errno 113] No route to host')) [pid: 15|app: 0|req: 2/8] 192.168.1.224 () {42 vars in 657 bytes} [Wed May 1 01:22:08 2024] GET /content/dupes?page=8 => generated 261 bytes in 3073 msecs (HTTP/1.1 500) 3 headers in 123 bytes (1 switches on core 0) [pid: 16|app: 0|req: 1/9] 192.168.1.224 () {42 vars in 657 bytes} [Wed May 1 01:22:09 2024] GET /content/dupes?page=9 => generated 261 bytes in 2124 msecs (HTTP/1.1 500) 3 headers in 123 bytes (1 switches on core 0) main 2024-05-01 01:22:15,124 ERROR main.py:internal_error HTTPConnectionPool(host='192.168.1.84', port=32400): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x14814c042350>: Failed to establish a new connection: [Errno 113] No route to host')) main 2024-05-01 01:22:15,124 ERROR main.py:internal_error HTTPConnectionPool(host='192.168.1.84', port=32400): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x14814c0421a0>: Failed to establish a new connection: [Errno 113] No route to host')) [pid: 14|app: 0|req: 4/10] 192.168.1.224 () {42 vars in 658 bytes} [Wed May 1 01:22:12 2024] GET /server/deleted-sizes => generated 261 bytes in 3071 msecs (HTTP/1.1 500) 3 headers in 123 bytes (1 switches on core 0) [pid: 13|app: 0|req: 4/11] 192.168.1.224 () {42 vars in 659 bytes} [Wed May 1 01:22:12 2024] GET /content/dupes?page=10 => generated 261 bytes in 3071 msecs (HTTP/1.1 500) 3 headers in 123 bytes (1 switches on core 0) worker 1 killed successfully (pid: 13) uWSGI worker 1 cheaped. worker 2 killed successfully (pid: 14) uWSGI worker 2 cheaped.

peter-mcconnell commented 4 months ago

I'm not familiar with unraid but if you can exec into the container and try to reach the endpoint (curl -L http://192.168.1.84:32400) that would at least validate if this is a generic networking issue or something specific to cleanarr

Scottybegood commented 3 months ago

I got super busy and forgot all about this post. Did "curl -L http://192.168.1.84:32400" from the Cleanarr Docker console and it spit back "curl: (7) Failed to connect to 192.168.1.84 port 32400: No route to host" which makes no since when they are both running on the same machine. Cleanarr set to .1.249. if I change the the docker to use .1.84:80 sometimes it works like it is now and other times I will get a strange error about not being able to connect the plex at all.

But Currently I have it working under host not bridge or a custom IP. I'm looking forward to it stopping working again so I can update this post with the other error that shows up after working for weeks and having no settings changed.