[Support] binhex - DelugeVPN


Recommended Posts

I can't access the Web UI after initial setup. There is a timeout and the UI is not coming up.

 

The log file says the following:

 

2024-04-12 14:42:44,213 DEBG 'start-script' stdout output:
2024-04-12 14:42:44 TLS: tls_multi_process: initial untrusted session promoted to trusted

2024-04-12 14:42:44,334 DEBG 'start-script' stdout output:
2024-04-12 14:42:44 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 103.86.96.100,dhcp-option DNS 103.86.99.100,explicit-exit-notify,comp-lzo no,route-gateway 10.8.1.1,topology subnet,ping 60,ping-restart 180,ifconfig 10.8.1.2 255.255.255.0,peer-id 0,cipher AES-256-GCM'

2024-04-12 14:42:44,335 DEBG 'start-script' stdout output:
2024-04-12 14:42:44 OPTIONS IMPORT: --ifconfig/up options modified
2024-04-12 14:42:44 OPTIONS IMPORT: route options modified
2024-04-12 14:42:44 OPTIONS IMPORT: route-related options modified
2024-04-12 14:42:44 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
2024-04-12 14:42:44 net_route_v4_best_gw query: dst 0.0.0.0
2024-04-12 14:42:44 net_route_v4_best_gw result: via 172.17.0.1 dev eth0
2024-04-12 14:42:44 ROUTE_GATEWAY 172.17.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:11:00:05
2024-04-12 14:42:44 TUN/TAP device tun0 opened

2024-04-12 14:42:44,335 DEBG 'start-script' stdout output:
2024-04-12 14:42:44 net_iface_mtu_set: mtu 1500 for tun0
2024-04-12 14:42:44 net_iface_up: set tun0 up
2024-04-12 14:42:44 net_addr_v4_add: 10.8.1.2/24 dev tun0
2024-04-12 14:42:44 /root/openvpnup.sh tun0 1500 0 10.8.1.2 255.255.255.0 init

2024-04-12 14:42:44,338 DEBG 'start-script' stdout output:
2024-04-12 14:42:44 net_route_v4_add: 185.239.149.3/32 via 172.17.0.1 dev [NULL] table 0 metric -1

2024-04-12 14:42:44,339 DEBG 'start-script' stdout output:
2024-04-12 14:42:44 net_route_v4_add: 0.0.0.0/1 via 10.8.1.1 dev [NULL] table 0 metric -1
2024-04-12 14:42:44 net_route_v4_add: 128.0.0.0/1 via 10.8.1.1 dev [NULL] table 0 metric -1
2024-04-12 14:42:44 Initialization Sequence Completed
2024-04-12 14:42:44 Data Channel: cipher 'AES-256-GCM', peer-id: 0, compression: 'stub'
2024-04-12 14:42:44 Timers: ping 60, ping-restart 180
2024-04-12 14:42:44 Protocol options: explicit-exit-notify 1

2024-04-12 14:42:45,490 DEBG 'start-script' stdout output:
[info] Attempting to get external IP using 'http://checkip.amazonaws.com'...

2024-04-12 14:42:46,026 DEBG 'start-script' stdout output:
[info] Successfully retrieved external IP address 185.239.149.31

2024-04-12 14:42:46,030 DEBG 'start-script' stdout output:
[info] VPN provider 'custom' not supported for automatic port forwarding, skipping incoming port assignment

2024-04-12 14:42:46,111 DEBG 'watchdog-script' stdout output:
[info] Deluge listening interface IP 0.0.0.0 and VPN provider IP 10.8.1.2 different, marking for reconfigure

2024-04-12 14:42:46,118 DEBG 'watchdog-script' stdout output:
[info] Deluge not running

2024-04-12 14:42:46,124 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI not running

2024-04-12 14:42:46,126 DEBG 'watchdog-script' stdout output:
[info] Attempting to start Deluge...
[info] Removing deluge pid file (if it exists)...

2024-04-12 14:42:46,537 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'listen_interface' currently has a value of '10.8.0.2'
[info] Deluge key 'listen_interface' will have a new value '10.8.1.2'
[info] Writing changes to Deluge config file '/config/core.conf'...

2024-04-12 14:42:46,805 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'...

2024-04-12 14:42:47,238 DEBG 'watchdog-script' stdout output:
[info] Deluge key 'default_daemon' currently has an undefined value
[info] Deluge key 'default_daemon' will have a new value '7f1c2b9474b44998aa3f2a286d9fec44'
[info] Writing changes to Deluge config file '/config/web.conf'...

2024-04-12 14:42:47,312 DEBG 'watchdog-script' stdout output:
[info] Deluge process started
[info] Waiting for Deluge process to start listening on port 58846...

2024-04-12 14:42:47,865 DEBG 'watchdog-script' stdout output:
[info] Deluge process listening on port 58846

2024-04-12 14:42:50,208 DEBG 'watchdog-script' stderr output:
<Deferred at 0x14e855d36e90 current result: None>

2024-04-12 14:42:50,287 DEBG 'watchdog-script' stdout output:
[info] No torrents with state 'Error' found

2024-04-12 14:42:50,288 DEBG 'watchdog-script' stdout output:
[info] Starting Deluge Web UI...

2024-04-12 14:42:50,288 DEBG 'watchdog-script' stdout output:
[info] Deluge Web UI started

Link to comment
10 hours ago, binhex said:

you sure about that? so in advanced view for the container in 'extra parameters' you have the following defined?:-
 

--sysctl="net.ipv4.conf.all.src_valid_mark=1"

 

$ docker inspect delugevpn | sed -e 's/"VPN_USER=.*"/"VPN_USER=*******"/g' -e 's/"VPN_PASS=.*"/"VPN_PASS=*******"/g' | jq ".[0].HostConfig, .[0].Config.Env"
{
  "Binds": [
    "/data/deluge/data:/data",
    "/etc/localtime:/etc/localtime:ro",
    "/data/deluge/downloads:/downloads",
    "/data/deluge/config:/config"
  ],
  "ContainerIDFile": "",
  "LogConfig": {
    "Type": "json-file",
    "Config": {}
  },
  "NetworkMode": "my-main-net",
  "PortBindings": {
    "58846/tcp": [
      {
        "HostIp": "",
        "HostPort": "58846"
      }
    ],
    "58946/tcp": [
      {
        "HostIp": "",
        "HostPort": "58946"
      }
    ],
    "58946/udp": [
      {
        "HostIp": "",
        "HostPort": "58946"
      }
    ],
    "8112/tcp": [
      {
        "HostIp": "",
        "HostPort": "8112"
      }
    ],
    "8118/tcp": [
      {
        "HostIp": "",
        "HostPort": "8118"
      }
    ]
  },
  "RestartPolicy": {
    "Name": "unless-stopped",
    "MaximumRetryCount": 0
  },
  "AutoRemove": false,
  "VolumeDriver": "",
  "VolumesFrom": null,
  "ConsoleSize": [
    0,
    0
  ],
  "CapAdd": [
    "AUDIT_WRITE",
    "CHOWN",
    "DAC_OVERRIDE",
    "FOWNER",
    "FSETID",
    "KILL",
    "MKNOD",
    "NET_BIND_SERVICE",
    "NET_RAW",
    "SETFCAP",
    "SETGID",
    "SETPCAP",
    "SETUID",
    "SYS_CHROOT",
    "SYS_MODULE"
  ],
  "CapDrop": [
    "AUDIT_CONTROL",
    "BLOCK_SUSPEND",
    "DAC_READ_SEARCH",
    "IPC_LOCK",
    "IPC_OWNER",
    "LEASE",
    "LINUX_IMMUTABLE",
    "MAC_ADMIN",
    "MAC_OVERRIDE",
    "NET_ADMIN",
    "NET_BROADCAST",
    "SYSLOG",
    "SYS_ADMIN",
    "SYS_BOOT",
    "SYS_NICE",
    "SYS_PACCT",
    "SYS_PTRACE",
    "SYS_RAWIO",
    "SYS_RESOURCE",
    "SYS_TIME",
    "SYS_TTY_CONFIG",
    "WAKE_ALARM"
  ],
  "CgroupnsMode": "private",
  "Dns": [],
  "DnsOptions": [],
  "DnsSearch": [],
  "ExtraHosts": [],
  "GroupAdd": null,
  "IpcMode": "private",
  "Cgroup": "",
  "Links": null,
  "OomScoreAdj": 0,
  "PidMode": "",
  "Privileged": true,
  "PublishAllPorts": false,
  "ReadonlyRootfs": false,
  "SecurityOpt": [
    "label=disable"
  ],
  "UTSMode": "",
  "UsernsMode": "",
  "ShmSize": 67108864,
  "Sysctls": {
    "net.ipv4.conf.all.src_valid_mark": "1"
  },
  "Runtime": "runc",
  "Isolation": "",
  "CpuShares": 0,
  "Memory": 0,
  "NanoCpus": 0,
  "CgroupParent": "",
  "BlkioWeight": 0,
  "BlkioWeightDevice": null,
  "BlkioDeviceReadBps": null,
  "BlkioDeviceWriteBps": null,
  "BlkioDeviceReadIOps": null,
  "BlkioDeviceWriteIOps": null,
  "CpuPeriod": 0,
  "CpuQuota": 0,
  "CpuRealtimePeriod": 0,
  "CpuRealtimeRuntime": 0,
  "CpusetCpus": "",
  "CpusetMems": "",
  "Devices": [],
  "DeviceCgroupRules": null,
  "DeviceRequests": [],
  "MemoryReservation": 0,
  "MemorySwap": -1,
  "MemorySwappiness": null,
  "OomKillDisable": null,
  "PidsLimit": null,
  "Ulimits": null,
  "CpuCount": 0,
  "CpuPercent": 0,
  "IOMaximumIOps": 0,
  "IOMaximumBandwidth": 0,
  "MaskedPaths": [
    "/proc/asound",
    "/proc/acpi",
    "/proc/kcore",
    "/proc/keys",
    "/proc/latency_stats",
    "/proc/timer_list",
    "/proc/timer_stats",
    "/proc/sched_debug",
    "/proc/scsi",
    "/sys/firmware"
  ],
  "ReadonlyPaths": [
    "/proc/bus",
    "/proc/fs",
    "/proc/irq",
    "/proc/sys",
    "/proc/sysrq-trigger"
  ],
  "Init": false
}
[
  "VPN_ENABLED=yes",
  "VPN_USER=*******",
  "VPN_PASS=*******",
  "VPN_PROV=pia",
  "VPN_CLIENT=wireguard",
  "STRICT_PORT_FORWARD=yes",
  "ENABLE_PRIVOXY=yes",
  "LAN_NETWORK=172.18.0.0/16",
  "NAME_SERVERS=84.200.69.80,37.235.1.174,1.1.1.1,37.235.1.177,84.200.70.40,1.0.0.1",
  "DELUGE_DAEMON_LOG_LEVEL=debug",
  "DELUGE_WEB_LOG_LEVEL=debug",
  "DELUGE_ENABLE_WEBUI_PASSWORD=yes",
  "VPN_INPUT_PORTS=1234",
  "VPN_OUTPUT_PORTS=5678",
  "DEBUG=false",
  "UMASK=000",
  "PUID=0",
  "PGID=0",
  "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
  "HOME=/home/nobody",
  "TERM=xterm",
  "LANG=en_GB.UTF-8"
]
Edited by mirhunter
Link to comment

Hi All wonder if anyone can help with an issue i have encountered.

 

I have DelugeVPN setup and i have my SabNZBD going via this but im experiencing slow downloads when doing this if nothing is downloading via torrents SABNZBD runs at its normal speed but if Deluge is downloading the speed on SABNZDB drops from 13MB/s to 1MB/s meanwhile Deluge  is not getting above 400 KiB/s.

 

Does anyone know why this could be occuring

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.