haugene / vpn-configs-contrib

A collection of configs for various VPN providers
GNU General Public License v3.0
176 stars 739 forks source link

Unresponsive Container -- Unhealthy #166

Closed gwrichard closed 1 year ago

gwrichard commented 1 year ago

Is there a pinned issue for this?

Is there an existing or similar issue for this?

Is there any comment in the documentation for this?

Is this related to the container/transmission?

Are you using the latest release?

Have you tried using the dev branch latest?

Config used

version: '3.8'

services: transmission: image: haugene/transmission-openvpn:latest restart: unless-stopped cap_add:

Current Behavior

Transmission container never reports a health status to Docker. It eventually becomes unresponsive and is inaccessible via the web UI after a few hours.

Of note is that I can still attach the console to the container when it is unresponsive

image

image

Expected Behavior

Container should report health to Docker and restart when unresponsive per the docker configuration.

How have you tried to solve the problem?

1) Tried different released of Transmission 2) Tried different containers and config

Log output

2022-12-19 08:29:21 net_route_v4_add: 128.0.0.0/1 via 10.15.112.1 dev [NULL] table 0 metric -1 2022-12-19 08:29:21 WARNING: OpenVPN was configured to add an IPv6 route. However, no IPv6 has been configured for tun0, therefore the route installation may fail or may not work as expected. 2022-12-19 08:29:21 add_route_ipv6(2000::/3 -> :: metric -1) dev tun0 2022-12-19 08:29:21 net_route_v6_add: 2000::/3 via :: dev tun0 table 0 metric -1 /etc/openvpn/tunnelUp.sh: line 58: /etc/resolv.conf: Read-only file system chmod: changing permissions of '/etc/resolv.conf': Read-only file system Up script executed with device=tun0 ifconfig_local=10.15.112.178 Updating TRANSMISSION_BIND_ADDRESS_IPV4 to the ip of tun0 : 10.15.112.178 Using Transmission Web Control UI, overriding TRANSMISSION_WEB_HOME

Transmission will run as

User name: root User uid: 0 User gid: 0

Updating Transmission settings.json with values from env variables Attempting to use existing settings.json for Transmission Successfully used existing settings.json /config/transmission-home/settings.json Overriding bind-address-ipv4 because TRANSMISSION_BIND_ADDRESS_IPV4 is set to 10.15.112.178 Overriding download-dir because TRANSMISSION_DOWNLOAD_DIR is set to /data/completed Overriding incomplete-dir because TRANSMISSION_INCOMPLETE_DIR is set to /data/incomplete Overriding rpc-password because TRANSMISSION_RPC_PASSWORD is set to [REDACTED] Overriding rpc-port because TRANSMISSION_RPC_PORT is set to 9091 Overriding rpc-username because TRANSMISSION_RPC_USERNAME is set to Overriding watch-dir because TRANSMISSION_WATCH_DIR is set to /data/watch sed'ing True to true STARTING TRANSMISSION Provider PIA has a script for automatic port forwarding. Will run it now. If you want to disable this, set environment variable DISABLE_PORT_UPDATER=true Transmission startup script complete. Privoxy: Starting Privoxy: Using config file at /etc/privoxy/config Privoxy: Setting port to 8888 Privoxy: Running as PID 88 2022-12-19 08:29:24 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this 2022-12-19 08:29:24 Initialization Sequence Completed Running functions for token based port fowarding Reserved Port: 24193 Mon Dec 19 08:29:36 AEST 2022 transmission auth not required waiting for transmission to become responsive transmission became responsive 25 100% 9.99 GB Done 50.0 0.0 0.0 Idle Paradise.City.2022.1080p.BluRay.x264.DTS-HD.MA.5.1-MT Sum: 138.6 GB 50.0 0.0 setting transmission port to 24193 localhost:9091/transmission/rpc/ responded: "success" Checking port... Port is open: Yes ####################### SUCCESS
####################### Port: 24193 Expiration Sun Feb 19 20:29:36 AEST 2023 ####################### Entering infinite while loop Every 15 minutes, check port status Reserved Port: 24193 Mon Dec 19 08:44:56 AEST 2022 Reserved Port: 24193 Mon Dec 19 08:59:56 AEST 2022 Reserved Port: 24193 Mon Dec 19 09:14:56 AEST 2022 Reserved Port: 24193 Mon Dec 19 09:29:57 AEST 2022 Reserved Port: 24193 Mon Dec 19 09:44:57 AEST 2022 Reserved Port: 24193 Mon Dec 19 09:59:57 AEST 2022 Reserved Port: 24193 Mon Dec 19 10:14:57 AEST 2022 Reserved Port: 24193 Mon Dec 19 10:29:57 AEST 2022 Reserved Port: 24193 Mon Dec 19 10:44:58 AEST 2022 Reserved Port: 24193 Mon Dec 19 10:59:58 AEST 2022 Reserved Port: 24193 Mon Dec 19 11:14:58 AEST 2022 Reserved Port: 24193 Mon Dec 19 11:29:58 AEST 2022 Reserved Port: 24193 Mon Dec 19 11:44:58 AEST 2022 Reserved Port: 24193 Mon Dec 19 11:59:59 AEST 2022 Reserved Port: 24193 Mon Dec 19 12:15:00 AEST 2022 Reserved Port: 24193 Mon Dec 19 12:30:01 AEST 2022 Reserved Port: 24193 Mon Dec 19 12:45:02 AEST 2022 Reserved Port: 24193 Mon Dec 19 13:00:04 AEST 2022 Reserved Port: 24193 Mon Dec 19 13:15:05 AEST 2022 Reserved Port: 24193 Mon Dec 19 13:30:07 AEST 2022 Reserved Port: 24193 Mon Dec 19 13:45:08 AEST 2022 Reserved Port: 24193 Mon Dec 19 14:00:08 AEST 2022 Reserved Port: 24193 Mon Dec 19 14:15:09 AEST 2022 Reserved Port: 24193 Mon Dec 19 14:30:10 AEST 2022 Reserved Port: 24193 Mon Dec 19 14:45:10 AEST 2022 Reserved Port: 24193 Mon Dec 19 15:00:12 AEST 2022 Reserved Port: 24193 Mon Dec 19 15:15:13 AEST 2022 Reserved Port: 24193 Mon Dec 19 15:30:16 AEST 2022 Reserved Port: 24193 Mon Dec 19 15:45:17 AEST 2022 Reserved Port: 24193 Mon Dec 19 16:00:18 AEST 2022 Reserved Port: 24193 Mon Dec 19 16:15:18 AEST 2022 Reserved Port: 24193 Mon Dec 19 16:30:19 AEST 2022 Reserved Port: 24193 Mon Dec 19 16:45:20 AEST 2022 Reserved Port: 24193 Mon Dec 19 17:00:21 AEST 2022 Reserved Port: 24193 Mon Dec 19 17:15:22 AEST 2022 Reserved Port: 24193 Mon Dec 19 17:30:22 AEST 2022 Reserved Port: 24193 Mon Dec 19 17:45:22 AEST 2022 Reserved Port: 24193 Mon Dec 19 18:00:22 AEST 2022 Reserved Port: 24193 Mon Dec 19 18:15:23 AEST 2022 Reserved Port: 24193 Mon Dec 19 18:30:23 AEST 2022 Reserved Port: 24193 Mon Dec 19 18:45:23 AEST 2022 Reserved Port: 24193 Mon Dec 19 19:00:23 AEST 2022

Environment

- OS:   linux x86_64 (containerized)
- Docker: 20.10.3-1308

Anything else?

No response

ilike2burnthing commented 1 year ago

Posted to the wrong repo.

See - https://github.com/haugene/docker-transmission-openvpn/issues/2409#issuecomment-1360452462