Can't connect to qbittorrent-nox

Sonarr version (exact version): 2.0.0.5085
Mono version (if Sonarr is not running on Windows): 5.4.1.6
OS:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 8.0 (jessie)
Release:	8.0
Codename:	jessie

$ qbittorrent-nox --version
qBittorrent v3.1.10

qBittorrent v3.1.10 (Web UI)

((Debug logs)): https://pastebin.com/FhzBwgct

Description of issue:

qbt is working on the same machine and I can reach it using the browser with the (temp) password admin

You can reach http://localhost:8085/login in a browser? Based on the error the web server is returning that it can’t be found.

Yes, I can. to be sure, I changed the address and configuration to the IP address and it still fails.

https://pastebin.com/1DFwdWJT

The screenshot attached shows FF opening the site correctly

Any ideas on what I should do next?

This si the tracefile

https://pastebin.com/nQW048yA

It says 401.Unauthorized but i’m using a temp password admin/admin and i’ve copied and paste it to FF and it accepts it

That doesn’t show FF accessing /login, it shows the login dialog for basic auth, which is different.

It looks like basic auth is enabled, but forms auth (which Sonarr uses to authenticate with qbittorrent) is not.

After recompiling qbittorrent for raspbian, it started working. Topic closed.

I used this guide to do it. If it goes offline:

qbuild.sh

#!/bin/bash

# https://github.com/qbittorrent/qBittorrent/wiki/Setting-up-qBittorrent-on-Ubuntu-server-as-daemon-with-Web-interface-(15.04-and-newer)
# https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu#Required_dependencies

cd ~/

sudo apt-get install libboost-dev libboost-system-dev build-essential -y
sudo apt-get install libqt4-dev -y
sudo apt-get install qtbase5-dev qttools5-dev-tools -y
sudo apt-get install geoip-database -y
sudo apt-get install libboost-system-dev libboost-chrono-dev libboost-random-dev libssl-dev libgeoip-dev pkg-config -y

wget https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_0_6/libtorrent-rasterbar-1.0.6.tar.gz
tar -zxvf libtorrent-rasterbar-1.0.6.tar.gz
cd libtorrent-rasterbar-1.0.6
./configure --disable-debug --prefix=/usr --with-libgeoip=system --with-boost-libdir=/usr/lib/arm-linux-gnueabihf && make clean && make
sudo make uninstall
sudo make install-strip

cd ..

git clone https://github.com/qbittorrent/qBittorrent --branch v3_3_x --single-branch
cd qBittorrent
./configure --prefix=/usr --disable-gui --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
make
sudo make install

cd ..
rm libtorrent-rasterbar-1.0.6.tar.gz
rm -R libtorrent-rasterbar-1.0.6
sudo rm -R qBittorrent

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.