hassio-addons: π [Transmission Openvpn] Transmission client is killed upon VPN restart (because of inactivity)
Which addon?
- Addon name : Transmission Openvpn
- Addon version : 4.0-v10
Describe the bug
When the VPN tries to restart, everything is taken down.
To Reproduce
Wait for the VPN to restart.
Full addon log
Iβm pasting the relevant part of the log. I can post the beginning, if needed.
[22/Aug/2022:14:09:08 +0200] 200 192.168.16.2, 172.30.32.1(172.30.32.2) POST /rpc HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36)
Mon Aug 22 14:16:26 2022 [xyz.somevpn.com] Inactivity timeout (--ping-restart), restarting
Mon Aug 22 14:16:26 2022 SIGTERM received, sending exit notification to peer
Mon Aug 22 14:16:27 2022 /etc/openvpn/tunnelDown.sh tun0 1500 1585 10.8.3.2 255.255.255.0 init
resolv.conf was restored
Sending kill signal to transmission-daemon
Waiting 5s for transmission-daemon to die
Sending kill signal (SIGKILL) to transmission-daemon
Mon Aug 22 14:16:30 2022 /sbin/ip route del [redacted]/32
Mon Aug 22 14:16:30 2022 /sbin/ip route del 0.0.0.0/1
Mon Aug 22 14:16:30 2022 /sbin/ip route del 128.0.0.0/1
Mon Aug 22 14:16:30 2022 Closing TUN/TAP interface
Mon Aug 22 14:16:30 2022 /sbin/ip addr del dev tun0 10.8.3.2/24
Mon Aug 22 14:16:30 2022 SIGTERM[soft,exit-with-notification] received, process exiting
2022/08/22 14:22:48 [error] 720#720: *3726 connect() failed (111: Connection refused) while connecting to upstream, client: 172.30.32.2, server: db21ed7f-transmission-openvpn, request: "GET /web/tr-web-control/script/easyui/locale/easyui-lang-en.js?_=1661170966625 HTTP/1.1", upstream: "http://127.0.0.1:9091/transmission/web/tr-web-control/script/easyui/locale/easyui-lang-en.js?_=1661170966625", host: "192.168.16.103:8123", referrer: "http://192.168.16.103:8123/api/hassio_ingress/fA4Z8Xm1mGT71HBH5mm9EYeMk4T-A9z2ElJhC7rpKYI/web/"
[22/Aug/2022:14:22:48 +0200] 502 192.168.16.2, 172.30.32.1(172.30.32.2) GET /web/tr-web-control/script/easyui/locale/easyui-lang-en.js?_=1661170966625 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36)
2022/08/22 14:22:48 [error] 720#720: *3726 connect() failed (111: Connection refused) while connecting to upstream, client: 172.30.32.2, server: db21ed7f-transmission-openvpn, request: "GET /web/tr-web-control/script/easyui/locale/easyui-lang-en.js?_=1661170966626 HTTP/1.1", upstream: "http://127.0.0.1:9091/transmission/web/tr-web-control/script/easyui/locale/easyui-lang-en.js?_=1661170966626", host: "192.168.16.103:8123", referrer: "http://192.168.16.103:8123/api/hassio_ingress/fA4Z8Xm1mGT71HBH5mm9EYeMk4T-A9z2ElJhC7rpKYI/web/"
[22/Aug/2022:14:22:48 +0200] 502 192.168.16.2, 172.30.32.1(172.30.32.2) GET /web/tr-web-control/script/easyui/locale/easyui-lang-en.js?_=1661170966626 HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36)
Full addon config
DEBUG: false
DNS_server: 8.8.4.4,1.1.1.1
LOCAL_NETWORK: 192.168.0.0/16
OPENVPN_PASSWORD: [redacted]
OPENVPN_USERNAME: [redacted]
PGID: "1000"
PUID: "1000"
TRANSMISSION_DOWNLOAD_DIR: /mnt/shared/transmission/downloads
TRANSMISSION_HOME: /config/addons_config/transmission
TRANSMISSION_INCOMPLETE_DIR: /mnt/shared/transmission/incomplete
TRANSMISSION_WATCH_DIR: /mnt/shared/transmission/watch_dir
TRANSMISSION_WEB_UI: transmission-web-control
OPENVPN_CUSTOM_PROVIDER: true
OPENVPN_CUSTOM_PROVIDER_OVPN_LOCATION: [redacted]
TRANSMISSION_V3_UPDATE: true
cifspassword: [redacted]
cifsusername: [redacted]
networkdisks: //192.168.16.18/shared
System
- Supervisor version: 2022.08.3
- Host system version: 8.4
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 54 (25 by maintainers)
Commits related to this issue
- Auto addon restart https://github.com/alexbelgium/hassio-addons/issues/435 — committed to alexbelgium/hassio-addons by alexbelgium 2 years ago
- https://github.com/alexbelgium/hassio-addons/issues/435 — committed to alexbelgium/hassio-addons by alexbelgium 2 years ago
- https://github.com/alexbelgium/hassio-addons/issues/435 — committed to alexbelgium/hassio-addons by alexbelgium 2 years ago
- Allow API access https://github.com/alexbelgium/hassio-addons/issues/435#issuecomment-1275980577 — committed to alexbelgium/hassio-addons by alexbelgium 2 years ago
- Try root down https://github.com/alexbelgium/hassio-addons/issues/435#issuecomment-1278170296 — committed to alexbelgium/hassio-addons by alexbelgium 2 years ago
- Cron addition https://github.com/alexbelgium/hassio-addons/issues/435 — committed to alexbelgium/hassio-addons by alexbelgium 2 years ago
- Cron job restart https://github.com/alexbelgium/hassio-addons/issues/435 — committed to alexbelgium/hassio-addons by alexbelgium 2 years ago
- Delete previous file https://github.com/alexbelgium/hassio-addons/issues/435 — committed to alexbelgium/hassio-addons by alexbelgium 2 years ago
- Unused file https://github.com/alexbelgium/hassio-addons/issues/435 — committed to alexbelgium/hassio-addons by alexbelgium 2 years ago
- auto_restart addition https://github.com/alexbelgium/hassio-addons/issues/435 — committed to alexbelgium/hassio-addons by alexbelgium 2 years ago
- Add cron https://github.com/alexbelgium/hassio-addons/issues/435 — committed to alexbelgium/hassio-addons by alexbelgium 2 years ago
- Create /vpn_stopped https://github.com/alexbelgium/hassio-addons/issues/435 — committed to alexbelgium/hassio-addons by alexbelgium 2 years ago
- https://github.com/alexbelgium/hassio-addons/issues/435 — committed to alexbelgium/hassio-addons by alexbelgium 2 years ago
- https://github.com/alexbelgium/hassio-addons/issues/435?notification_referrer_id=NT_kwDOAqIdGbM0MjQ1MDk5NjQ1OjQ0MTc4NzEz#issuecomment-1302002325 — committed to alexbelgium/hassio-addons by alexbelgium 2 years ago
Yes, it started properly, this time π
Ah ah ah π Then, I will install
4.0-v41
!Transmission Openvpn Current version: 4.0-v27
Basically, it looks like transmission-daemon is taken down, but never started again.
No more errors but not working anyway π
I see there is a new version of the add-on. Installing now π
Transmission Openvpn Current version: 4.0-v25
What I see in the UI is:
I think the UI is there, but the underlying Transmission is gone π
Will report as soon as anything relevant happens π
Thank you. I upgraded last night. Will post findings π
I canβt answer with absolute certainty. I moved from a Raspberry PI 4B to a VM inside an Intel i5. All I know is I faced it today for the first time π