Docker-transmission-openvpn: Web GUI is not loading

Created on 2 Nov 2020  ·  46Comments  ·  Source: haugene/docker-transmission-openvpn

Describe the problem

I tried to change my vpn over to custom since the PIA nextgen change stopped it from working. transmission seems to be working since I can contact it via sonarr and radarr. It also is processing the downloads but I am unable to access the website.

Add your docker run command

transmission-vpn-radarr:
container_name: transmission-vpn-radarr
image: haugene/transmission-openvpn
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
restart: always
ports:
- "9010:9091"
dns:
- 1.1.1.1
- 1.0.0.1
volumes:
- /etc/localtime:/etc/localtime:ro
- /docker/transmission-vpn-radarr:/data
- /docker/shared-radarr:/shared
- /media/Unicron/Unsorted/radarr:/data/completed
- /media/Unicron/Unsorted/temp:/data/incomplete
- /media/Unicron/Unsorted/watch:/data/watch
- '~/docker/pia/US Chicago.ovpn:/etc/openvpn/custom/default.ovpn'
environment:
- OPENVPN_PROVIDER=CUSTOM
- OPENVPN_USERNAME=*
- OPENVPN_PASSWORD=*
- PUID=1000
- PGID=1004
- TZ=America/Chicago
- TRANSMISSION_RPC_AUTHENTICATION_REQUIRED=true
- TRANSMISSION_RPC_HOST_WHITELIST="127.0.0.1,192.168.."
- TRANSMISSION_RPC_PASSWORD=*
- TRANSMISSION_RPC_USERNAME=**
- TRANSMISSION_UMASK=002
- LOG_TO_STDOUT=true

Logs

2020-11-02T03:07:16.707364161Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197295 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.707371550Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197297 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.707378865Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197300 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.710548261Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197301 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.710578680Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197303 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.710587938Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197292 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.710595583Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197296 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.710603046Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197298 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.710610349Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197299 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.710617701Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197302 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.710624934Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197304 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.710644700Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197305 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711209943Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197306 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711230910Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197309 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711241383Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197310 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711248920Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197313 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711256321Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197316 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711272760Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197318 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711280727Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197320 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711288117Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197307 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711297130Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197308 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711304693Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197322 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711312014Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197311 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711319389Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197312 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711331834Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197314 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711341544Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197323 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711350887Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197315 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711360048Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197326 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711369289Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197317 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711384650Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197319 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711394403Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197328 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711410035Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197321 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711419870Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197324 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711509916Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197325 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711534027Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197327 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711544829Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197329 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711554141Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197331 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711563406Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197330 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711578676Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197332 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711587526Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197333 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711596024Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197334 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711605893Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197335 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711614691Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197336 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711623136Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197337 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711646303Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197338 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:07:16.711655643Z Sun Nov 1 21:07:16 2020 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #197339 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings,
2020-11-02T03:09:34.512221087Z Sun Nov 1 21:09:34 2020 event_wait : Interrupted system call (code=4),
2020-11-02T03:09:34.515136397Z Sun Nov 1 21:09:34 2020 /sbin/ip addr del dev tun0 10.17.112.3/24,
2020-11-02T03:09:34.558367606Z Sun Nov 1 21:09:34 2020 /etc/openvpn/tunnelDown.sh tun0 1500 1558 10.17.112.3 255.255.255.0 init,
2020-11-02T03:09:34.561293811Z Sending kill signal to transmission-daemon,
2020-11-02T03:09:34.568592361Z Sun Nov 1 21:09:34 2020 SIGTERM[hard,] received, process exiting,
2020-11-02T03:09:37.626107527Z mknod: /dev/net/tun: File exists,
2020-11-02T03:09:37.628389269Z Using OpenVPN provider: CUSTOM,
2020-11-02T03:09:37.628648890Z No VPN configuration provided. Using default.,
2020-11-02T03:09:37.628723836Z Setting OpenVPN credentials...,
2020-11-02T03:09:37.707276318Z Sun Nov 1 21:09:37 2020 OpenVPN 2.4.9 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Apr 20 2020,
2020-11-02T03:09:37.707328466Z Sun Nov 1 21:09:37 2020 library versions: OpenSSL 1.1.1g 21 Apr 2020, LZO 2.10,
2020-11-02T03:09:37.707338101Z Sun Nov 1 21:09:37 2020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts,
2020-11-02T03:09:37.709389453Z Sun Nov 1 21:09:37 2020 CRL: loaded 1 CRLs from file [[INLINE]],
2020-11-02T03:09:37.747129060Z Sun Nov 1 21:09:37 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]154.21.23.11:1198,
2020-11-02T03:09:37.747168284Z Sun Nov 1 21:09:37 2020 UDP link local: (not bound),
2020-11-02T03:09:37.747177796Z Sun Nov 1 21:09:37 2020 UDP link remote: [AF_INET]154.21.23.11:1198,
2020-11-02T03:09:37.756206127Z Sun Nov 1 21:09:37 2020 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this,
2020-11-02T03:09:37.831257369Z Sun Nov 1 21:09:37 2020 [chicago411] Peer Connection Initiated with [AF_INET]154.21.23.11:1198,
2020-11-02T03:09:39.048241088Z Sun Nov 1 21:09:39 2020 TUN/TAP device tun0 opened,
2020-11-02T03:09:39.048281513Z Sun Nov 1 21:09:39 2020 /sbin/ip link set dev tun0 up mtu 1500,
2020-11-02T03:09:39.049765258Z Sun Nov 1 21:09:39 2020 /sbin/ip addr add dev tun0 10.7.112.5/24 broadcast 10.7.112.255,
2020-11-02T03:09:39.051114646Z Sun Nov 1 21:09:39 2020 /etc/openvpn/tunnelUp.sh tun0 1500 1558 10.7.112.5 255.255.255.0 init,
2020-11-02T03:09:39.055890785Z Up script executed with tun0 1500 1558 10.7.112.5 255.255.255.0 init,
2020-11-02T03:09:39.055944981Z Updating TRANSMISSION_BIND_ADDRESS_IPV4 to the ip of tun0 : 10.7.112.5,
2020-11-02T03:09:39.058303091Z Updating Transmission settings.json with values from env variables,
2020-11-02T03:09:39.119472861Z Using existing settings.json for Transmission /data/transmission-home/settings.json,
2020-11-02T03:09:39.119499654Z Overriding bind-address-ipv4 because TRANSMISSION_BIND_ADDRESS_IPV4 is set to 10.7.112.5,
2020-11-02T03:09:39.119510311Z Overriding download-dir because TRANSMISSION_DOWNLOAD_DIR is set to /data/completed,
2020-11-02T03:09:39.119519694Z Overriding incomplete-dir because TRANSMISSION_INCOMPLETE_DIR is set to /data/incomplete,
2020-11-02T03:09:39.119528737Z Overriding rpc-authentication-required because TRANSMISSION_RPC_AUTHENTICATION_REQUIRED is set to True,
2020-11-02T03:09:39.119537929Z Overriding rpc-host-whitelist because TRANSMISSION_RPC_HOST_WHITELIST is set to 127.0.0.1,192.168..,
2020-11-02T03:09:39.119546902Z Overriding rpc-password because TRANSMISSION_RPC_PASSWORD is set to *,
2020-11-02T03:09:39.119555793Z Overriding rpc-port because TRANSMISSION_RPC_PORT is set to 9091,
2020-11-02T03:09:39.119564636Z Overriding rpc-username because TRANSMISSION_RPC_USERNAME is set to
***,
2020-11-02T03:09:39.119573534Z Overriding umask because TRANSMISSION_UMASK is set to 2,
2020-11-02T03:09:39.119582367Z Overriding watch-dir because TRANSMISSION_WATCH_DIR is set to /data/watch,
2020-11-02T03:09:39.125588966Z sed'ing True to true,
2020-11-02T03:09:39.137747677Z Enforcing ownership on transmission config directories,
2020-11-02T03:09:39.149670584Z Applying permissions to transmission config directories,
2020-11-02T03:09:39.161066989Z Setting owner for transmission paths to 1000:1004,
2020-11-02T03:09:40.275369665Z Setting permission for files (644) and directories (755),
2020-11-02T03:09:41.251650572Z Setting permission for watch directory (775) and its files (664),
2020-11-02T03:09:41.256204912Z ,
2020-11-02T03:09:41.256224483Z -------------------------------------,
2020-11-02T03:09:41.256235121Z Transmission will run as,
2020-11-02T03:09:41.256244754Z -------------------------------------,
2020-11-02T03:09:41.256253947Z User name: abc,
2020-11-02T03:09:41.256262961Z User uid: 1000,
2020-11-02T03:09:41.256271804Z User gid: 1004,
2020-11-02T03:09:41.256280714Z -------------------------------------,
2020-11-02T03:09:41.256289932Z ,
2020-11-02T03:09:41.256305022Z STARTING TRANSMISSION,
2020-11-02T03:09:41.256786927Z Transmission startup script complete.,
2020-11-02T03:09:41.262112388Z Sun Nov 1 21:09:41 2020 Initialization Sequence Completed,

Host system:

Ubuntu and Docker version 19.03.12, build 48a66213fe

Most helpful comment

I'm getting a similar issue, and when I try to go to the Web GUI I get a 404 error

`404: Not Found
Couldn't find Transmission's web interface files!

Users: to tell Transmission where to look, set the TRANSMISSION_WEB_HOME environment variable to the folder where the web interface's index.html is located.

Package Builders: to set a custom default at compile time, #define PACKAGE_DATA_DIR in libtransmission/platform.c or tweak tr_getClutchDir() by hand.`

All 46 comments

Can you confirm your port setting is correct?
ports:

  • "9010:9091"
    Usually, you will map 9091:9091, unless you have made some custom port/firewall setting change.

Yes that should be right. I have all of my containers in sequential order of ports. I can change that and see if it makes a difference

Can you check if the port is open and visible from the host? Also may need to clear the browser cache. Also, check the Transmission log to see if any error there.

Also the route table by ip r

I'm getting a similar issue, and when I try to go to the Web GUI I get a 404 error

`404: Not Found
Couldn't find Transmission's web interface files!

Users: to tell Transmission where to look, set the TRANSMISSION_WEB_HOME environment variable to the folder where the web interface's index.html is located.

Package Builders: to set a custom default at compile time, #define PACKAGE_DATA_DIR in libtransmission/platform.c or tweak tr_getClutchDir() by hand.`

So interesting update i was able to access the webpage if i use 127.0.0.1 but i cant access it when i use the machines ip

I think there is something not right with your route, can you post that?

this is what i get when looking at the port
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
docker-pr 3489 root 3u IPv6 669375 0t0 TCP localhost.localdomain: 9010->localhost.localdomain:47630 (ESTABLISHED)
docker-pr 3489 root 4u IPv6 543321 0t0 TCP *:9010 (LISTEN)
firefox 4418 USERNAME 149u IPv4 703577 0t0 TCP localhost.localdomain: 47630->localhost.localdomain:9010 (ESTABLISHED)

this is what i get with ip r

default via 192.168.1.1 dev eno1 proto static metric 100
10.8.0.0/24 via 10.8.0.2 dev tun0
10.8.0.2 dev tun0 proto kernel scope link src 10.8.0.1
169.254.0.0/16 dev eno1 scope link metric 1000
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
172.18.0.0/16 dev br-ba52da89578f proto kernel scope link src 172.18.0.1
192.168.1.0/24 dev eno1 proto kernel scope link src 192.168.1.4 metric 100

try -> ip r get host ip

try -> ip r get host ip

Error: any valid prefix is expected rather than "host".

this was my result

replace host ip by the actual host ip, eg 192.168.x.x , I can't get <> work on the GitHub editor for some reason

ah my bad

local 192.168.1.4 dev lo src 192.168.1.4 uid 1000
cache

result of ip addr,
I think it is routing it to the loopback dev

1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 100 0
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: mtu 1500 qdisc mq state UP group default qlen 1 000
link/ether 84:2b:2b:47:83:a5 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.4/24 brd 192.168.1.255 scope global noprefixroute eno1
valid_lft forever preferred_lft forever
inet6 fe80::85cc:63a8:c0fa:db85/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: eno2: mtu 1500 qdisc mq state DOWN group default ql en 1000
link/ether 84:2b:2b:47:83:a7 brd ff:ff:ff:ff:ff:ff
4: eno3: mtu 1500 qdisc mq state DOWN group default ql en 1000
link/ether 84:2b:2b:47:83:a9 brd ff:ff:ff:ff:ff:ff
5: eno4: mtu 1500 qdisc mq state DOWN group default ql en 1000
link/ether 84:2b:2b:47:83:ab brd ff:ff:ff:ff:ff:ff
6: tun0: mtu 1500 qdisc fq_codel state UNKNOWN g roup default qlen 100
link/none
inet 10.8.0.1 peer 10.8.0.2/32 scope global tun0
valid_lft forever preferred_lft forever
inet6 fe80::87b7:34e2:6e38:9746/64 scope link stable-privacy
valid_lft forever preferred_lft forever
7: br-ba52da89578f: mtu 1500 qdisc noqueue state UP grou p default
link/ether 02:42:89:0d:a1:82 brd ff:ff:ff:ff:ff:ff
inet 172.18.0.1/16 brd 172.18.255.255 scope global br-ba52da89578f
valid_lft forever preferred_lft forever
inet6 fe80::42:89ff:fe0d:a182/64 scope link
valid_lft forever preferred_lft forever
8: docker0: mtu 1500 qdisc noqueue state DOWN group de fault
link/ether 02:42:85:ed:d2:6c brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
valid_lft forever preferred_lft forever
10: veth01ae691@if9: mtu 1500 qdisc noqueue master br-ba 52da89578f state UP group default
link/ether 72:ea:5d:1a:80:96 brd ff:ff:ff:ff:ff:ff link-netnsid 2
inet6 fe80::70ea:5dff:fe1a:8096/64 scope link
valid_lft forever preferred_lft forever
12: vethffb5dc2@if11: mtu 1500 qdisc noqueue master br-b a52da89578f state UP group default
link/ether 5e:27:00:6f:87:f8 brd ff:ff:ff:ff:ff:ff link-netnsid 3
inet6 fe80::5c27:ff:fe6f:87f8/64 scope link
valid_lft forever preferred_lft forever
16: veth8c8e49f@if15: mtu 1500 qdisc noqueue master br-b a52da89578f state UP group default
link/ether 86:8d:d0:1b:90:36 brd ff:ff:ff:ff:ff:ff link-netnsid 1
inet6 fe80::848d:d0ff:fe1b:9036/64 scope link
valid_lft forever preferred_lft forever
18: veth12b1ee7@if17: mtu 1500 qdisc noqueue master br-b a52da89578f state UP group default
link/ether 9e:d0:c3:93:b2:ac brd ff:ff:ff:ff:ff:ff link-netnsid 5
inet6 fe80::9cd0:c3ff:fe93:b2ac/64 scope link
valid_lft forever preferred_lft forever
20: veth42d977d@if19: mtu 1500 qdisc noqueue master br-b a52da89578f state UP group default
link/ether 7e:dc:f2:80:14:03 brd ff:ff:ff:ff:ff:ff link-netnsid 7
inet6 fe80::7cdc:f2ff:fe80:1403/64 scope link
valid_lft forever preferred_lft forever
22: vetha28c7a3@if21: mtu 1500 qdisc noqueue master br-b a52da89578f state UP group default
link/ether ca:d7:3c:95:4d:7f brd ff:ff:ff:ff:ff:ff link-netnsid 6
inet6 fe80::c8d7:3cff:fe95:4d7f/64 scope link
valid_lft forever preferred_lft forever
24: vethfdab325@if23: mtu 1500 qdisc noqueue master br-b a52da89578f state UP group default
link/ether aa:aa:fe:21:c1:a1 brd ff:ff:ff:ff:ff:ff link-netnsid 9
inet6 fe80::a8aa:feff:fe21:c1a1/64 scope link
valid_lft forever preferred_lft forever
26: vethec1009c@if25: mtu 1500 qdisc noqueue master br-b a52da89578f state UP group default
link/ether 9e:78:dc:db:38:04 brd ff:ff:ff:ff:ff:ff link-netnsid 10
inet6 fe80::9c78:dcff:fedb:3804/64 scope link
valid_lft forever preferred_lft forever
28: vethb876386@if27: mtu 1500 qdisc noqueue master br-b a52da89578f state UP group default
link/ether 4e:16:4c:66:e1:e7 brd ff:ff:ff:ff:ff:ff link-netnsid 4
inet6 fe80::4c16:4cff:fe66:e1e7/64 scope link
valid_lft forever preferred_lft forever
30: veth4e9d842@if29: mtu 1500 qdisc noqueue master br-b a52da89578f state UP group default
link/ether b6:e1:73:89:c5:27 brd ff:ff:ff:ff:ff:ff link-netnsid 8
inet6 fe80::b4e1:73ff:fe89:c527/64 scope link
valid_lft forever preferred_lft forever
32: vethe8a4d9a@if31: mtu 1500 qdisc noqueue master br-b a52da89578f state UP group default
link/ether b2:f6:a4:09:ab:42 brd ff:ff:ff:ff:ff:ff link-netnsid 11
inet6 fe80::b0f6:a4ff:fe09:ab42/64 scope link
valid_lft forever preferred_lft forever
34: veth647f2ee@if33: mtu 1500 qdisc noqueue master br-b a52da89578f state UP group default
link/ether f2:e5:2d:5f:06:8c brd ff:ff:ff:ff:ff:ff link-netnsid 12
inet6 fe80::f0e5:2dff:fe5f:68c/64 scope link
valid_lft forever preferred_lft forever

Are you issuing at the host level instead of inside the container?

these commands are from inside the host

please try to issue it inside the container

ash-5.0# ip addr
1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: tun0: mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100
link/none
inet 10.7.112.3/24 brd 10.7.112.255 scope global tun0
valid_lft forever preferred_lft forever
33: eth0@if34: mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:ac:12:00:04 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 172.18.0.4/16 brd 172.18.255.255 scope global eth0
valid_lft forever preferred_lft forever
bash-5.0# ip r get 192.168.1.4
192.168.1.4 via 10.7.112.1 dev tun0 src 10.7.112.3 uid 0
cache

docker ps | grep haugene in host
ip r in container
ip r get 172.18.0.1 in container

docker ps | grep haugene
1ad62e5978df haugene/transmission-openvpn "dumb-init /etc/open…" 40 minutes ago Up 40 minutes (healthy) 0.0.0.0:9010->9091/tcp transmission-vpn-radarr
4e7342a09144 haugene/transmission-openvpn "dumb-init /etc/open…" 4 hours ago Up 3 hours (healthy) 0.0.0.0:9009->9091/tcp transmission-vpn-sonarr

bash-5.0# ip r
0.0.0.0/1 via 10.7.112.1 dev tun0
default via 172.18.0.1 dev eth0
10.7.112.0/24 dev tun0 proto kernel scope link src 10.7.112.3
128.0.0.0/1 via 10.7.112.1 dev tun0
154.21.114.151 via 172.18.0.1 dev eth0
172.18.0.0/16 dev eth0 proto kernel scope link src 172.18.0.4
bash-5.0# ip r get 172.18.0.1
172.18.0.1 dev eth0 src 172.18.0.4 uid 0
cache
bash-5.0#

In the browser what url are you using to access the GUI?

http://192.168.1.4:9010/transmission/web/#confirm

try just ->192.168.1.4:9010
And the page does not load?

192.168.1.4:9010

That is correct it does not load.

What is the host? VM/Raspberry pi, etc?

its a full ubuntu server

But 127.0.0.1:9010 works ok?

on that server it does work. obviously doesn't work from another computer on the same network.

docker network ls

NETWORK ID NAME DRIVER SCOPE
65fa68f5e5e6 bridge bridge local
ba52da89578f docker_default bridge local
56e5deee883f host host local
2c581d7da087 none null local

docker inspect 65fa68f5e5e6

docker inspect ba52da89578f

docker inspect 65fa68f5e5e6
[
{
"Name": "bridge",
"Id": "65fa68f5e5e6bc15b9f9398e41327c3bd2c0c9da5f377643ac841e830c68666a",
"Created": "2020-11-02T23:35:46.799392622Z",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.17.0.0/16",
"Gateway": "172.17.0.1"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {},
"Options": {
"com.docker.network.bridge.default_bridge": "true",
"com.docker.network.bridge.enable_icc": "true",
"com.docker.network.bridge.enable_ip_masquerade": "true",
"com.docker.network.bridge.host_binding_ipv4": "0.0.0.0",
"com.docker.network.bridge.name": "docker0",
"com.docker.network.driver.mtu": "1500"
},
"Labels": {}
}
]

docker inspect ba52da89578f
[
{
"Name": "docker_default",
"Id": "ba52da89578f055556ae35a2065d3b37f417bac227ec1995bbc12bc3cd42f26f",
"Created": "2019-09-18T03:55:24.771317904Z",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.18.0.0/16",
"Gateway": "172.18.0.1"
}
]
},
"Internal": false,
"Attachable": true,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {
"1ad62e5978df84b2f91153e7681a03632211f02d1d11b57c3fc0b2a26274a644": {
"Name": "transmission-vpn-radarr",
"EndpointID": "a2ea36283661945e0d72a8273a58b036079667a6d74e30177a4271345873c9c3",
"MacAddress": "02:42:ac:12:00:04",
"IPv4Address": "172.18.0.4/16",
"IPv6Address": ""
},
"37c54302c4d20e3421ed147a32414286569eec9a53a4707b752f903b8a7f82dd": {
"Name": "organizr",
"EndpointID": "b5f29161aef6688853190334f74a5c14919ede5aa5140e4c90f440631e2e630d",
"MacAddress": "02:42:ac:12:00:08",
"IPv4Address": "172.18.0.8/16",
"IPv6Address": ""
},
"4e7342a091444569841b1bee1e25d10f4cd7d6b6dc6e7590ca7d72f7656e4e8a": {
"Name": "transmission-vpn-sonarr",
"EndpointID": "8df78b87f813171addb20cca1b7ea43217a38ba527d063ee37d332de5c1de9bd",
"MacAddress": "02:42:ac:12:00:05",
"IPv4Address": "172.18.0.5/16",
"IPv6Address": ""
},
"75516b4892203d2f3eeed385abc66419f52eccb9bda5a3e97bf9474c06389efa": {
"Name": "radarr",
"EndpointID": "59f3ed85570bb383eed792c5325720051ef20ba70ce74568d1457a979e19f373",
"MacAddress": "02:42:ac:12:00:0b",
"IPv4Address": "172.18.0.11/16",
"IPv6Address": ""
},
"9f287ed92b2782223b24f8d76db662e643f322f55bc27a03f1c29cf0e35dfc34": {
"Name": "watchtower",
"EndpointID": "c90629e7e646c2b0ab815c491430cf7a0aa81bcd2595b56ccd2d93aa5d4a2b9e",
"MacAddress": "02:42:ac:12:00:02",
"IPv4Address": "172.18.0.2/16",
"IPv6Address": ""
},
"aec946b0e8d63f9f0b07839ceb27cf38ed80446a94be7a7b3f7f7ad03a4e531e": {
"Name": "bazarr",
"EndpointID": "33e8e1ba620b6a87aca7001d5320d1d2160da5b67f884f3fc2054b39aa0f6a55",
"MacAddress": "02:42:ac:12:00:07",
"IPv4Address": "172.18.0.7/16",
"IPv6Address": ""
},
"b219b3237036c1f8a23c6c0c58c03497f447bb68585b33cdb42a171f25a07e7b": {
"Name": "ombi",
"EndpointID": "506b7fcb8bc687c1c3ca5f7f701104f865512b5262ebbb3ea3698f0b60d4d026",
"MacAddress": "02:42:ac:12:00:0c",
"IPv4Address": "172.18.0.12/16",
"IPv6Address": ""
},
"b55dcf0cc6e856a947d414b20b6520816d7f054ba2c37a2158fe69b329ca4f3f": {
"Name": "sonarr",
"EndpointID": "23e3fcaffa194f075329aa0a2dd51e95511d12bceec8cc54bc84456ca9c71237",
"MacAddress": "02:42:ac:12:00:0a",
"IPv4Address": "172.18.0.10/16",
"IPv6Address": ""
},
"b88a34cb3d15f7679ae443c11a12de5ab02007bffa743f0ef4e3533481e7134d": {
"Name": "portainer",
"EndpointID": "70ba41c1bf4feea700ab9e18cb8a03dcdae0f2f203f0124af9632837270190d1",
"MacAddress": "02:42:ac:12:00:06",
"IPv4Address": "172.18.0.6/16",
"IPv6Address": ""
},
"cc2ef0c49c7a04e7e162c6977780cc9fdc5bbf262dcbc5ef9a22e6c716ab5048": {
"Name": "jackett",
"EndpointID": "5ea862312c7e51d22372940c15c2b30a2a4f823f075867c5a636190b47523619",
"MacAddress": "02:42:ac:12:00:09",
"IPv4Address": "172.18.0.9/16",
"IPv6Address": ""
},
"ed712e9b4e87e6e1cd8c17fa4ea318bed04cebd2e4cbd73f5ffa5fe85f12452b": {
"Name": "tautulli",
"EndpointID": "af6e2208330dca882a59e6b4513f03e56960edc7b435e3231228ac47bd9971ef",
"MacAddress": "02:42:ac:12:00:03",
"IPv4Address": "172.18.0.3/16",
"IPv6Address": ""
},
"f2123d0c720223edc8558918ffb151e37ac833511d4a61673597ebf86da13ab4": {
"Name": "homeassistant",
"EndpointID": "6f49cd6b73eac4737ff6caa178aa4908e08bac3e3726ffeb97381abcf98481e8",
"MacAddress": "02:42:ac:12:00:0d",
"IPv4Address": "172.18.0.13/16",
"IPv6Address": ""
}
},
"Options": {},
"Labels": {
"com.docker.compose.network": "default",
"com.docker.compose.project": "docker",
"com.docker.compose.version": "1.24.1"
}
}
]

iptables -L

Do other containers accessible on LAN?

@mjw210 Please always post your docker run command or docker-compose file when describing an error, preferably logs too. Without it it's impossible to mean much about what is wrong in your setup.

@drenfro87 You have no LOCAL_NETWORK setting? And you're trying to access the container directly? You either need to open an IP range that is deemed as "safe" for non-vpn traffic (ie. the LOCAL_NETWORK) or else you won't be able to communicate with Transmission because all packets going to the local lan will be caught by the ip routing rules and sent out through the tun0 interface. Try setting LOCAL_NETWORK=192.168.0.0/16?

@mjw210 since my last pull over the weekend, I get Web GUI failure the same as you, nothing else has changed on my end for years:

404: Not Found
Couldn't find Transmission's web interface files!

Users: to tell Transmission where to look, set the TRANSMISSION_WEB_HOME environment variable to the folder where the web interface's index.html is located.

Package Builders: to set a custom default at compile time, #define PACKAGE_DATA_DIR in libtransmission/platform.c or tweak tr_getClutchDir() by hand.

I've rolled back to tag 2.14 for now.

@haugene - Attached my JSON file (running in Docker on a 918+) and associated logs. I have not changed any settings, but I did update the container.

Transmission_Log.pdf
Transmission.syno.json.txt

try to add the route for the local network and see if this help -> ip r add 192.168.0.0/24 via 172.18.0.1 dev eth0
Didn't catch the LOCAL_NETWORK=192.168.0.0/16 was missing

Since updating, I have the same issue. Route for local network is in place, never had any issues before.

Transmission WI displays:

404: Not Found
Couldn't find Transmission's web interface files!

Users: to tell Transmission where to look, set the TRANSMISSION_WEB_HOME environment variable to the folder where the web interface's index.html is located.

Package Builders: to set a custom default at compile time, #define PACKAGE_DATA_DIR in libtransmission/platform.c or tweak tr_getClutchDir () by hand.

@RickyXwang Not sure if that comment was for me, but it did not seem to do anything. I received a "Network Unreachable" error with that command.

I also noticed that a new version was pushed, but again no impact on the WebGUI issue. Same logs as I previously posted.

@RickyXwang Not sure if that comment was for me, but it did not seem to do anything. I received a "Network Unreachable" error with that command.

I also noticed that a new version was pushed, but again no impact on the WebGUI issue. Same logs as I previously posted.

No, that's for @drenfro87
I will take a look at your log in a bit and see if I can help.

Aha. I see from your container .json @mjw210 that you have set the TRANSMISSION_WEB_HOME to "".

      {
         "key" : "TRANSMISSION_WEB_HOME",
         "value" : ""
      },

You need to unset this variable. There are many variables that were a part of the old versions of the image that is no longer needed because we've changed the way we handle the transmission settings.

It might/should work by just removing this variable. But if you have time and opportunity I would remove the container and re-create it so you can get rid of a lot of unused settings. Overriding it might cause issues later.

@mjw210 Please always post your docker run command or docker-compose file when describing an error, preferably logs too. Without it it's impossible to mean much about what is wrong in your setup.

@drenfro87 You have no LOCAL_NETWORK setting? And you're trying to access the container directly? You either need to open an IP range that is deemed as "safe" for non-vpn traffic (ie. the LOCAL_NETWORK) or else you won't be able to communicate with Transmission because all packets going to the local lan will be caught by the ip routing rules and sent out through the tun0 interface. Try setting LOCAL_NETWORK=192.168.0.0/16?

This fixed my issue. Thank You!

Glad you got it working @drenfro87 :clap:

I think the issues of @mjw210 @theincredibleman and @planetrocky will be fixed by removing TRANSMISSION_WEB_HOME as I commented above. Once one or more confirm, feel free to close this issue. Or I'll do it later :smile:

There's been a bunch of issues after upgrading to 3.x so I'm trying to work through them. I do have high hopes that it will be worth it in the long run though :crossed_fingers:

@haugene I can confirm that removing TRANSMISSION_WEB_HOME fixes the fault that I was seeing.

Tested with a container built with pulling tag latest just now.

@haugene, yup, that did it 👏
Thanks for all the hard work, absolute great project!

@haugene that helped on my end as well, thanks!

Seems you've all got it settled then :tada:
Closing this.

Was this page helpful?
0 / 5 - 0 ratings