You are not logged in.

#1 2013-02-03 20:37:34

ridley
Member
Registered: 2004-03-05
Posts: 19

403 error on Transmission web interface

I'm not sure if it was the change to systemd or a recent update, but I can no longer reach the transmission interface. I get a 403 error.

I followed the transmission guide on the wiki

output of 'systemctl status transmission.service'

transmission.service - Transmission Bit Torrent Daemon
          Loaded: loaded (/etc/systemd/system/transmission.service; enabled)
          Active: active (running) since Sun 2013-02-03 15:16:22 EST; 3s ago
         Process: 2464 ExecStart=/usr/bin/transmission-daemon --pid-file /run/transmission/transmission.pid (code=exited, status=0/SUCCESS)
        Main PID: 2465 (transmission-da)
          CGroup: name=systemd:/system/transmission.service
                  `-2465 /usr/bin/transmission-daemon --pid-file /run/transmission/transmission.pid

Feb 03 15:16:23 server transmission-daemon[2465]: Using settings from "/var/lib/transmission/.config/transmission-daemon" (daemon.c:517)
Feb 03 15:16:23 server transmission-daemon[2465]: Saved "/var/lib/transmission/.config/transmission-daemon/settings.json" (bencode.c:1733)
Feb 03 15:16:23 server transmission-daemon[2465]: Saved pidfile "/run/transmission/transmission.pid" (daemon.c:529)
Feb 03 15:16:23 server transmission-daemon[2465]: Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:72)
Feb 03 15:16:23 server transmission-daemon[2465]: Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:72)
Feb 03 15:16:25 server transmission-daemon[2465]: Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.1.1:1780/control?WANIPConnection" (upnp.c:202)
Feb 03 15:16:25 server transmission-daemon[2465]: Port Forwarding (UPnP) Local Address is "192.168.1.99" (upnp.c:204)
Feb 03 15:16:25 server transmission-daemon[2465]: Port Forwarding (UPnP) Port forwarding through "http://192.168.1.1:1780/control?WANIPConnection", service "urn:schemas-upnp-org:service:WANIPConn...) (upnp.c:279)
Feb 03 15:16:25 server transmission-daemon[2465]: Port Forwarding (UPnP) Port forwarding successful! (upnp.c:282)
Feb 03 15:16:25 server transmission-daemon[2465]: Port Forwarding State changed from "Not forwarded" to "Forwarded" (port-forwarding.c:93)

I think

Saved "/var/lib/transmission/.config/transmission-daemon/settings.json" (bencode.c:1733)

means that it is writing settings.json rather than reading it?

My previous settings.json seems to have disappeared, so here is the new one:

{
    "alt-speed-down": 50, 
    "alt-speed-enabled": false, 
    "alt-speed-time-begin": 540, 
    "alt-speed-time-day": 127, 
    "alt-speed-time-enabled": false, 
    "alt-speed-time-end": 1020, 
    "alt-speed-up": 50, 
    "bind-address-ipv4": "0.0.0.0", 
    "bind-address-ipv6": "::", 
    "blocklist-enabled": true, 
    "blocklist-url": "http://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz", 
    "cache-size-mb": 4, 
    "dht-enabled": true, 
    "download-dir": "/home/net/Data/Incoming/", 
    "download-queue-enabled": true, 
    "download-queue-size": 5, 
    "encryption": 1, 
    "idle-seeding-limit": 30, 
    "idle-seeding-limit-enabled": false, 
    "incomplete-dir": "/var/lib/transmission/Downloads", 
    "incomplete-dir-enabled": false, 
    "lpd-enabled": false, 
    "message-level": 2, 
    "peer-congestion-algorithm": "", 
    "peer-limit-global": 240, 
    "peer-limit-per-torrent": 60, 
    "peer-port": 51413, 
    "peer-port-random-high": 65535, 
    "peer-port-random-low": 49152, 
    "peer-port-random-on-start": false, 
    "peer-socket-tos": "default", 
    "pex-enabled": true, 
    "pidfile": "/run/transmission/transmission.pid", 
    "port-forwarding-enabled": true, 
    "preallocation": 1, 
    "prefetch-enabled": 1, 
    "queue-stalled-enabled": true, 
    "queue-stalled-minutes": 30, 
    "ratio-limit": 2, 
    "ratio-limit-enabled": false, 
    "rename-partial-files": true, 
    "rpc-authentication-required": false, 
    "rpc-bind-address": "0.0.0.0", 
    "rpc-enabled": true, 
    "rpc-password": "{f55d88d52b4b55839a79665dce62a955be011599..wVHSMh", 
    "rpc-port": 9091, 
    "rpc-url": "/transmission/", 
    "rpc-username": "", 
    "rpc-whitelist": "127.0.0.1,192.168.*.*", 
    "rpc-whitelist-enabled": true, 
    "scrape-paused-torrents-enabled": true, 
    "script-torrent-done-enabled": false, 
    "script-torrent-done-filename": "", 
    "seed-queue-enabled": false, 
    "seed-queue-size": 10, 
    "speed-limit-down": 100, 
    "speed-limit-down-enabled": false, 
    "speed-limit-up": 100, 
    "speed-limit-up-enabled": false, 
    "start-added-torrents": true, 
    "trash-original-torrent-files": false, 
    "umask": 0, 
    "upload-slots-per-torrent": 14, 
    "utp-enabled": true
}

Is this RPC? file permissions? Not sure where to start.


this space for rent

Offline

#2 2013-02-03 23:19:54

mattyboy11
Member
Registered: 2013-02-03
Posts: 4

Re: 403 error on Transmission web interface

Can you show the service file config please ? smile And the transmission-daemon config smile

Last edited by mattyboy11 (2013-02-03 23:29:28)

Offline

#3 2013-02-04 00:03:14

ridley
Member
Registered: 2004-03-05
Posts: 19

Re: 403 error on Transmission web interface

mattyboy11 wrote:

Can you show the service file config please ? smile And the transmission-daemon config smile

No problem.

Here is /etc/systemd/system/transmission.service

[Unit]
Description=Transmission Bit Torrent Daemon

# This assumes that a user 'transmission' exists, with a writeable homedirectory,
# and that /run/transmission exists and is writeable by the transmission user.

[Service]
User=transmission
Type=forking
PIDFile=/run/transmission/transmission.pid
ExecStart=/usr/bin/transmission-daemon --pid-file /run/transmission/transmission.pid

[Install]
WantedBy=multi-user.target

Here is /etc/tmpfiles.d/transmission.conf

d /run/transmission - transmission transmission -

the file I posted previously is from /var/lib/transmission/.config/transmission-daemon/settings.json .   Is that what you mean? Is there a transmission-daemon config file somewhere else?


this space for rent

Offline

#4 2013-03-02 18:26:03

jul16ares
Member
Registered: 2013-03-02
Posts: 9

Re: 403 error on Transmission web interface

Hello,

I get same issue here on pogoplug/dockstar

Offline

Board footer

Powered by FluxBB