Connecting to UI from outside docker host #2035
-
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?
Config useddocker run --cap-add=NET_ADMIN -d -v /your/storage/path/:/data -e OPENVPN_PROVIDER=EXPRESSVPN -e OPENVPN_USERNAME=xxx -e OPENVPN_PASSWORD=yyy -e LOCAL_NETWORK=192.168.0.0/16 --log-driver json-file --log-opt max-size=10m -p 9091:9091 haugene/transmission-openvpn Current BehaviorCannot access web interface from outside docker host. Connection just times out. Expected BehaviorAccess to web interface from docker host :) How have you tried to solve the problem?I've tried the master and dev builds on github. I've tried using docker-compose and docker run. The only difference here is that with what seems to be exactly the same configuration, docke-compose gives me DNS resolution problems right at the beginning (even with the DNS entries in the docker-compose file). I can access the interface from within the docker host itself. From the documentation, it seems quite clear that the error is related to the "RTNETLINK answers: File exists" comment in the log (see below). However, the documentation does not explain how to deal with this. I have tried creating open ports on the host (via netcat) and then connecting from another computer. This works correctly. So the route between the accessing computer and the docker host seems to be unimpeded. Log outputStarting container with revision: 6922dd6 Transmission will run asUser name: root
|
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 3 replies
-
Local_Network is invalid.. change to /24 |
Beta Was this translation helpful? Give feedback.
-
Well spotted! |
Beta Was this translation helpful? Give feedback.
-
what IP is on your docker host and the docker container? |
Beta Was this translation helpful? Give feedback.
-
root@9e3700a2ec02:/# ip r IP on the docker host would be 192.168.0.31 |
Beta Was this translation helpful? Give feedback.
-
can you try adding "PEER_DNS=false" as an env variable and restart please? |
Beta Was this translation helpful? Give feedback.
-
ah, I might know..please try the suggestion above.. |
Beta Was this translation helpful? Give feedback.
-
Success! Also: For the record, it looks like transmission's web UI doesn't load in Safari. Just thought I'd mention that in case someone else brings up the issue at some point. |
Beta Was this translation helpful? Give feedback.
-
so adding the line worked ? could you please post |
Beta Was this translation helpful? Give feedback.
-
also, regarding Safari, I have no issues using Safari |
Beta Was this translation helpful? Give feedback.
-
Sure. ip r now returns the following: Regarding Safari, it seems to be something to do with self-signed certificates. I found something about it but haven't yet tried the fixes: |
Beta Was this translation helpful? Give feedback.
-
That's right. If I set the PEER_DNS environment variable then it works. I didn't do anything else |
Beta Was this translation helpful? Give feedback.
-
So without setting that parameter, what does your /etc/resolv.conf look
like?
…On Thu, Oct 28, 2021 at 16:20 MystaraTheGreat ***@***.***> wrote:
That's right. If I set the PEER_DNS environment variable then it works. I
didn't do anything else
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2035 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7OFYRGQ7E7OOHKHF64VT3UJEBVLANCNFSM5GZS5AWQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
Generated by openvpn for interface tun0nameserver 10.102.0.1 |
Beta Was this translation helpful? Give feedback.
can you try adding "PEER_DNS=false" as an env variable and restart please?