Could not get a token
xam2828 opened this issue · 1 comments
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
Actually I'm super dumb and I just notice the variable is named PIA_PASS and not PIA_PASSWORD... Spent way more time than I should have...