Headerless Ubuntu problem

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
connoleg
Posts: 1
Joined: Sat May 02, 2009 10:21 am

Headerless Ubuntu problem

Post by connoleg »

Hi,
I wonder if I could get some help please.

I have installed Ubuntu server specifically to run Transmission. Totally clean install, no previous Transmission installation. To install Transmission-cli I followed the instructions here http://philsturgeon.co.uk/news/2009/02/ ... erver.html which all went fine.

I configured the settings.json as follows:
"rpc-authentication-required": 0,
"rpc-enabled": 1,
"rpc-password": "",
"rpc-port": 9091,
"rpc-username": "",
"rpc-whitelist": "127.0.0.1,192.168.0.*",
"rpc-whitelist-enabled": 0,
restarted transmission daemon and from the web interface I get:
401: Unauthorized

Unauthorized IP Address.

Either disable the IP address whitelist or add your address to it.

If you're editing settings.json, see the 'rpc-whitelist' and 'rpc-whitelist-enabled' entries.

If you're still using ACLs, use a whitelist instead. See the transmission-daemon manpage for details.
transmission remote check gives:
xbmc@transmission-server:~$ transmission-remote -l
[11:26:40.529] JSON parser failed at line 1, column 1: "<h1>401: Unautho"
[11:26:40.530] transmission-remote: Unable to parse response "<h1>401: Unauthorized</h1>Unauthorized User"
Only one daemon running:
xbmc@transmission-server:~$ pgrep -l trans
2320 transmission-da
starting transmission with transmission-daemon -a 127.0.0.1,192.168.0.12 works! does it mean that settings.JSON are not read correctly?

TIA
Gary
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: Headerless Ubuntu problem

Post by rb07 »

What version of transmission are you using?

The problem could be:
  • Older T version, the syntax of the whitelist changed from 1.4x to 1.5x;
  • Your settings.json are not used because they are in the wrong place. You either specify where all the settings go on the command line used to start transmission-daemon or they automagically go into the user's home directory (user being the one running the daemon).
didwah
Posts: 2
Joined: Fri Jan 16, 2009 2:37 am

Re: Headerless Ubuntu problem

Post by didwah »

You need to change this line from:

"rpc-whitelist-enabled": 0,

to

"rpc-whitelist-enabled": 1,

or

"rpc-whitelist-enabled": true,

didwah
Post Reply