Qbittorren web ui

  • DietPi version
    G_DIETPI_VERSION_CORE=8
    G_DIETPI_VERSION_SUB=22
    G_DIETPI_VERSION_RC=3
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’

  • Distro version | bullseye 0

  • Kernel version | Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux

  • Architecture | armhf

  • SBC model | RPi 4 Model B (aarch64)

  • Software title | Qbittorrent

I can’t access the webui even if the service is running. It takes ages loading and the login page doesn’t appear.

I use my IP:1340 as always.

I’ve tried a reinstallation and some reboots but the issue persists.

What should I do?

Many thanks in advance.

what browser are you trying to use to access it? if your using a browser have you tried using the qbitorrent client on a computer to access it? i use opera and transmission sometimes and it has problems when i try to load the webui from there so i use transmission qt client to access it with no freezing or lags.

Thank you for your reply.

I have the same results in Edge, Brave, and Chrome.

hmm im guessing your not using any addons that block scripts or stuff like that? have you tried the client? i think this is it. qBittorrent Official Website it says it can remote control through the client.

Just tested on a demo system without issue. Can you check logs and if port is available

journalctl -u qbittorrent
ss -tulpn | grep LISTEN
 journalctl -u qbittorrent

-- Journal begins at Mon 2023-10-02 22:17:10 CEST, ends at Tue 2023-10-03 13:58:22 CEST. --
Oct 02 22:17:26 DietPi systemd[1]: Started qBittorrent (DietPi).
Oct 02 23:01:52 DietPi qbittorrent-nox[813]: Catching signal: SIGTERM
Oct 02 23:01:52 DietPi qbittorrent-nox[813]: Exiting cleanly
Oct 02 23:01:52 DietPi systemd[1]: Stopping qBittorrent (DietPi)...
Oct 02 23:03:22 DietPi systemd[1]: qbittorrent.service: State 'stop-sigterm'
 timed out. Killing.
Oct 02 23:03:22 DietPi systemd[1]: qbittorrent.service: Killing process 813 (qbittorrent
-nox) with signal SIGKILL.
Oct 02 23:03:22 DietPi systemd[1]: qbittorrent.service: Killing process 1094 (qbittorren
t-nox) with signal SIGKILL.
Oct 02 23:03:22 DietPi systemd[1]: qbittorrent.service: Main process exited,
 code=killed, status=9/KILL
Oct 02 23:03:22 DietPi systemd[1]: qbittorrent.service: Failed with result '
timeout'.
Oct 02 23:03:22 DietPi systemd[1]: Stopped qBittorrent (DietPi).
Oct 02 23:03:22 DietPi systemd[1]: qbittorrent.service: Consumed 13.623s CPU time.
Oct 02 23:03:22 DietPi systemd[1]: Started qBittorrent (DietPi).
ss -tulpn | grep LISTEN

tcp   LISTEN 0      4096                                     0.0.0.0:3129       0.0.0.0:*    users:(("docker-proxy",pid=3136,fd=4))
tcp   LISTEN 0      30                             XXXXXXX%eth0:6881       0.0.0.0:*    users:(("qbittorrent-nox",pid=18718,fd=19))
tcp   LISTEN 0      30                            172.17.0.1%docker0:6881       0.0.0.0:*    users:(("qbittorrent-nox",pid=18718,fd=21))
tcp   LISTEN 0      5                                        0.0.0.0:5901       0.0.0.0:*    users:(("Xvnc-core",pid=1115,fd=6))
tcp   LISTEN 0      128                                      0.0.0.0:6001       0.0.0.0:*    users:(("Xvnc-core",pid=1115,fd=1))
tcp   LISTEN 0      1024                                     0.0.0.0:8001       0.0.0.0:*    users:(("vaultwarden",pid=854,fd=36))
tcp   LISTEN 0      512                                      0.0.0.0:8097       0.0.0.0:*    users:(("jellyfin",pid=810,fd=314))
tcp   LISTEN 0      4096                                     0.0.0.0:8080       0.0.0.0:*    users:(("kodi.bin",pid=1248,fd=36))
tcp   LISTEN 0      4096                                     0.0.0.0:8083       0.0.0.0:*    users:(("docker-proxy",pid=3037,fd=4))
tcp   LISTEN 0      128                                      0.0.0.0:22         0.0.0.0:*    users:(("sshd",pid=916,fd=3))
tcp   LISTEN 0      4096                                     0.0.0.0:55413      0.0.0.0:*    users:(("urbackupsrv",pid=963,fd=42))
tcp   LISTEN 0      4096                                     0.0.0.0:55414      0.0.0.0:*    users:(("urbackupsrv",pid=963,fd=6))
tcp   LISTEN 0      4096                                     0.0.0.0:55415      0.0.0.0:*    users:(("urbackupsrv",pid=963,fd=32))
tcp   LISTEN 0      4096                                     0.0.0.0:80         0.0.0.0:*    users:(("docker-proxy",pid=2971,fd=4))
tcp   LISTEN 0      50                                       0.0.0.0:139        0.0.0.0:*    users:(("smbd",pid=1037,fd=49))
tcp   LISTEN 0      4096                                     0.0.0.0:51414      0.0.0.0:*    users:(("docker-proxy",pid=5960,fd=4))
tcp   LISTEN 0      50                                       0.0.0.0:445        0.0.0.0:*    users:(("smbd",pid=1037,fd=48))
tcp   LISTEN 0      4096                                     0.0.0.0:6595       0.0.0.0:*    users:(("docker-proxy",pid=2789,fd=4))
tcp   LISTEN 0      1024                                     0.0.0.0:6767       0.0.0.0:*    users:(("python3",pid=1334,fd=6))
tcp   LISTEN 0      30                    172.19.0.1%br-d9a46b4fb181:6881       0.0.0.0:*    users:(("qbittorrent-nox",pid=18718,fd=25))
tcp   LISTEN 0      30                                  127.0.0.1%lo:6881       0.0.0.0:*    users:(("qbittorrent-nox",pid=18718,fd=15))
tcp   LISTEN 0      5                                        0.0.0.0:8888       0.0.0.0:*    users:(("rpimonitord",pid=765,fd=5))
tcp   LISTEN 0      30                    172.20.0.1%br-53881ace3f35:6881       0.0.0.0:*    users:(("qbittorrent-nox",pid=18718,fd=23))
tcp   LISTEN 0      4096                                     0.0.0.0:9002       0.0.0.0:*    users:(("docker-proxy",pid=3233,fd=4))
tcp   LISTEN 0      500                                      0.0.0.0:8989       0.0.0.0:*    users:(("mono",pid=830,fd=8))
tcp   LISTEN 0      4096                                     0.0.0.0:5055       0.0.0.0:*    users:(("docker-proxy",pid=2843,fd=4))
tcp   LISTEN 0      10                                       0.0.0.0:9090       0.0.0.0:*    users:(("kodi.bin",pid=1248,fd=38))
tcp   LISTEN 0      4096                                     0.0.0.0:9091       0.0.0.0:*    users:(("docker-proxy",pid=6002,fd=4))
tcp   LISTEN 0      4096                                        [::]:3129          [::]:*    users:(("docker-proxy",pid=3152,fd=4))
tcp   LISTEN 0      30             [fe80::42:dfff:fe04:119c]%docker0:6881          [::]:*    users:(("qbittorrent-nox",pid=18718,fd=31))
tcp   LISTEN 0      30     [fe80::42:22ff:fece:af54]%br-53881ace3f35:6881          [::]:*    users:(("qbittorrent-nox",pid=18718,fd=33))
tcp   LISTEN 0      30     [fe80::42:90ff:fe77:942b]%br-d9a46b4fb181:6881          [::]:*    users:(("qbittorrent-nox",pid=18718,fd=35))
tcp   LISTEN 0      50                                             *:1340             *:*    users:(("qbittorrent-nox",pid=18718,fd=71))
tcp   LISTEN 0      512                                            *:9696             *:*    users:(("Prowlarr",pid=812,fd=230))
tcp   LISTEN 0      30       [fe80::8823:17ff:fe0c:bb40]%veth2f618e5:6881          [::]:*    users:(("qbittorrent-nox",pid=18718,fd=66))
tcp   LISTEN 0      512                                            *:7878             *:*    users:(("Radarr",pid=814,fd=232))
tcp   LISTEN 0      5                                           [::]:5901          [::]:*    users:(("Xvnc-core",pid=1115,fd=5))
tcp   LISTEN 0      128                                         [::]:6001          [::]:*    users:(("Xvnc-core",pid=1115,fd=0))
tcp   LISTEN 0      4096                                           *:8084             *:*    users:(("filebrowser",pid=807,fd=7))
tcp   LISTEN 0      4096                                        [::]:8080          [::]:*    users:(("kodi.bin",pid=1248,fd=35))
tcp   LISTEN 0      4096                                        [::]:8083          [::]:*    users:(("docker-proxy",pid=3045,fd=4))
tcp   LISTEN 0      30       [fe80::dc72:64ff:feb2:2799]%veth8091cc7:6881          [::]:*    users:(("qbittorrent-nox",pid=18718,fd=43))
tcp   LISTEN 0      128                                         [::]:22            [::]:*    users:(("sshd",pid=916,fd=4))
tcp   LISTEN 0      4096                                        [::]:55413         [::]:*    users:(("urbackupsrv",pid=963,fd=43))
tcp   LISTEN 0      4096                                        [::]:55414         [::]:*    users:(("urbackupsrv",pid=963,fd=7))
tcp   LISTEN 0      4096                                        [::]:55415         [::]:*    users:(("urbackupsrv",pid=963,fd=33))
tcp   LISTEN 0      4096                                        [::]:80            [::]:*    users:(("docker-proxy",pid=2984,fd=4))
tcp   LISTEN 0      50                                          [::]:139           [::]:*    users:(("smbd",pid=1037,fd=47))
tcp   LISTEN 0      4096                                        [::]:51414         [::]:*    users:(("docker-proxy",pid=5968,fd=4))
tcp   LISTEN 0      30       [fe80::e8ef:9eff:feb7:c49b]%vetheb3199d:6881          [::]:*    users:(("qbittorrent-nox",pid=18718,fd=37))
tcp   LISTEN 0      30        [fe80::44f3:e4ff:fee6:235]%veth2d63e0d:6881          [::]:*    users:(("qbittorrent-nox",pid=18718,fd=39))
tcp   LISTEN 0      50                                          [::]:445           [::]:*    users:(("smbd",pid=1037,fd=46))
tcp   LISTEN 0      4096                                        [::]:6595          [::]:*    users:(("docker-proxy",pid=2825,fd=4))
tcp   LISTEN 0      30                                      [::1]%lo:6881          [::]:*    users:(("qbittorrent-nox",pid=18718,fd=27))
tcp   LISTEN 0      30              [fe80::dea6:32ff:fe7d:e678]%eth0:6881          [::]:*    users:(("qbittorrent-nox",pid=18718,fd=29))
tcp   LISTEN 0      30       [fe80::e82c:b5ff:fe2e:d6c3]%vethd2db677:6881          [::]:*    users:(("qbittorrent-nox",pid=18718,fd=45))
tcp   LISTEN 0      30         [fe80::af:8aff:fe72:e70d]%veth629734c:6881          [::]:*    users:(("qbittorrent-nox",pid=18718,fd=41))
tcp   LISTEN 0      4096                                        [::]:9002          [::]:*    users:(("docker-proxy",pid=3240,fd=4))
tcp   LISTEN 0      30       [fe80::345d:d6ff:fe4a:dbcb]%veth7993686:6881          [::]:*    users:(("qbittorrent-nox",pid=18718,fd=47))
tcp   LISTEN 0      4096                                        [::]:5055          [::]:*    users:(("docker-proxy",pid=2921,fd=4))
tcp   LISTEN 0      512                                            *:9117             *:*    users:(("jackett",pid=856,fd=203))
tcp   LISTEN 0      10                                          [::]:9090          [::]:*    users:(("kodi.bin",pid=1248,fd=40))
tcp   LISTEN 0      4096                                        [::]:9091          [::]:*    users:(("docker-proxy",pid=6007,fd=4))

No, not blockers at all.

I didn’t try the client. I don’t know how to.

you could try to get the local login side manually on command line

curl http://127.0.0.1:1340

Hi there! I’ve restarted the service again and it seems to be working again. Thank you for your time and help.

This is what I got:

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <title>qBittorrent Web UI</title>
    <link rel="icon" type="image/png" href="images/skin/qbittorrent32.png" />
    <link rel="icon" type="image/svg+xml" href="images/skin/qbittorrent-tray.svg" />
    <link rel="stylesheet" type="text/css" href="css/login.css?v=9315r7" />
    <noscript>
        <link rel="stylesheet" type="text/css" href="css/noscript.css?v=9315r7" />
    </noscript>
    <script src="scripts/login.js?locale=en&v=9315r7"></script>
</head>

<body>
    <noscript id="noscript">
        <h1>JavaScript Required! You must enable JavaScript for the Web UI to work properly</h1>
    </noscript>
    <div id="main">
        <h1>qBittorrent Web UI</h1>
        <div id="logo" class="col">
            <img src="images/skin/qbittorrent-tray.svg" alt="qBittorrent logo" />
        </div>
        <div id="formplace" class="col">
            <form id="loginform" method="post" onsubmit="submitLoginForm();">
                <div class="row">
                    <label for="username">Username</label><br />
                    <input type="text" id="username" name="username" autocomplete="username" /></div>
                <div class="row">
                    <label for="password">Password</label><br />
                    <input type="password" id="password" name="password" autocomplete="current-password" /></div>
                <div class="row">
                    <input type="submit" id="login" value="Login" />
                </div>
            </form>
        </div>
        <div id="error_msg"></div>
    </div>
</body>

</html>

yes that looks good.

if the system has not been rebooted. You could check for kernel error messages

dmesg -l 0,1,2,3

I’m still worried a bit on the killed messages

Did you tried to stopp and killed the service at the end? Or maybe a timeout after 90 seconds.

1 Like

Thank you for your concerns.

This the result for the kernel error:

root@DietPi:~# dmesg -l 0,1,2,3
root@DietPi:~#

I didn’t stop the service. I performed: dietpi-services restart qbittorrent

ok no kernel error messages. Not sure what the issue was. At least it’s working again.