Closed upcboy closed 4 years ago
Just wanted to add that I'm also having this issue. Logs show the same sequence as above.
@upcboy if you follow the logs later on your should see qbittorrent incoming port gets set (debug must be set to yes for this), and if you login to web ui and click on options and click on 'connection' tab you will see the port is set.
ive just tested this and it is being set correctly for me.
@binhex I've been doing that as a workaround but I assumed since it was asking pia for a port it would be setting the port automatically on startup. This looked like a bug since it was not being set automatically like it was in your Deluge-vpn setup
i think you misunderstand, im not suggesting you manually set the port, im saying it should be (and is for me) getting automatically set, check the web ui, the port should match the pia incoming port shown in the log.
I just restarted the container and the logs show below for the port
2020-01-03 21:49:58,854 DEBG 'start-script' stdout output:
[info] Successfully assigned incoming port 30469
but my current port is set to 24995 in the webUI when I check (which was the last port i manually find from the logs.)
edit: Adding more info looking over the logs it seems the watchdog-script thinks qBittorrent's incoming port is set right. I can see
2020-01-03 22:10:22,464 DEBG 'watchdog-script' stdout output:
[debug] VPN incoming port is 30469
[debug] qBittorrent incoming port is 30469
[debug] VPN IP is 10.23.11.10
[debug] qBittorrent IP is 10.23.11.10
but the webui def shows the old 24995 and testing a few different ways shows my client is not listening on port 30469
Sorry guys my mistake I was using a test tagged version I have now replicated the problem and identified the fix look out for a new version soon
now fixed, please pull down latest image.
I'm still seeing the same behavior and I have made sure I have the latest build on docker hub.
hmm just double checked and its def working for me, so the incoming port shown in the supervisord.log file is not getting set in qbittorrent? (web ui/options/connection tab/port used for incoming connections)
my logs show
[info] Successfully assigned incoming port 28671
but the webui shows 47417
are you 100% sure you have got the latest image pulled down?, issue the following:-
docker pull binhex/arch-qbittorrentvpn:latest
then delete your existing container and re-create it.
The digest of my images matches the current latest from docker hub
REPOSITORY TAG DIGEST IMAGE ID CREATED SIZE
binhex/arch-qbittorrentvpn latest sha256:be7780965e945ace78e66480b176448d4e45e360c3bd2678451f0a26f9085124 2c0eb5f10c57 2 days ago 1.02GB
I found the issue. It looks like in your commit for the fix you hard coded the webui port to 2100 instead of using the variable WEBUI_PORT you had been using before. This would explain why it works for you but not for me since my webui port does not match yours. I can run that same curl command and change my port with out issue if i change the port to my correct webui port.
@binhex submitted a pull request( #27 ) that fixes the issue. I tested it in a new container and the build looks to work properly now.
ugghh!, thanks for that, must of hard coded it during testing!, merged and image built, please pull down and give it a whirl.
Yep working for me now. Cheers!
Fixed by 7151044024f92d154ccdb055c331c6f10d37038b
The new pia port does not get set on start up. The logs show PIA gives a port but it is not changed in the client. below is the relevant logs