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.
432 stars 30 forks source link

Unrestrict link request returned status code 503 #26

Closed Varming73 closed 8 months ago

Varming73 commented 8 months ago

I'm unsure what this error actually means. I can see in the log that quite a number of files are re-downloaded and fixed by Zurg. But I start seeing a number of code 503 errors:

2024-01-01T06:12:42.317Z ERROR realdebrid Unrestrict link request returned status code 503 for link https://real-debrid.com/d/U7SBKG3ADQXY7VIROACHHHWAPI 2024-01-01T06:12:42.317Z WARN router File was changed and is not streamable: That.Dirty.Black.Bag.S01E06.Chapter.Six.To.Hell.1080p.BluRay.REMUX.AVC.DTS-HD.MA.5.1-TRiToN.mkv and (link=) 2024-01-01T06:12:42.364Z ERROR realdebrid Unrestrict link request returned status code 503 for link https://real-debrid.com/d/U7SBKG3ADQXY7VIROACHHHWAPI 2024-01-01T06:12:42.364Z WARN router File was changed and is not streamable: That.Dirty.Black.Bag.S01E06.Chapter.Six.To.Hell.1080p.BluRay.REMUX.AVC.DTS-HD.MA.5.1-TRiToN.mkv and (link=) 2024-01-01T06:12:42.412Z ERROR realdebrid Unrestrict link request returned status code 503 for link https://real-debrid.com/d/U7SBKG3ADQXY7VIROACHHHWAPI 2024-01-01T06:12:42.412Z WARN router File was changed and is not streamable: That.Dirty.Black.Bag.S01E06.Chapter.Six.To.Hell.1080p.BluRay.REMUX.AVC.DTS-HD.MA.5.1-TRiToN.mkv and (link=)

As the error clearly states the file can't be streamed any longer (but is still in Plex).

1) What does this file actually mean? 2) Should I manually monitor the log for these errors and re-download them myself or what is the recommended best practice?

PS. Thanks for your great effort, I really like Zurg and appreciate your work.

yowmamasita commented 8 months ago

Unrestricting then getting a 503 means that it is no longer cached in Real-Debrid and requires repair. It seems that based on your logs, it's not triggering a repair though. Maybe something is wrong on my logic. Let me check this and report back.

Varming73 commented 8 months ago

I've seen Zurg repair stuff before and have enable_repair: true in my config. Please tell me if you need me to test something and I would be all over it :)

yowmamasita commented 8 months ago

Yeah then definitely on my repair logic. I guess the fix will come on the next version as it doesn't sound that critical.

Varming73 commented 8 months ago

Just an update: I'm seeing this more and more in my log - a lot of files get "Unrestrict link request returned status code 503 for link" and "File was changed and is not streamable". Seems like my setup is slowy degrading due to this.

yowmamasita commented 8 months ago

Yes it should be fixed on the upcoming version.

yowmamasita commented 8 months ago

Released https://github.com/debridmediamanager/zurg-testing/wiki/zurg-is-now-v0.9.3-old