sgtsquiggs / docker-deluge-pia Goto Github PK
View Code? Open in Web Editor NEWLicense: The Unlicense
License: The Unlicense
I got this container installed and seems like it works but after a few seconds it restarts. Here is my log:
/opt/piavpn /run/s6/services/openvpn
==> /config/deluged.log <==
==> /opt/piavpn-manual/debug_info <==
Getting the server list... [services.d] done.
OK!
Trying to get a new token by authenticating with the meta service...
Trying to write /opt/piavpn-manual/pia.ovpn...
Trying to start the OpenVPN connection...
Sat Sep 30 20:02:59 2023 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2019
Sat Sep 30 20:02:59 2023 library versions: OpenSSL 1.1.1 11 Sep 2018, LZO 2.08
The OpenVPN connect command was issued.
Confirming OpenVPN connection state...
Sat Sep 30 20:02:59 2023 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sat Sep 30 20:02:59 2023 TCP/UDP: Preserving recently used remote address: [AF_INET]179.61.197.78:1198
Sat Sep 30 20:02:59 2023 UDP link local: (not bound)
Sat Sep 30 20:02:59 2023 UDP link remote: [AF_INET]179.61.197.78:1198
Sat Sep 30 20:02:59 2023 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Sat Sep 30 20:02:59 2023 [toronto424] Peer Connection Initiated with [AF_INET]179.61.197.78:1198
Sat Sep 30 20:03:00 2023 OpenVPN ROUTE6: OpenVPN needs a gateway parameter for a --route-ipv6 option and no default was specified by either --route-ipv6-gateway or --ifconfig-ipv6 options
Sat Sep 30 20:03:00 2023 OpenVPN ROUTE: failed to parse/resolve route for host/network: 2000::/3
Sat Sep 30 20:03:00 2023 ERROR: Cannot open TUN/TAP dev /dev/net/tun: Is a directory (errno=21)
Sat Sep 30 20:03:00 2023 Exiting due to fatal error
20:03:00 [WARNING ][deluge.i18n.util :83 ] IOError when loading translations: [Errno 2] No translation file found for domain: 'deluge'
20:03:25 [ERROR ][deluge.core.torrentmanager :1492] on_alert_fastresume_rejected: 20 GB Gambody.rar fast resume rejected. check resume(): missing or invalid 'file sizes' entry
20:03:53 [ERROR ][deluge.core.torrent :711 ] Restart deluge to clear this torrent error
cat: /opt/piavpn-manual/route_info: No such file or directory
The VPN connection was not established within 60 seconds.
/opt/piavpn/up.sh: line 204: kill: (351) - No such process
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
The docker image runs and is working, but there is a lot of api.ipify.org errors:
using docker inspect i get these
"Log": [
{
"Start": "2022-01-17T11:55:39.928137544+01:00",
"End": "2022-01-17T11:55:40.072014494+01:00",
"ExitCode": 1,
"Output": " % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to api.ipify.org port 443: Connection refused\n"
},
Any ideas on how to resolve this?
Regards.
Is there a way to test this with killswitch to verify the downloads won't happen on disconnect from VPN? I've got the setup working and have tested the torrent IP and see it's working as it should just wanted to verify the killswitch parth
Hello,
First of all, thank you for your work. I'm trying to use your container on my Raspberry Pi to secure deluge through Private Internet Access. I don't have much experience with docker, so I might be doing something wrong, but I'm getting a "Could not get a token" error when I try to start your container :
The closest region is Switzerland.
Trying to get a new token by authenticating with the meta service...
Could not get a token. Please check your account credentials.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
s6-svwait: fatal: supervisor died
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
Here's what my run code looks like :
docker run -d \
--name=delugepia \
-v /home/pi/shared/deluge/config:/config \
-v /home/pi/shared/deluge/Downloads:/downloads \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/Bern \
-e PIA_USER=username\
-e PIA_PASSWORD=password\
sgtsquiggs/deluge-pia
With the appropriate username and password (I tested those in the windows app from PIA, and they work just fine). It correctly pings all the servers and select the correct one, but the it fails to get a new token. Any clue where that might come from?
I've also noticed the .crt file you have in root/opt/piavpn is not the same that I can download from PIA (ca.rsa.4096.crt vs ca.rsa.2048.crt from PIA).
Thanks a lot for your support
Xam
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.