-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Inactivity #2898
Comments
I have started seeing the same thing : restart of the container because of inactivity timeout: |
Same - was working fine until very recently. Now constant inactivity timeouts and restarts |
The TORGUARD configurations over on https://github.com/haugene/vpn-configs-contrib/tree/main/openvpn/torguard seem to be two years old. Perhaps its worthwhile to download new configs and try one of them. I think this is an easy way. |
Is there a pinned issue for this?
Is there an existing or similar issue/discussion for this?
Is there any comment in the documentation for this?
Is this related to a provider?
Are you using the latest release?
Have you tried using the dev branch latest?
Docker run config used
{
"Id": "056ebfcf69b2f898006d5d401c41e6db8a489eb4120b06b2812478d25af36408",
"Created": "2024-11-29T04:34:48.064719877Z",
"Path": "dumb-init",
"Args": [
"/etc/openvpn/start.sh"
],
"State": {
"Status": "exited",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 0,
"Error": "",
"StartedAt": "2024-11-29T04:35:02.616501925Z",
"FinishedAt": "2024-11-29T04:36:03.617103759Z",
"Health": {
"Status": "unhealthy",
"FailingStreak": 1,
"Log": [
{
"Start": "2024-11-29T04:36:02.708326258Z",
"End": "2024-11-29T04:36:03.616789092Z",
"ExitCode": 137,
"Output": "PING google.com (172.217.1.110) 56(84) bytes of data.\n64 bytes from mia09s17-in-f14.1e100.net (172.217.1.110): icmp_seq=1 ttl=63 time=17.4 ms\n"
}
]
}
},
"Image": "sha256:a128b49e29379895c5815e8bea3c1b5eb42ccbef4ab9e5109a72b97d8fd7c0b0",
"ResolvConfPath": "/var/lib/docker/containers/056ebfcf69b2f898006d5d401c41e6db8a489eb4120b06b2812478d25af36408/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/056ebfcf69b2f898006d5d401c41e6db8a489eb4120b06b2812478d25af36408/hostname",
"HostsPath": "/var/lib/docker/containers/056ebfcf69b2f898006d5d401c41e6db8a489eb4120b06b2812478d25af36408/hosts",
"LogPath": "/var/lib/docker/containers/056ebfcf69b2f898006d5d401c41e6db8a489eb4120b06b2812478d25af36408/056ebfcf69b2f898006d5d401c41e6db8a489eb4120b06b2812478d25af36408-json.log",
"Name": "/inspiring_maxwell",
"RestartCount": 0,
"Driver": "overlayfs",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"addce6812141337de53b00a1b3d737230b81da4637cb51017d960a970100bea9:/data",
"43d0fefceeb72a92603bc54d10120ec14c84abb0773ca0544dde10b216344b2f:/config"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "bridge",
"PortBindings": {},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"ConsoleSize": [
0,
0
],
"CapAdd": [
"AUDIT_WRITE",
"CHOWN",
"DAC_OVERRIDE",
"FOWNER",
"FSETID",
"KILL",
"MKNOD",
"NET_BIND_SERVICE",
"NET_RAW",
"SETFCAP",
"SETGID",
"SETPCAP",
"SETUID",
"SYS_CHROOT"
],
"CapDrop": [
"AUDIT_CONTROL",
"BLOCK_SUSPEND",
"DAC_READ_SEARCH",
"IPC_LOCK",
"IPC_OWNER",
"LEASE",
"LINUX_IMMUTABLE",
"MAC_ADMIN",
"MAC_OVERRIDE",
"NET_ADMIN",
"NET_BROADCAST",
"SYSLOG",
"SYS_ADMIN",
"SYS_BOOT",
"SYS_MODULE",
"SYS_NICE",
"SYS_PACCT",
"SYS_PTRACE",
"SYS_RAWIO",
"SYS_RESOURCE",
"SYS_TIME",
"SYS_TTY_CONFIG",
"WAKE_ALARM"
],
"CgroupnsMode": "private",
"Dns": [],
"DnsOptions": null,
"DnsSearch": null,
"ExtraHosts": [],
"GroupAdd": null,
"IpcMode": "private",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DeviceCgroupRules": null,
"DeviceRequests": [],
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": null,
"PidsLimit": null,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware",
"/sys/devices/virtual/powercap"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
],
"Init": false
},
"GraphDriver": {
"Data": null,
"Name": "overlayfs"
},
"Mounts": [
{
"Type": "volume",
"Name": "addce6812141337de53b00a1b3d737230b81da4637cb51017d960a970100bea9",
"Source": "/var/lib/docker/volumes/addce6812141337de53b00a1b3d737230b81da4637cb51017d960a970100bea9/_data",
"Destination": "/data",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
},
{
"Type": "volume",
"Name": "43d0fefceeb72a92603bc54d10120ec14c84abb0773ca0544dde10b216344b2f",
"Source": "/var/lib/docker/volumes/43d0fefceeb72a92603bc54d10120ec14c84abb0773ca0544dde10b216344b2f/_data",
"Destination": "/config",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
}
],
"Config": {
"Hostname": "98aa41f0b0b0",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"8118/tcp": {},
"9091/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"OPENVPN_USERNAME=xxxxx",
"OPENVPN_PASSWORD=xxxxx",
"OPENVPN_PROVIDER=TORGUARD",
"OPENVPN_OPTS=",
"GLOBAL_APPLY_PERMISSIONS=true",
"TRANSMISSION_HOME=/config/transmission-home",
"TRANSMISSION_RPC_PORT=9091",
"TRANSMISSION_RPC_USERNAME=",
"TRANSMISSION_RPC_PASSWORD=",
"TRANSMISSION_DOWNLOAD_DIR=/data/completed",
"TRANSMISSION_INCOMPLETE_DIR=/data/incomplete",
"TRANSMISSION_WATCH_DIR=/data/watch",
"CREATE_TUN_DEVICE=true",
"ENABLE_UFW=false",
"UFW_ALLOW_GW_NET=false",
"UFW_EXTRA_PORTS=",
"UFW_DISABLE_IPTABLES_REJECT=false",
"PUID=",
"PGID=",
"PEER_DNS=true",
"PEER_DNS_PIN_ROUTES=true",
"DROP_DEFAULT_ROUTE=",
"WEBPROXY_ENABLED=false",
"WEBPROXY_PORT=8118",
"WEBPROXY_USERNAME=",
"WEBPROXY_PASSWORD=",
"LOG_TO_STDOUT=false",
"HEALTH_CHECK_HOST=google.com",
"SELFHEAL=false",
"REVISION=07f5a2b9aea5028c9bb75438c1552708e91dde71",
"OPENVPN_CONFIG=Canada.Toronto"
],
"Cmd": [
"dumb-init",
"/etc/openvpn/start.sh"
],
"Healthcheck": {
"Test": [
"CMD-SHELL",
"/etc/scripts/healthcheck.sh"
],
"Interval": 60000000000
},
"Image": "haugene/transmission-openvpn:latest",
"Volumes": {
"/config": {},
"/data": {}
},
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"autoheal": "true",
"org.opencontainers.image.created": "2023-12-08T06:59:27.249Z",
"org.opencontainers.image.description": "Docker container running Transmission torrent client with WebUI over an OpenVPN tunnel",
"org.opencontainers.image.licenses": "GPL-3.0",
"org.opencontainers.image.ref.name": "ubuntu",
"org.opencontainers.image.revision": "07f5a2b9aea5028c9bb75438c1552708e91dde71",
"org.opencontainers.image.source": "https://github.com/haugene/docker-transmission-openvpn",
"org.opencontainers.image.title": "docker-transmission-openvpn",
"org.opencontainers.image.url": "https://github.com/haugene/docker-transmission-openvpn",
"org.opencontainers.image.version": "5.3.1"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "",
"SandboxKey": "",
"Ports": {},
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"bridge": {
"IPAMConfig": {},
"Links": null,
"Aliases": null,
"MacAddress": "",
"DriverOpts": null,
"NetworkID": "802c748315345a847cb001bb37214635d487fa3951b35344af75d3c6f71d5ff2",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"DNSNames": null
}
}
}
}
Current Behavior
It connects to the IP the login is current
Expected Behavior
To connect and not force close.
How have you tried to solve the problem?
Tried rebuilding with and without config for toronto
Log output
2024-11-28 22:35:02 Starting container with revision: 07f5a2b
2024-11-28 22:35:02 TRANSMISSION_HOME is currently set to: /config/transmission-home
2024-11-28 22:35:02 Creating TUN device /dev/net/tun
2024-11-28 22:35:02 Using OpenVPN provider: TORGUARD
2024-11-28 22:35:02 Running with VPN_CONFIG_SOURCE auto
2024-11-28 22:35:02 No bundled config script found for TORGUARD. Defaulting to external config
2024-11-28 22:35:02 Will get configs from https://github.com/haugene/vpn-configs-contrib.git
2024-11-28 22:35:02 Repository is already cloned, checking for update
2024-11-28 22:35:03 Already up to date.
2024-11-28 22:35:03 Already on 'main'
2024-11-28 22:35:03 Your branch is up to date with 'origin/main'.
2024-11-28 22:35:03 Found configs for TORGUARD in /config/vpn-configs-contrib/openvpn/torguard, will replace current content in /etc/openvpn/torguard
2024-11-28 22:35:03 Starting OpenVPN using config Canada.Toronto.ovpn
2024-11-28 22:35:03 Modifying /etc/openvpn/torguard/Canada.Toronto.ovpn for best behaviour in this container
2024-11-28 22:35:03 Modification: Point auth-user-pass option to the username/password file
2024-11-28 22:35:03 Modification: Change ca certificate path
2024-11-28 22:35:03 Modification: Change ping options
2024-11-28 22:35:03 Modification: Update/set resolv-retry to 15 seconds
2024-11-28 22:35:03 Modification: Change tls-crypt keyfile path
2024-11-28 22:35:03 Modification: Set output verbosity to 3
2024-11-28 22:35:03 Modification: Remap SIGUSR1 signal to SIGTERM, avoid OpenVPN restart loop
2024-11-28 22:35:03 Modification: Updating status for config failure detection
2024-11-28 22:35:03 Setting OpenVPN credentials...
2024-11-28 22:35:03 2024-11-29 04:35:03 DEPRECATED OPTION: ncp-disable. Disabling cipher negotiation is a deprecated debug feature that will be removed in OpenVPN 2.6
2024-11-28 22:35:03 2024-11-29 04:35:03 OpenVPN 2.5.9 aarch64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 29 2023
2024-11-28 22:35:03 2024-11-29 04:35:03 library versions: OpenSSL 3.0.2 15 Mar 2022, LZO 2.10
2024-11-28 22:35:03 2024-11-29 04:35:03 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2024-11-28 22:35:03 2024-11-29 04:35:03 Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
2024-11-28 22:35:03 2024-11-29 04:35:03 Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
2024-11-28 22:35:03 2024-11-29 04:35:03 TCP/UDP: Preserving recently used remote address: [AF_INET]146.70.137.2:1912
2024-11-28 22:35:03 2024-11-29 04:35:03 Socket Buffers: R=[212992->425984] S=[212992->425984]
2024-11-28 22:35:03 2024-11-29 04:35:03 UDP link local: (not bound)
2024-11-28 22:35:03 2024-11-29 04:35:03 UDP link remote: [AF_INET]146.70.137.2:1912
2024-11-28 22:36:03 2024-11-29 04:36:03 [UNDEF] Inactivity timeout (--ping-exit), exiting
2024-11-28 22:36:03 2024-11-29 04:36:03 SIGTERM[soft,ping-exit] received, process exiting
HW/SW Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: