Opened 12 years ago

Closed 12 years ago

#2915 closed Bug (fixed)

Web/RPC doesn't work

Reported by: HSerg Owned by:
Priority: Normal Milestone: None Set
Component: Daemon Version: 1.83
Severity: Normal Keywords:
Cc:

Description

Web/RPC don`t work after starting transmission-daemon. In rare cases - all working normally. Transmission 1.7x - working without problems.

Ubuntu 9.10 Server, Transmission 1.83 from TransmissionBT PPA Repo.

$ sudo transmission-daemon -g /var/lib/transmission-daemon/info -f

[00:10:57.066] Starting libevent thread
[00:10:58.171] Transmission 1.83 (10040) started (session.c:647)
[00:10:58.171] RPC Server Adding address to whitelist: 127.0.0.* (rpc-server.c:772)
[00:10:58.171] RPC Server Adding address to whitelist: 192.168.13.* (rpc-server.c:772)
[00:10:58.171] RPC Server Serving RPC and Web requests on port 9091 (rpc-server.c:945)
[00:10:58.171] RPC Server Whitelist enabled (rpc-server.c:949)
[00:10:58.171] Bound socket 11 to port 53173 on 0.0.0.0 (net.c:363)
[00:10:58.171] Bound socket 12 to port 53173 on :: (net.c:363)
[00:10:58.171] setrlimit( RLIMIT_NOFILE, 1024 ) (fdlimit.c:837)
[00:10:58.171] socket limit is 200 (fdlimit.c:845)
[00:10:58.171] Using settings from "/var/lib/transmission-daemon/info" (daemon.c:385)
[00:10:58.172] tr_bencToFile saved "/var/lib/transmission-daemon/info/settings.json" (bencode.c:1547)
[00:10:58.172] Saved "/var/lib/transmission-daemon/info/settings.json" (session.c:467)
[00:10:58.172] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:67)
[00:10:58.172] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:67)

$ netstat -a | grep 9091

Proto Recv-Q Send-Q Local Address Foreign Address State
tcp        0      0 *:9091                  *:*                     LISTEN
tcp      266      0 localhost:9091          localhost:43079         CLOSE_WAIT

$ transmission-remote -b -si

posting:
--------
{"arguments":{},"method":"session-get","tag":0}

--------
* Couldn't find host localhost in the .netrc file; using defaults
* About to connect() to localhost port 9091 (#0)
*   Trying ::1... * Connection refused
*   Trying 127.0.0.1... * connected
* Connected to localhost (127.0.0.1) port 9091 (#0)
> POST /transmission/rpc HTTP/1.1
User-Agent: transmission-remote/1.83 (10040)
Host: localhost:9091
Accept: */*
Accept-Encoding: deflate, gzip
Content-Length: 48
Content-Type: application/x-www-form-urlencoded

* Operation timed out after 60000 milliseconds with 0 bytes received
* Closing connection #0
* Timeout was reached

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

{
    "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": false,
    "dht-enabled": false,
    "download-dir": "\/var\/lib\/transmission-daemon\/downloads",
    "download-limit": 100,
    "download-limit-enabled": 0,
    "encryption": 1,
    "incomplete-dir": "\/var\/lib\/transmission-daemon\/info\/Incomplete",
    "incomplete-dir-enabled": false,
    "lazy-bitfield-enabled": true,
    "max-peers-global": 200,
    "message-level": 3,
    "open-file-limit": 32,
    "peer-limit-global": 200,
    "peer-limit-per-torrent": 60,
    "peer-port": 53173,
    "peer-port-random-enabled": 0,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 1024,
    "peer-port-random-on-start": false,
    "peer-socket-tos": 0,
    "pex-enabled": true,
    "port-forwarding-enabled": true,
    "preallocation": 2,
    "proxy": "",
    "proxy-auth-enabled": false,
    "proxy-auth-password": "",
    "proxy-auth-username": "",
    "proxy-enabled": false,
    "proxy-port": 80,
    "proxy-type": 0,
    "ratio-limit": 2.0000,
    "ratio-limit-enabled": false,
    "rename-partial-files": true,
    "rpc-authentication-required": false,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-password": "{e1077dce4f6a1a76a126f9ee8406d80826cb238dlaYIba9y",
    "rpc-port": 9091,
    "rpc-username": "",
    "rpc-whitelist": "127.0.0.*,192.168.13.*",
    "rpc-whitelist-enabled": true,
    "speed-limit-down": 100,
    "speed-limit-down-enabled": false,
    "speed-limit-up": 80,
    "speed-limit-up-enabled": true,
    "umask": 18,
    "upload-limit": 100,
    "upload-limit-enabled": 0,
    "upload-slots-per-torrent": 14
}

Change History (2)

comment:1 Changed 12 years ago by charles

  • Summary changed from Web/RPC don`t work to Web/RPC doesn't work

comment:2 Changed 12 years ago by HSerg

  • Resolution set to fixed
  • Status changed from new to closed

Problem related with "port forwarding". Fixed in 1.92.

Note: See TracTickets for help on using tickets.