Failure: deluge.error.WrappedException: 'utf-8' codec can't decode byte 0xf3 in position 9: invalid continuation byte Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/deluge/core/rpcserver.py", line 326, in dispatch ret = self.factory.methods[method](*args, **kwargs) File "/usr/lib/python3.7/site-packages/deluge/core/core.py", line 768, in get_torrent_status all_keys=not keys, File "/usr/lib/python3.7/site-packages/deluge/core/core.py", line 743, in create_torrent_status torrent_keys, diff, update=update, all_keys=all_keys File "/usr/lib/python3.7/site-packages/deluge/core/torrent.py", line 1003, in get_status status_dict[key] = self.status_funcs[key]() File "/usr/lib/python3.7/site-packages/deluge/core/torrent.py", line 813, in get_peers client = decode_bytes(peer.client) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf3 in position 9: invalid continuation byte 2019-06-29 20:01:24,659 DEBG 'watchdog-script' stderr output: Unhandled error in Deferred: 2019-06-29 20:01:24,660 DEBG 'watchdog-script' stderr output: Traceback (most recent call last): Failure: deluge.error.WrappedException: 'utf-8' codec can't decode byte 0xf3 in position 9: invalid continuation byte Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/deluge/core/rpcserver.py", line 326, in dispatch ret = self.factory.methods[method](*args, **kwargs) File "/usr/lib/python3.7/site-packages/deluge/core/core.py", line 768, in get_torrent_status all_keys=not keys, File "/usr/lib/python3.7/site-packages/deluge/core/core.py", line 743, in create_torrent_status torrent_keys, diff, update=update, all_keys=all_keys File "/usr/lib/python3.7/site-packages/deluge/core/torrent.py", line 1003, in get_status status_dict[key] = self.status_funcs[key]() File "/usr/lib/python3.7/site-packages/deluge/core/torrent.py", line 813, in get_peers client = decode_bytes(peer.client) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf3 in position 9: invalid continuation byte 2019-06-29 20:02:35,765 DEBG 'watchdog-script' stderr output: Unhandled error in Deferred: 2019-06-29 20:02:35,765 DEBG 'watchdog-script' stderr output: Traceback (most recent call last): Failure: deluge.error.WrappedException: 'utf-8' codec can't decode byte 0xf3 in position 9: invalid continuation byte Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/deluge/core/rpcserver.py", line 326, in dispatch ret = self.factory.methods[method](*args, **kwargs) File "/usr/lib/python3.7/site-packages/deluge/core/core.py", line 768, in get_torrent_status all_keys=not keys, File "/usr/lib/python3.7/site-packages/deluge/core/core.py", line 743, in create_torrent_status torrent_keys, diff, update=update, all_keys=all_keys File "/usr/lib/python3.7/site-packages/deluge/core/torrent.py", line 1003, in get_status status_dict[key] = self.status_funcs[key]() File "/usr/lib/python3.7/site-packages/deluge/core/torrent.py", line 813, in get_peers client = decode_bytes(peer.client) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf3 in position 9: invalid continuation byte 2019-07-01 13:59:52,605 WARN received SIGTERM indicating exit request 2019-07-01 13:59:52,709 DEBG killing watchdog-script (pid 144) with signal SIGTERM 2019-07-01 13:59:52,745 INFO waiting for start-script, watchdog-script to die 2019-07-01 13:59:53,786 DEBG fd 16 closed, stopped monitoring (stdout)> 2019-07-01 13:59:53,792 DEBG fd 20 closed, stopped monitoring (stderr)> 2019-07-01 13:59:53,813 INFO stopped: watchdog-script (terminated by SIGTERM) 2019-07-01 13:59:53,825 DEBG received SIGCHLD indicating a child quit 2019-07-01 13:59:53,828 DEBG killing start-script (pid 143) with signal SIGTERM 2019-07-01 13:59:53,830 DEBG fd 11 closed, stopped monitoring (stdout)> 2019-07-01 13:59:53,831 DEBG fd 15 closed, stopped monitoring (stderr)> 2019-07-01 13:59:53,831 INFO stopped: start-script (terminated by SIGTERM) 2019-07-01 13:59:53,831 DEBG received SIGCHLD indicating a child quit Created by... ___. .__ .__ \_ |__ |__| ____ | |__ ____ ___ ___ | __ \| |/ \| | \_/ __ \\ \/ / | \_\ \ | | \ Y \ ___/ > < |___ /__|___| /___| /\___ >__/\_ \ \/ \/ \/ \/ \/ https://hub.docker.com/u/binhex/ 2019-07-01 14:00:15.115965 [info] System information Linux ee9ffea4db1f 4.19.56-Unraid #1 SMP Tue Jun 25 10:19:34 PDT 2019 x86_64 GNU/Linux 2019-07-01 14:00:15.476673 [info] PUID defined as '99' 2019-07-01 14:00:15.823147 [info] PGID defined as '100' 2019-07-01 14:00:17.735355 [info] UMASK defined as '000' 2019-07-01 14:00:17.789394 [info] Permissions already set for volume mappings 2019-07-01 14:00:17.835921 [info] DELUGE_DAEMON_LOG_LEVEL not defined,(via -e DELUGE_DAEMON_LOG_LEVEL), defaulting to 'info' 2019-07-01 14:00:17.874532 [info] DELUGE_WEB_LOG_LEVEL not defined,(via -e DELUGE_WEB_LOG_LEVEL), defaulting to 'info' 2019-07-01 14:00:17.913158 [info] VPN_ENABLED defined as 'yes' 2019-07-01 14:00:18.154937 [info] OpenVPN config file (ovpn extension) is located at /config/openvpn/Windscribe-US-West.ovpn dos2unix: converting file /config/openvpn/Windscribe-US-West.ovpn to Unix format... 2019-07-01 14:00:18.248485 [info] VPN remote line defined as 'remote us-west.windscribe.com 54783' 2019-07-01 14:00:18.287885 [info] VPN_REMOTE defined as 'us-west.windscribe.com' 2019-07-01 14:00:18.327629 [info] VPN_PORT defined as '54783' 2019-07-01 14:00:18.372691 [info] VPN_PROTOCOL defined as 'tcp-client' 2019-07-01 14:00:18.409974 [info] VPN_DEVICE_TYPE defined as 'tun0' 2019-07-01 14:00:18.443665 [info] VPN_PROV defined as 'custom' 2019-07-01 14:00:18.479567 [info] LAN_NETWORK defined as '192.168.137.0/24' 2019-07-01 14:00:18.515702 [info] NAME_SERVERS defined as '209.222.18.222,37.235.1.174,8.8.8.8,209.222.18.218,37.235.1.177,8.8.4.4' 2019-07-01 14:00:18.555512 [info] VPN_USER defined as 'CaryV_6dyqce58rv' 2019-07-01 14:00:18.595726 [info] VPN_PASS defined as 'y5ec3f2p9j' 2019-07-01 14:00:18.636848 [info] VPN_OPTIONS not defined (via -e VPN_OPTIONS) 2019-07-01 14:00:18.677033 [info] ENABLE_PRIVOXY defined as 'yes' 2019-07-01 14:00:18.724060 [info] Starting Supervisor... 2019-07-01 14:00:30,251 INFO Included extra file "/etc/supervisor/conf.d/delugevpn.conf" during parsing 2019-07-01 14:00:30,251 INFO Set uid to user 0 succeeded 2019-07-01 14:00:30,681 INFO supervisord started with pid 6 2019-07-01 14:00:31,684 INFO spawned: 'privoxy-script' with pid 142 2019-07-01 14:00:31,686 INFO spawned: 'start-script' with pid 143 2019-07-01 14:00:31,688 INFO spawned: 'watchdog-script' with pid 144 2019-07-01 14:00:31,688 INFO reaped unknown pid 7 2019-07-01 14:00:32,176 DEBG 'start-script' stdout output: [info] VPN is enabled, beginning configuration of VPN 2019-07-01 14:00:32,176 INFO success: privoxy-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2019-07-01 14:00:32,176 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2019-07-01 14:00:32,177 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2019-07-01 14:00:32,198 DEBG 'start-script' stdout output: [warn] Username contains characters which could cause authentication issues, please consider changing this if possible 2019-07-01 14:00:32,212 DEBG 'watchdog-script' stderr output: dos2unix: converting file /config/core.conf to Unix format... 2019-07-01 14:00:32,499 DEBG 'start-script' stdout output: [info] Default route for container is 172.17.0.1 2019-07-01 14:00:32,505 DEBG 'start-script' stdout output: [info] Adding 209.222.18.222 to /etc/resolv.conf 2019-07-01 14:00:32,510 DEBG 'start-script' stdout output: [info] Adding 37.235.1.174 to /etc/resolv.conf 2019-07-01 14:00:32,514 DEBG 'start-script' stdout output: [info] Adding 8.8.8.8 to /etc/resolv.conf 2019-07-01 14:00:32,518 DEBG 'start-script' stdout output: [info] Adding 209.222.18.218 to /etc/resolv.conf 2019-07-01 14:00:32,522 DEBG 'start-script' stdout output: [info] Adding 37.235.1.177 to /etc/resolv.conf 2019-07-01 14:00:32,526 DEBG 'start-script' stdout output: [info] Adding 8.8.4.4 to /etc/resolv.conf 2019-07-01 14:00:33,103 DEBG 'start-script' stdout output: [info] Docker network defined as 172.17.0.0/16 2019-07-01 14:00:33,109 DEBG 'start-script' stdout output: [info] Adding 192.168.137.0/24 as route via docker eth0 2019-07-01 14:00:33,111 DEBG 'start-script' stdout output: [info] ip route defined as follows... -------------------- 2019-07-01 14:00:33,112 DEBG 'start-script' stdout output: default via 172.17.0.1 dev eth0 172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2 192.168.137.0/24 via 172.17.0.1 dev eth0 2019-07-01 14:00:33,112 DEBG 'start-script' stdout output: -------------------- 2019-07-01 14:00:33,117 DEBG 'start-script' stdout output: iptable_mangle 16384 2 ip_tables 24576 5 iptable_filter,iptable_nat,iptable_mangle 2019-07-01 14:00:33,117 DEBG 'start-script' stdout output: [info] iptable_mangle support detected, adding fwmark for tables 2019-07-01 14:00:33,416 DEBG 'start-script' stdout output: [info] iptables defined as follows... -------------------- 2019-07-01 14:00:33,417 DEBG 'start-script' stdout output: -P INPUT DROP -P FORWARD DROP -P OUTPUT DROP -A INPUT -i tun0 -j ACCEPT -A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT -A INPUT -i eth0 -p tcp -m tcp --sport 54783 -j ACCEPT -A INPUT -i eth0 -p tcp -m tcp --dport 8112 -j ACCEPT -A INPUT -i eth0 -p tcp -m tcp --sport 8112 -j ACCEPT -A INPUT -s 192.168.137.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT -A INPUT -s 192.168.137.0/24 -d 172.17.0.0/16 -i eth0 -p tcp -j ACCEPT -A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT -A INPUT -i lo -j ACCEPT -A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT -A OUTPUT -o eth0 -p tcp -m tcp --dport 54783 -j ACCEPT -A OUTPUT -o eth0 -p tcp -m tcp --dport 8112 -j ACCEPT -A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT -A OUTPUT -d 192.168.137.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT -A OUTPUT -s 172.17.0.0/16 -d 192.168.137.0/24 -o eth0 -p tcp -j ACCEPT -A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT -A OUTPUT -o lo -j ACCEPT -A OUTPUT -o tun0 -j ACCEPT 2019-07-01 14:00:33,417 DEBG 'start-script' stdout output: -------------------- 2019-07-01 14:00:33,419 DEBG 'start-script' stdout output: [info] Starting OpenVPN... 2019-07-01 14:00:34,762 DEBG 'start-script' stdout output: Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 2019-07-01 14:00:34,762 DEBG 'start-script' stdout output: Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: --keysize is DEPRECATED and will be removed in OpenVPN 2.6 Mon Jul 1 14:00:34 2019 WARNING: file 'credentials.conf' is group or others accessible Mon Jul 1 14:00:34 2019 OpenVPN 2.4.7 [git:makepkg/2b8aec62d5db2c17+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 19 2019 Mon Jul 1 14:00:34 2019 library versions: OpenSSL 1.1.1c 28 May 2019, LZO 2.10 2019-07-01 14:00:34,779 DEBG 'start-script' stdout output: [info] OpenVPN started 2019-07-01 14:00:34,779 DEBG 'start-script' stdout output: Mon Jul 1 14:00:34 2019 WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead. Mon Jul 1 14:00:34 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts 2019-07-01 14:00:34,779 DEBG 'start-script' stdout output: Mon Jul 1 14:00:34 2019 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication Mon Jul 1 14:00:34 2019 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication Mon Jul 1 14:00:34 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]208.87.165.35:54783 2019-07-01 14:00:34,779 DEBG 'start-script' stdout output: Mon Jul 1 14:00:34 2019 Attempting to establish TCP connection with [AF_INET]208.87.165.35:54783 [nonblock] 2019-07-01 14:00:35,780 DEBG 'start-script' stdout output: Mon Jul 1 14:00:35 2019 TCP connection established with [AF_INET]208.87.165.35:54783 Mon Jul 1 14:00:35 2019 TCP_CLIENT link local: (not bound) Mon Jul 1 14:00:35 2019 TCP_CLIENT link remote: [AF_INET]208.87.165.35:54783 2019-07-01 14:00:35,921 DEBG 'start-script' stdout output: Mon Jul 1 14:00:35 2019 VERIFY OK: depth=1, C=CA, ST=ON, L=Toronto, O=Windscribe Limited, OU=Operations, CN=Windscribe Node CA 2019-07-01 14:00:35,921 DEBG 'start-script' stdout output: Mon Jul 1 14:00:35 2019 VERIFY OK: nsCertType=SERVER Mon Jul 1 14:00:35 2019 VERIFY OK: depth=0, C=CA, ST=ON, O=Windscribe Limited, OU=Operations, CN=Windscribe Node Server 4096 2019-07-01 14:00:36,024 DEBG 'start-script' stdout output: Mon Jul 1 14:00:36 2019 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1604', remote='link-mtu 1552' Mon Jul 1 14:00:36 2019 WARNING: 'cipher' is used inconsistently, local='cipher AES-256-CBC', remote='cipher AES-256-GCM' Mon Jul 1 14:00:36 2019 WARNING: 'auth' is used inconsistently, local='auth SHA512', remote='auth [null-digest]' 2019-07-01 14:00:36,024 DEBG 'start-script' stdout output: Mon Jul 1 14:00:36 2019 Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384, 4096 bit RSA Mon Jul 1 14:00:36 2019 [Windscribe Node Server 4096] Peer Connection Initiated with [AF_INET]208.87.165.35:54783 2019-07-01 14:00:37,396 DEBG 'start-script' stdout output: Mon Jul 1 14:00:37 2019 Data Channel: using negotiated cipher 'AES-256-GCM' Mon Jul 1 14:00:37 2019 NCP: overriding user-set keysize with default 2019-07-01 14:00:37,397 DEBG 'start-script' stdout output: Mon Jul 1 14:00:37 2019 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key Mon Jul 1 14:00:37 2019 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key Mon Jul 1 14:00:37 2019 TUN/TAP device tun0 opened Mon Jul 1 14:00:37 2019 /usr/bin/ip link set dev tun0 up mtu 1500 2019-07-01 14:00:37,399 DEBG 'start-script' stdout output: Mon Jul 1 14:00:37 2019 /usr/bin/ip addr add dev tun0 10.111.168.4/23 broadcast 10.111.169.255 2019-07-01 14:00:37,401 DEBG 'start-script' stdout output: Mon Jul 1 14:00:37 2019 /root/openvpnup.sh tun0 1500 1555 10.111.168.4 255.255.254.0 init 2019-07-01 14:00:37,410 DEBG 'start-script' stdout output: Mon Jul 1 14:00:37 2019 Initialization Sequence Completed 2019-07-01 14:00:37,451 DEBG 'watchdog-script' stdout output: [info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.111.168.4 different, marking for reconfigure 2019-07-01 14:00:37,456 DEBG 'watchdog-script' stdout output: [info] Deluge not running 2019-07-01 14:00:37,461 DEBG 'watchdog-script' stdout output: [info] Deluge Web UI not running 2019-07-01 14:00:37,467 DEBG fd 8 closed, stopped monitoring (stdout)> 2019-07-01 14:00:37,467 DEBG fd 10 closed, stopped monitoring (stderr)> 2019-07-01 14:00:37,467 INFO exited: privoxy-script (exit status 0; expected) 2019-07-01 14:00:37,468 DEBG received SIGCHLD indicating a child quit 2019-07-01 14:00:38,166 DEBG 'start-script' stdout output: [info] Successfully retrieved external IP address 208.87.165.35 2019-07-01 14:00:38,196 DEBG 'watchdog-script' stdout output: [info] Attempting to start Deluge... [info] Removing deluge pid file (if it exists)... 2019-07-01 14:00:44,849 DEBG 'watchdog-script' stdout output: [info] Deluge key 'listen_interface' currently has a value of '10.118.184.2' [info] Deluge key 'listen_interface' will have a new value '10.111.168.4' [info] Writing changes to Deluge config file '/config/core.conf'... 2019-07-01 14:00:45,095 DEBG 'watchdog-script' stdout output: [info] Deluge key 'outgoing_interface' currently has a value of 'tun0' [info] Deluge key 'outgoing_interface' will have a new value 'tun0' [info] Writing changes to Deluge config file '/config/core.conf'... 2019-07-01 14:00:45,315 DEBG 'watchdog-script' stdout output: [info] Deluge key 'default_daemon' currently has a value of '717250e2499c1ec03a90db2b6715900461a5377b' [info] Deluge key 'default_daemon' will have a new value '717250e2499c1ec03a90db2b6715900461a5377b' [info] Writing changes to Deluge config file '/config/web.conf'... 2019-07-01 14:00:46,471 DEBG 'watchdog-script' stdout output: [info] Deluge process started [info] Waiting for Deluge process to start listening on port 58846... 2019-07-01 14:00:47,765 DEBG 'watchdog-script' stdout output: [info] Deluge process listening on port 58846 2019-07-01 14:00:52,977 DEBG 'watchdog-script' stdout output: [info] No torrents with state 'Error' found 2019-07-01 14:00:52,977 DEBG 'watchdog-script' stdout output: [info] Starting Deluge Web UI... 2019-07-01 14:00:52,978 DEBG 'watchdog-script' stdout output: [info] Deluge Web UI started 2019-07-01 14:01:23,156 DEBG 'watchdog-script' stdout output: [info] Privoxy not running 2019-07-01 14:01:23,327 DEBG 'watchdog-script' stdout output: [info] Attempting to start Privoxy... 2019-07-01 14:01:24,469 DEBG 'watchdog-script' stdout output: [info] Privoxy process started [info] Waiting for Privoxy process to start listening on port 8118... 2019-07-01 14:01:24,477 DEBG 'watchdog-script' stdout output: [info] Privoxy process listening on port 8118