Docker-transmission-openvpn: Error: portTested: http error 0: No Response

Created on 3 Oct 2018  路  4Comments  路  Source: haugene/docker-transmission-openvpn

Hi all,

I want to run the package on my Synology Diskstation DS918+ and PIA.

I followed the manual, but do get the following error message:
Error: portTested: http error 0: No Response
(full error message below)

I used the configuration as described in the manual:

docker run \
          --cap-add=NET_ADMIN \
          --device=/dev/net/tun \
          -d \
          -v /volume1/system/tun/resolv.conf:/etc/resolv.conf \
          -v /volume1/docker/torrents/:/data \
          -e "OPENVPN_PROVIDER=PIA" \
          -e "OPENVPN_CONFIG=Switzerland" \
          -e "OPENVPN_USERNAME=XXXXX" \
          -e "OPENVPN_PASSWORD=XXXXX" \
          -e "LOCAL_NETWORK=192.168.0.0/24" \
          -e "OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60" \
          -e "PGID=100" \
          -e "PUID=1234" \
          -p 9091:9091 \
          -p 8888:8888 \
          --sysctl net.ipv6.conf.all.disable_ipv6=0 \
          --name "transmission-openvpn-syno" \
          haugene/transmission-openvpn:latest

and the file resolv.conf looks like this:

nameserver 8.8.8.8
nameserver 8.8.4.4

I saw that there's a similar closed issue here, but I do have the link to the nameservers, so I'm not sure why it's not working for me.
Any help is appreciated.

`

date | stream | content
-- | -- | --
2018-10-03聽10:29:21 | stdout | Error:聽portTested:聽http聽error聽0:聽No聽Response
2018-10-03聽10:29:11 | stdout | Checking聽port...
2018-10-03聽10:29:11 | stdout | localhost:9091/transmission/rpc/聽responded:聽"success"
2018-10-03聽10:29:11 | stdout | transmission聽auth聽not聽required
2018-10-03聽10:29:11 | stdout | Got聽new聽port聽33786聽from聽PIA
2018-10-03聽10:29:10 | stdout | Generating聽new聽client聽id聽for聽PIA
2018-10-03聽10:28:55 | stdout | Wait聽for聽tunnel聽to聽be聽fully聽initialized聽and聽PIA聽is聽ready聽to聽give聽us聽a聽port
2018-10-03聽10:28:55 | stdout | Wed聽Oct聽聽3聽10:28:55聽2018聽Initialization聽Sequence聽Completed
2018-10-03聽10:28:55 | stdout | Transmission聽startup聽script聽complete.
2018-10-03聽10:28:55 | stdout | CONFIGURING聽PORT聽FORWARDING
2018-10-03聽10:28:55 | stdout | STARTING聽TRANSMISSION
2018-10-03聽10:28:55 | stdout | 聽
2018-10-03聽10:28:55 | stdout | -------------------------------------
2018-10-03聽10:28:55 | stdout | User聽gid:聽聽聽聽100
2018-10-03聽10:28:55 | stdout | User聽uid:聽聽聽聽1234
2018-10-03聽10:28:55 | stdout | User聽name:聽聽聽abc
2018-10-03聽10:28:55 | stdout | -------------------------------------
2018-10-03聽10:28:55 | stdout | Transmission聽will聽run聽as
2018-10-03聽10:28:55 | stdout | -------------------------------------
2018-10-03聽10:28:55 | stdout | 聽
2018-10-03聽10:28:55 | stdout | Applying聽permissions聽to聽transmission聽config聽directories
2018-10-03聽10:28:55 | stdout | Enforcing聽ownership聽on聽transmission聽config聽directories
2018-10-03聽10:28:54 | stdout | sed'ing聽True聽to聽true
2018-10-03聽10:28:54 | stdout | Generating聽transmission聽settings.json聽from聽env聽variables
2018-10-03聽10:28:54 | stdout | Updating聽TRANSMISSION_BIND_ADDRESS_IPV4聽to聽the聽ip聽of聽tun0聽:聽10.25.10.6
2018-10-03聽10:28:54 | stdout | Up聽script聽executed聽with聽tun0聽1500聽1558聽10.25.10.6聽10.25.10.5聽init
2018-10-03聽10:28:54 | stdout | Wed聽Oct聽聽3聽10:28:54聽2018聽/etc/openvpn/tunnelUp.sh聽tun0聽1500聽1558聽10.25.10.6聽10.25.10.5聽init
2018-10-03聽10:28:54 | stdout | Wed聽Oct聽聽3聽10:28:54聽2018聽/sbin/ip聽addr聽add聽dev聽tun0聽local聽10.25.10.6聽peer聽10.25.10.5
2018-10-03聽10:28:54 | stdout | Wed聽Oct聽聽3聽10:28:54聽2018聽/sbin/ip聽link聽set聽dev聽tun0聽up聽mtu聽1500
2018-10-03聽10:28:54 | stdout | Wed聽Oct聽聽3聽10:28:54聽2018聽do_ifconfig,聽tt->did_ifconfig_ipv6_setup=0
2018-10-03聽10:28:54 | stdout | Wed聽Oct聽聽3聽10:28:54聽2018聽TUN/TAP聽device聽tun0聽opened
2018-10-03聽10:28:53 | stdout | Wed聽Oct聽聽3聽10:28:53聽2018聽[84c3c1a24fa3d3a94b751a767d024efb]聽Peer聽Connection聽Initiated聽with聽[AF_INET]82.102.24.252:1198
2018-10-03聽10:28:53 | stdout | Wed聽Oct聽聽3聽10:28:53聽2018聽WARNING:聽this聽configuration聽may聽cache聽passwords聽in聽memory聽--聽use聽the聽auth-nocache聽option聽to聽prevent聽this
2018-10-03聽10:28:53 | stdout | Wed聽Oct聽聽3聽10:28:53聽2018聽UDP聽link聽remote:聽[AF_INET]82.102.24.252:1198
2018-10-03聽10:28:53 | stdout | Wed聽Oct聽聽3聽10:28:53聽2018聽UDP聽link聽local:聽(not聽bound)
2018-10-03聽10:28:53 | stdout | Wed聽Oct聽聽3聽10:28:53聽2018聽TCP/UDP:聽Preserving聽recently聽used聽remote聽address:聽[AF_INET]82.102.24.252:1198
2018-10-03聽10:28:53 | stdout | Wed聽Oct聽聽3聽10:28:53聽2018聽NOTE:聽the聽current聽--script-security聽setting聽may聽allow聽this聽configuration聽to聽call聽user-defined聽scripts
2018-10-03聽10:28:53 | stdout | Wed聽Oct聽聽3聽10:28:53聽2018聽library聽versions:聽OpenSSL聽1.0.2g聽聽1聽Mar聽2016,聽LZO聽2.08
2018-10-03聽10:28:53 | stdout | Wed聽Oct聽聽3聽10:28:53聽2018聽OpenVPN聽2.4.6聽x86_64-pc-linux-gnu聽[SSL聽(OpenSSL)]聽[LZO]聽[LZ4]聽[EPOLL]聽[PKCS11]聽[MH/PKTINFO]聽[AEAD]聽built聽on聽Apr聽24聽2018
2018-10-03聽10:28:52 | stdout | adding聽route聽to聽local聽network聽192.168.0.0/24聽via聽172.17.0.1聽dev聽eth0
2018-10-03聽10:28:52 | stdout | Setting聽OPENVPN聽credentials...
2018-10-03聽10:28:52 | stdout | Starting聽OpenVPN聽using聽config聽Switzerland.ovpn
2018-10-03聽10:28:52 | stdout | Using聽OpenVPN聽provider:聽PIA

`

Most helpful comment

Hi, your transmission user can read /volume1/system/tun/resolv.conf?
Try use

--dns 8.8.8.8 \
--dns 8.8.4.4 \

instead of
-v /volume1/system/tun/resolv.conf:/etc/resolv.conf \

All 4 comments

Yup. Having this same problem on my Synology AND Windows version of docker. Been going on for 4 or 5 days now. Can't connect to any outside peers.

Hi, your transmission user can read /volume1/system/tun/resolv.conf?
Try use

--dns 8.8.8.8 \
--dns 8.8.4.4 \

instead of
-v /volume1/system/tun/resolv.conf:/etc/resolv.conf \

Seems like it is solved by @evsasha! Closing for now until any issues arise.

I'm seeing this issue, despite DNS being set. This is on an rpi4.

What can I give to help debug?

Was this page helpful?
0 / 5 - 0 ratings