jpillora / cloud-torrent

☁️ Cloud Torrent: a self-hosted remote torrent client
GNU Affero General Public License v3.0
5.83k stars 1.81k forks source link

keeps crash and restart when torrent starts download #338

Open yumeng426 opened 6 months ago

yumeng426 commented 6 months ago

I followed the guide to install on rpi. I used curl https://i.jpillora.com/cloud-torrent! | bash and then followed Auto-run cloud-torrent on boot to start.

The service runs fine and I can add torrents. As soon as the torrent starts to download, it crashes and restarts. I attached the syslog during one of the crash.

May 25 22:00:36 RPi4 systemd[1]: Stopped cloud-torrent.
May 25 22:00:36 RPi4 systemd[1]: Started cloud-torrent.
May 25 22:01:34 RPi4 cloud-torrent[11581]: github.com/anacrolix/torrent/storage.boltPieceCompletion.Set({0x18?}, {{0x6, 0xd8, 0xa, 0x85, 0x40, 0x5e, 0x84, 0x63, 0x57, ...}, ...}, ...)
May 25 22:01:34 RPi4 cloud-torrent[11581]:         github.com/anacrolix/torrent@v1.55.0/storage/bolt-piece-completion.go:74 +0xfc
May 25 22:01:34 RPi4 cloud-torrent[11581]: github.com/anacrolix/torrent/storage.(*filePieceImpl).MarkNotComplete(0x400348ea88?)
May 25 22:01:34 RPi4 cloud-torrent[11581]:         github.com/anacrolix/torrent@v1.55.0/storage/file-piece.go:58 +0x64
May 25 22:01:34 RPi4 cloud-torrent[11581]: github.com/anacrolix/torrent.(*Torrent).pieceHashed(0x400348ea88, 0x11, 0x0, {0xb00520, 0x101a620?})
May 25 22:01:34 RPi4 cloud-torrent[11581]:         github.com/anacrolix/torrent@v1.55.0/torrent.go:2208 +0x6b8
May 25 22:01:34 RPi4 cloud-torrent[11581]: github.com/anacrolix/torrent.(*Torrent).pieceHasher(0x400348ea88, 0x11)
May 25 22:01:34 RPi4 cloud-torrent[11581]:         github.com/anacrolix/torrent@v1.55.0/torrent.go:2340 +0x378
May 25 22:01:34 RPi4 cloud-torrent[11581]: created by github.com/anacrolix/torrent.(*Torrent).tryCreatePieceHasher in goroutine 3690
May 25 22:01:34 RPi4 cloud-torrent[11581]:         github.com/anacrolix/torrent@v1.55.0/torrent.go:2278 +0x22c
May 25 22:01:34 RPi4 systemd[1]: cloud-torrent.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 25 22:01:34 RPi4 systemd[1]: cloud-torrent.service: Failed with result 'exit-code'.
May 25 22:01:37 RPi4 systemd[1]: cloud-torrent.service: Scheduled restart job, restart counter is at 2.
May 25 22:01:37 RPi4 systemd[1]: Stopped cloud-torrent.
May 25 22:01:37 RPi4 systemd[1]: Started cloud-torrent.
zhouLife commented 5 months ago

Downloads often crash Can't access this website X.X.X.X rejected our connection request. Please try the following:

Check network connection Check proxy server and firewall ERR_CONNECTION_REFUSED