debridmediamanager / zurg-testing

A self-hosted Real-Debrid webdav server you can use with Infuse. Together with rclone it can mount your Real-Debrid torrent library into your filesystem and load it to Plex or Jellyfin.
353 stars 28 forks source link

Bug: Unplayable download items cause realdebrid to stop answering #79

Open kudddyyy opened 5 months ago

kudddyyy commented 5 months ago

Actual Behavior When playing a video that RealDebrid fails to unrestrict or fails to play, instead of moving it to unplayable zurg testing keeps spamming RealDebrid to get it to play. This causes RealDebrid to simply start ignoring requests from my IP !

Operating System Windows

Environment Setup Zurg's binary, latest version (.9)

Logs 2024-02-10T11:43:49.560+0100 WARN router Cannot download file https://42.download.real-debrid.com/d/M5CSQEVS3UKCA/Spiderman.2002.REMASTERED.1080p.BluRay.H264.AAC-RARBG.mp4: Get "https://42.download.real-debrid.com/d/M5CSQEVS3UKCA/Spiderman.2002.REMASTERED.1080p.BluRay.H264.AAC-RARBG.mp4": net/http: timeout awaiting response headers 2024-02-10T11:45:52.549+0100 WARN router Cannot download file https://42.download.real-debrid.com/d/VAGF2FAW2DJGE/Spiderman.2002.REMASTERED.1080p.BluRay.H264.AAC-RARBG.mp4: Get "https://42.download.real-debrid.com/d/VAGF2FAW2DJGE/Spiderman.2002.REMASTERED.1080p.BluRay.H264.AAC-RARBG.mp4": net/http: timeout awaiting response headers 2024-02-10T11:47:55.484+0100 WARN router Cannot download file https://42.download.real-debrid.com/d/7WLLKZPCR36JO/Spiderman.2002.REMASTERED.1080p.BluRay.H264.AAC-RARBG.mp4: Get "https://42.download.real-debrid.com/d/7WLLKZPCR36JO/Spiderman.2002.REMASTERED.1080p.BluRay.H264.AAC-RARBG.mp4": net/http: timeout awaiting response headers 2024-02-10T11:49:58.530+0100 WARN router Cannot download file https://42.download.real-debrid.com/d/BKBEPHSUHWFIA/Spiderman.2002.REMASTERED.1080p.BluRay.H264.AAC-RARBG.mp4: Get "https://42.download.real-debrid.com/d/BKBEPHSUHWFIA/Spiderman.2002.REMASTERED.1080p.BluRay.H264.AAC-RARBG.mp4": net/http: timeout awaiting response headers 2024-02-10T11:51:51.287+0100 WARN router Cannot download file https://42.download.real-debrid.com/d/PSC7JET2QL7WA/Spiderman.2002.REMASTERED.1080p.BluRay.H264.AAC-RARBG.mp4: Get "https://42.download.real-debrid.com/d/PSC7JET2QL7WA/Spiderman.2002.REMASTERED.1080p.BluRay.H264.AAC-RARBG.mp4": EOF 2024-02-10T11:53:13.950+0100 WARN router Cannot download file https://42.download.real-debrid.com/d/PSC7JET2QL7WA/Spiderman.2002.REMASTERED.1080p.BluRay.H264.AAC-RARBG.mp4: Get "https://42.download.real-debrid.com/d/PSC7JET2QL7WA/Spiderman.2002.REMASTERED.1080p.BluRay.H264.AAC-RARBG.mp4": read tcp 192.168.1.122:14239->94.140.5.5:443: wsarecv: An existing connection was forcibly closed by the remote host.

yowmamasita commented 4 months ago

it's possible that all these requests came in simultaneously given Plex scanning and rclone's behavior so the file is still being checked if unrestrictable or not

Anyhow, there is a more restrictive behavior coming in on the next release but expect this behavior to be similar to this