Kabe0 / deluge-windscribe

To provide an isolated VPN layer with Deluge
23 stars 6 forks source link

TinyProxy doesn't work with a simple curl command #28

Open cestlacata opened 2 years ago

cestlacata commented 2 years ago

Hello,

First of all, thank you for your work : Deluge + Windscribe is working like a charm !

But I try to use TinyProxy and it doesn't work with a simple curl command. This command never ends :

curl -x http://localhost:8888 -L https://api.myip.com/

This is my config :

sudo docker run \
 -d \
 -v $PWD/config:/config \
 -v $PWD/rtorrent/download:/downloads \
 -e WEBPROXY_ENABLED=true \
 -e WEBPROXY_PORT=8888 \
 -e WINDSCRIBE_FIREWALL=off \
 -p 8112:8112 \
 -p 58846:58846 \
 -p 8888:8888 \
 --dns 8.8.8.8 \
 --cap-add=NET_ADMIN \
 --device /dev/net/tun:/dev/net/tun \
 --name deluge-windscribe \
 --restart=always \
 kabe0/deluge-windscribe

Logs on Ubuntu Server 20.04 :

Initializing Container
Using config file /config/auth.conf.
/usr/bin/init.py:23: DeprecationWarning: 'U' mode is deprecated
  with open(vpnAuth, 'rU') as f:
Starting windscribe ... OK
Settings location to best
Initializing Deluge
Configuring firewall settings
Setting UID to 1000
usermod: no changes
Setting GID to 1000
Deluged Init
Unable to initialize gettext/locale!
'ngettext'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/deluge/i18n/util.py", line 118, in setup_translation
    builtins.__dict__['_n'] = builtins.__dict__['ngettext']
KeyError: 'ngettext'
STARTING TINYPROXY
Found config file /etc/tinyproxy/tinyproxy.conf, updating settings.
Setting tinyproxy port to 8888
tinyproxy is on the PATH, run it
Tinyproxy startup script complete.

Did I make a mistake ? Thank you for your help =)

Kabe0 commented 2 years ago

Will have to check. Someone else wrote it so it may have issues.