Page 1 of 1

Downloads not working

Posted: Wed Nov 13, 2013 9:00 pm
by skipidar
I have set up a headless transmission-daemon.
I am controlling it via the WEB GUI.

The Problem : today it just stopped downloading anything. I tried different tracker (ubuntu, linuxtracker.org)
Nothing happens.
When a torrent file is added the upload and download state remains zero.
The daemon is running, I can reach the We GUI.


System:
Raspbian, which is like Debian.
The Port 51413 is used in the settingss.json, and open and visible from outside.
The firewall is disabled.

What could be the reason? How should I debug transmission-daemon?


The configurations:
{
"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": "/media/250G-sdb1/raspberrydownloads",
"download-limit": 100,
"download-limit-enabled": 0,
"download-queue-enabled": true,
"download-queue-size": 5,
"encryption": 1,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/media/250G-sda1/raspberrydownloads/incomplete",
"incomplete-dir-enabled": false,
"lpd-enabled": false,
"max-peers-global": 200,
"message-level": 2,
"peer-congestion-algorithm": "",
"peer-limit-global": 240,
"peer-limit-per-torrent": 0,
"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": false,
"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": "{588251133ab1ff9253f70d3ab856eb8a97aad6ccUskwxK2m",
"rpc-port": 9091,
"rpc-url": "/transmission/",
"rpc-username": "transmission",
"rpc-whitelist": "*",
"rpc-whitelist-enabled": false,
"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": 2,
"upload-limit": 100,
"upload-limit-enabled": 0,
"upload-slots-per-torrent": 14,
"utp-enabled": true,
"watch-dir": "/home/pi/torrents",
"watch-dir-enabled": true
}


the logs are as usual:
[20:04:59.302] Searching for web interface file "/root/.local/share/transmission/web/index.html" (platform.c:540)
[20:04:59.302] Searching for web interface file "/usr/share/transmission/web/index.html" (platform.c:540)
[20:06:12.346] Found new .torrent file "ubuntu-13.10-desktop-amd64.iso.torrent" in watchdir "/home/pi/torrents" (watch.c:141)
[20:09:36.664] Found new .torrent file "ubuntu-13.10-desktop-amd64.iso.torrent" in watchdir "/home/pi/torrents" (watch.c:141)
[20:09:36.664] Saved "/var/lib/transmission-daemon/info/torrents/ubuntu-13.10-desktop-amd64.iso.e3811b9539cacff6.torrent" (bencode.c:1731)
[20:09:36.664] ubuntu-13.10-desktop-amd64.iso Pausing (torrent.c:1763)
[20:09:36.664] Parsing .torrent file successful "ubuntu-13.10-desktop-amd64.iso.torrent" (daemon.c:250)
[20:09:36.664] Deleting input .torrent file "ubuntu-13.10-desktop-amd64.iso.torrent" (daemon.c:254)
[20:09:36.664] Saved "/var/lib/transmission-daemon/info/resume/ubuntu-13.10-desktop-amd64.iso.e3811b9539cacff6.resume" (bencode.c:1731)
[20:09:36.664] ubuntu-13.10-desktop-amd64.iso Queued for verification (verify.c:260)
[20:09:36.664] ubuntu-13.10-desktop-amd64.iso Verifying torrent (verify.c:218)
[20:09:38.666] ubuntu-13.10-desktop-amd64.iso Starting IPv4 DHT announce (poor, 116 nodes) (tr-dht.c:574)
[20:09:38.666] ubuntu-13.10-desktop-amd64.iso Could not connect to tracker (announcer.c:994)
[20:09:38.666] ubuntu-13.10-desktop-amd64.iso Retrying announce in 323 seconds. (announcer.c:1003)
[20:10:37.349] Saved "/etc/transmission-daemon/settings.json" (bencode.c:1731)
[20:10:37.349] DHT Saving 45 (45 + 0) nodes (tr-dht.c:366)
[20:10:37.349] Saved "/var/lib/transmission-daemon/info/dht.dat" (bencode.c:1731)
[20:10:37.349] Port Forwarding Stopped (port-forwarding.c:181)
[20:10:37.349] ubuntu-13.10-desktop-amd64.iso Removing torrent (torrent.c:1813)
[20:10:37.349] ubuntu-13.10-desktop-amd64.iso Pausing (torrent.c:1763)
[20:10:37.349] Saved "/var/lib/transmission-daemon/info/resume/ubuntu-13.10-desktop-amd64.iso.e3811b9539cacff6.resume" (bencode.c:1731)
[20:12:38.829] Transmission 2.52 (13304) started (session.c:718)
[20:12:38.829] RPC Server Adding address to whitelist: * (rpc-server.c:803)
[20:12:38.829] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:997)
[20:12:38.829] Port Forwarding Stopped (port-forwarding.c:181)
[20:12:38.829] DHT Reusing old id (tr-dht.c:305)
[20:12:38.829] DHT Bootstrapping from 45 IPv4 nodes (tr-dht.c:153)
[20:12:38.829] Using settings from "/var/lib/transmission-daemon/info" (daemon.c:488)
[20:12:38.829] Saved "/etc/transmission-daemon/settings.json" (bencode.c:1731)
[20:12:38.829] Watching "/home/pi/torrents" for new .torrent files (daemon.c:520)
[20:12:38.829] Using inotify to watch directory "/home/pi/torrents" (watch.c:73)
[20:12:38.829] Loaded 1 torrents (session.c:1937)
[20:12:38.829] ubuntu-13.10-desktop-amd64.iso Could not connect to tracker (announcer.c:994)
[20:12:38.829] ubuntu-13.10-desktop-amd64.iso Retrying announce in 312 seconds. (announcer.c:1003)
[20:12:42.832] ubuntu-13.10-desktop-amd64.iso Starting IPv4 DHT announce (poor, 10 nodes) (tr-dht.c:574)
[20:15:22.930] ubuntu-13.10-desktop-amd64.iso Scrape error: Could not connect to tracker (announcer.c:1259)
[20:15:22.930] ubuntu-13.10-desktop-amd64.iso Retrying scrape in 907 seconds. (announcer.c:1268)

Re: Downloads not working

Posted: Thu Nov 14, 2013 1:14 am
by JJTagy
Looks like your outbound firewall rules may be blocking port.

Re: Downloads not working

Posted: Thu Nov 14, 2013 8:12 am
by skipidar
Can that be?
I disabled the firewall by doing:

Code: Select all

iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -t raw -F
iptables -t raw -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT

Re: Downloads not working

Posted: Thu Nov 14, 2013 8:59 pm
by skipidar
It is weird, that I can upload a file which I used earlier. Transmission starts to download without any problems.
When I add new files - it does not work. The up/down speed remains 0.
So transmisssion seems to remember the file I used earlier?!

UPDATE:
The port is open.
I uninstalled transmission-daemon and installed it again.
Not it works again.
Seems to