Transmission - i dont have web access(403: Forbidden)

Discussion of Transmission that doesn't fit in the other categories
Post Reply
drozdii
Posts: 1
Joined: Fri Feb 04, 2011 10:52 am

Transmission - i dont have web access(403: Forbidden)

Post by drozdii »

Sorry for translate.google but my english its not so good to write it myself:

And I have this problem. For more than four months things right. The family home I have a router to which I have access through Putty and web client to the transmission. Well, once the router crashed, it reset the father and since then after switching back was my only console. Terminal site throws an error about the lack of access:
403: Forbidden

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
Well edited file settings.json-off program, enrolled and still the same. Out of curiosity, I checked if it uses at all with the location of the file and it came out that they do not:
[drozdii@WL-E0CB4E3A28E6 root]$ transmission-daemon -f
[11:25:07.944] Transmission 2.13 (11501) started (session.c:624)
[11:25:08.003] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:789)
[11:25:08.010] RPC Server Serving RPC and Web requests on port 9091 (rpc-server.c:962)
[11:25:08.015] RPC Server Whitelist enabled (rpc-server.c:966)
[11:25:08.015] Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:407)
[11:25:08.016] Couldn't bind port 51413 on ::: Address already in use (Is another copy of Transmission already running?) (net.c:407)
[11:25:08.016] Using settings from "/usr/local/root/.config/transmission-daemon" (daemon.c:483)
[11:25:08.017] Saved "/tmp/local/root/.config/transmission-daemon/settings.json" (bencode.c:1683)
[11:25:08.017] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70)
[11:25:08.018] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70)
So I checked what happens in the script that initiates the launch of "init.d"
/opt/bin/transmission-daemon -g tmp/harddisk/transmission/config
So the script is ok because this location has always had settings.json. But as seen above, reads from and writes to another in another. I was a fool. Even in those files which now have a program uses do not work. After restarting clears the changes and are the default settings. Any ideas what's going on?
Rolcol
Posts: 337
Joined: Sun Aug 10, 2008 8:00 am

Re: Transmission - i dont have web access(403: Forbidden)

Post by Rolcol »

You have to quit the daemon before editing settings.json. Transmission-daemon rewrites its settings file on exit, which overrides your changes.
Post Reply