DJDoubleD / QobuzDownloaderX-MOD

Downloads streams directly from Qobuz. Experimental refactoring of QobuzDownloaderX by AiiR
GNU General Public License v3.0
530 stars 17 forks source link

[Bug] Goodies fail to download #26

Closed Goldmaster closed 1 year ago

Goldmaster commented 1 year ago

🐞 Bug Report

Describe the bug


Is this a regression?

I have tried a couple of times but seam to fail

Error Message

Goodies found, downloading...Failed to download (First Phase). Error information below.

System.AggregateException: One or more errors occurred. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at System.Threading.Tasks.Task`1.get_Result()
   at QobuzDownloaderX.QobuzDownloaderX.DownloadAlbum(Album qobuzAlbum, String basePath, Boolean loadTracks, String albumPathSuffix)
   at QobuzDownloaderX.QobuzDownloaderX.DownloadAlbumBG_DoWork(Object sender, DoWorkEventArgs e)
---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---

Expected behaviour


Screenshots


Additional context

*

DJDoubleD commented 1 year ago

Error is probably due to HTTP time-out during large digital booklet download. Default time-out for HTTP requests seems to be 100 seconds. Will try setting allowed time-out to 30 minutes and see if problem persists.

Goldmaster commented 1 year ago

Thank you

Don't see any option for any such setting

Message ID: @.***>

DJDoubleD commented 1 year ago

After more testing, I think there were some problems on Qobuz's side, causing the time-out's. Error handling in general and of digital booklets in specific has been improved in the latest release.

I'm closing the issue for the time being. Feel free to re-open the issue if it persists in the latest release (please include error logs).