Opened 11 years ago

Closed 11 years ago

#4110 closed Bug (worksforme)

Transmission times out or cannot connect to server

Reported by: Sirromanov Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 2.22
Severity: Normal Keywords:
Cc:

Description

After a recent update of my system, transmission-daemon does only work on rare occassions or after an undetermined delay. Most of the time, successively restarting transmission-daemon brings one of the following errors:

romano@laptop:~$ transmission-daemon
romano@laptop:~$ transmission-remote -l
[22:30:18.775] transmission-remote: (http://localhost:9091/transmission/rpc/)
Couldn't connect to server

romano@laptop:~$ transmission-daemon
romano@laptop:~$ transmission-remote -l
(after a while)
[22:44:21.111] transmission-remote: (http://localhost:9091/transmission/rpc/) 
Timeout was reached

romano@laptop:~$ cat /etc/conf.d/transmissiond
TRANSMISSION_HOME=/home/romano
TRANS_USER="romano"

romano@laptop:~$ cat .config/transmission-daemon/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, 
    "blocklist-url": "http://www.example.com/blocklist", 
    "cache-size-mb": 4, 
    "dht-enabled": true, 
    "download-dir": "/home/romano/Desktop/Downloads/", 
    "encryption": 1, 
    "idle-seeding-limit": 30, 
    "idle-seeding-limit-enabled": false, 
    "incomplete-dir": "/home/romano/Desktop", 
    "incomplete-dir-enabled": false, 
    "lazy-bitfield-enabled": true, 
    "lpd-enabled": false, 
    "message-level": 2, 
    "open-file-limit": 32, 
    "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, 
    "port-forwarding-enabled": true, 
    "preallocation": 1, 
    "prefetch-enabled": 1, 
    "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": "{77be5dc0b18b1d81295f0ae7adb2871d0c259798PJdZEKeg", 
    "rpc-port": 9091, 
    "rpc-url": "/transmission/", 
    "rpc-username": "", 
    "rpc-whitelist": "127.0.0.1,192.168.*.*", 
    "rpc-whitelist-enabled": true, 
    "script-torrent-done-enabled": false, 
    "script-torrent-done-filename": "", 
    "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": 18, 
    "upload-slots-per-torrent": 14
}

romano@laptop:~$ cat /var/log/messages.log
Mar 12 22:46:39 laptop transmission-daemon[4028]:
 Transmission 2.22 (12099) started (session.c:708)
Mar 12 22:46:39 laptop transmission-daemon[4028]:
 RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:807)
Mar 12 22:46:39 laptop transmission-daemon[4028]:
 RPC Server Adding address to whitelist: 192.168.*.* (rpc-server.c:807)
Mar 12 22:46:39 laptop transmission-daemon[4028]:
 RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:985)
Mar 12 22:46:39 laptop transmission-daemon[4028]:
 RPC Server Whitelist enabled (rpc-server.c:989)
Mar 12 22:46:39 laptop transmission-daemon[4028]:
 DHT Reusing old id (tr-dht.c:302)
Mar 12 22:46:39 laptop transmission-daemon[4028]:
 DHT Bootstrapping from 68 nodes (tr-dht.c:151)
Mar 12 22:46:39 laptop transmission-daemon[4028]:
 Using settings from "/home/romano/.config/transmission-daemon" (daemon.c:498)
Mar 12 22:46:39 laptop transmission-daemon[4028]:
 Saved "/home/romano/.config/transmission-daemon/settings.json" (bencode.c:1716)
Mar 12 22:46:39 laptop transmission-daemon[4028]:
 Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70)
Mar 12 22:46:39 laptop transmission-daemon[4028]:
 Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70)

romano@laptop:~$ transmission-remote --version
transmission-remote 2.22 (12099)

romano@laptop:~$ uname -r
2.6.37-ARCH

romano@laptop:~$ pacman -Q transmission-cli curl libevent
transmission-cli 2.22-1
curl 7.21.4-2
libevent 2.0.10-1

Change History (2)

comment:1 Changed 11 years ago by jordan

  • Priority changed from Highest to Normal
  • Severity changed from Blocker to Normal

I'm not seeing other people encounter this, so changing priority/severity.

What happens if you turn of port forwarding in the daemon?

comment:2 Changed 11 years ago by livings124

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

This is most likely a configuration issue. You'll get better support in the forums.

Note: See TracTickets for help on using tickets.