Unexpected response: <h1>401: Unauthorized</h1>Unauthor

Ask for help and report issues with the GTK+ version of Transmission
xpdin
Posts: 3
Joined: Sat Jul 04, 2015 2:58 pm

Unexpected response: <h1>401: Unauthorized</h1>Unauthor

Postby xpdin » Sat Jul 04, 2015 3:46 pm

Hi,

I am a Linux very beginner.

I use Lubuntu-core (Minimal Install) maybe this could cause some of the beyond issues.

I have just installed Transmission like that:

Code: Select all

sudo add-apt-repository ppa:transmissionbt/ppa


The above command wasn't accepted from the beginning, I had to install phyton software(something like that)...

Code: Select all

sudo apt-get update
sudo apt-get install transmission-cli transmission-common transmission-daemon


Change user with my username:

Code: Select all

cd /home/user/Downloads
mkdir transmission
cd transmission
mkdir completed incomplete torrents


Code: Select all

sudo usermod -a -G debian-transmission user


Code: Select all

sudo chgrp -R debian-transmission /home/user/Downloads/transmission


Code: Select all

sudo chmod -R 775 /home/user/Downloads/transmission


When I use :

Code: Select all

transmission-remote --add the link to the torrent
it appears:

Code: Select all

Unexpected response: <h1>401: Unauthorized</h1>Unauthorized Usern


If it could help you these:

Code: Select all

 ps aux | grep transmission
debian-+   550  0.0  0.1  31280  2956 ?        Ssl  13:35   0:00 /usr/bin/transmission-daemon -f --config-dir /var/lib/transmission-daemon/info
root      1960  0.0  0.0   4676   828 pts/0    S+   13:46   0:00 grep --color=auto transmission


Code: Select all

ps aux | grep transmission
debian-+   550  0.0  0.1  31280  2956 ?        Ssl  13:35   0:00 /usr/bin/transmission-daemon -f --config-dir /var/lib/transmission-daemon/info
root      1966  0.0  0.0   4676   824 pts/0    S+   13:49   0:00 grep --color=auto transmission


Thank you for your help.
Last edited by xpdin on Sun Jul 05, 2015 10:18 am, edited 1 time in total.

x190
Posts: 5095
Joined: Sun Nov 30, 2008 4:59 am

Re: Unexpected response: <h1>401: Unauthorized</h1>Unauthorized UsernUnexpected response: <h1>401: Unauthorized</h1>Unau

Postby x190 » Sat Jul 04, 2015 6:36 pm

--config-dir /var/lib/transmission-daemon/info

Edit your settings.json file as needed.
https://trac.transmissionbt.com/wiki/EditConfigFiles
https://trac.transmissionbt.com/wiki/UnixServer/Debian
The stone age didn’t end because we ran out of stones.
---The Great Disruption - by Paul Gilding
https://paulgilding.com/
-------------------------------------------------

xpdin
Posts: 3
Joined: Sat Jul 04, 2015 2:58 pm

Re: Unexpected response: <h1>401: Unauthorized</h1>Unauthorized UsernUnexpected response: <h1>401: Unauthorized</h1>Unau

Postby xpdin » Sun Jul 05, 2015 10:06 am

Excuse me x190,

I am a very beginner user...

Because I use a old computer I would like to use transmission from the terminal...

I've tried to understand what are those commands from the two links, but I couldn't understand what should I do..

Can you explain me please what should I try to do ?

Thank you.

x190
Posts: 5095
Joined: Sun Nov 30, 2008 4:59 am

Re: Unexpected response: <h1>401: Unauthorized</h1>Unauthor

Postby x190 » Sun Jul 05, 2015 5:33 pm

You should find your settings.json file in '/var/lib/transmission-daemon/info'. Check the RPC entries or post the file. Check that the daemon is running as the correct user and maybe transmission-remote too.
The stone age didn’t end because we ran out of stones.
---The Great Disruption - by Paul Gilding
https://paulgilding.com/
-------------------------------------------------

xpdin
Posts: 3
Joined: Sat Jul 04, 2015 2:58 pm

Re: Unexpected response: <h1>401: Unauthorized</h1>Unauthor

Postby xpdin » Sun Jul 05, 2015 6:21 pm

Thank you x190,

/var/lib/transmission-daemon/info/settings.json

When I try to open with Leafpad, permission denied, or to upload to any online hosting's website, it doesn't work, or on https://www.jsoneditoronline.org/ it is not working too...

Thanks.


Return to “GTK+ Support”