You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 27, 2025. It is now read-only.
I have searched the existing open and closed issues
Current Behavior
Downloaded books fail to import automatically.
Expected Behavior
Downloaded books to import automatically.
Steps To Reproduce
It is an intermittent issue and usually happens when downloading and importing books from a large list (~100 books or more).
Issue seems to be fixed after a restart of the Readarr container.
In this conversation, it is mentioned that there might be an issue with a cache file, haven't tested it myself yet.
Environment
- OS: Unraid 6.11.5
- Readarr: 0.1.4.1596
- Docker Install: 20.10.21
- Using Reverse Proxy: No
- Browser: Microsoft Edge Version 112.0.1722.48 (Official build) (64-bit)
- Database: Sqlite 3.38.5
What branch are you running?
Master
Trace Logs?
Couldn't import book /data/torrents/books/Lightning in a Mirror by Jayne Ann Krentz EPUB/Lightning in a Mirror by Jayne Ann Krentz.epub: Index was outside the bounds of the array.
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at System.Net.CredentialCache.Add(Uri uriPrefix, String authType, NetworkCredential cred)
at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse(HttpRequest request, CookieContainer cookies) in D:\a\1\s\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:line 75
at NzbDrone.Common.Http.HttpClient.ExecuteRequest(HttpRequest request, CookieContainer cookieContainer) in D:\a\1\s\src\NzbDrone.Common\Http\HttpClient.cs:line 124
at NzbDrone.Common.Http.HttpClient.Execute(HttpRequest request) in D:\a\1\s\src\NzbDrone.Common\Http\HttpClient.cs:line 59
at NzbDrone.Common.Http.HttpClient.Post[T](HttpRequest request) in D:\a\1\s\src\NzbDrone.Common\Http\HttpClient.cs:line 310
at NzbDrone.Core.Books.Calibre.CalibreProxy.AddBook(BookFile book, CalibreSettings settings) in D:\a\1\s\src\NzbDrone.Core\Books\Calibre\CalibreProxy.cs:line 156
at NzbDrone.Core.Books.Calibre.CalibreProxy.AddAndConvert(BookFile file, CalibreSettings settings) in D:\a\1\s\src\NzbDrone.Core\Books\Calibre\CalibreProxy.cs:line 84
at NzbDrone.Core.MediaFiles.UpgradeMediaFileService.UpgradeBookFile(BookFile bookFile, LocalBook localBook, Boolean copyOnly) in D:\a\1\s\src\NzbDrone.Core\MediaFiles\UpgradeMediaFileService.cs:line 112
at NzbDrone.Core.MediaFiles.BookImport.ImportApprovedBooks.Import(List`1 decisions, Boolean replaceExisting, DownloadClientItem downloadClientItem, ImportMode importMode) in D:\a\1\s\src\NzbDrone.Core\MediaFiles\BookImport\ImportApprovedBooks.cs:line 215
Is there an existing issue for this?
Current Behavior
Downloaded books fail to import automatically.
Expected Behavior
Downloaded books to import automatically.
Steps To Reproduce
It is an intermittent issue and usually happens when downloading and importing books from a large list (~100 books or more).
Issue seems to be fixed after a restart of the Readarr container.
In this conversation, it is mentioned that there might be an issue with a cache file, haven't tested it myself yet.
Environment
What branch are you running?
Master
Trace Logs?