Problem with connectiong to qBit

Sonarr version (exact version): 2.0.0.4753
OS: Windows Server 2016
Description of issue:
Hi,
I’ve noticed a problem with Sonarr being unable to connect to qBittorrent on the same machine.
I’m getting a health error that says:

Unable to retrieve queue and history items from qBit-local: JSON integer 18446744073709550000 is too large or small for an Int64. Path ‘[3].eta’, line 1, position 2647.

With following exception:

Newtonsoft.Json.JsonReaderException: JSON integer 18446744073709550000 is too large or small for an Int64. Path ‘[3].eta’, line 1, position 2647.
at Newtonsoft.Json.JsonTextReader.ParseNumber(ReadType readType)
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at NzbDrone.Common.Serializer.Json.Deserialize[T](String json) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Common\Serializer\Json.cs:line 37
at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxy.ProcessRequest[TResult](HttpRequestBuilder requestBuilder, QBittorrentSettings settings) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxy.cs:line 184
at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrentProxy.GetTorrents(QBittorrentSettings settings) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrentProxy.cs:line 64
at NzbDrone.Core.Download.Clients.QBittorrent.QBittorrent.GetItems() in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\Clients\QBittorrent\QBittorrent.cs:line 98
at NzbDrone.Core.Download.TrackedDownloads.DownloadMonitoringService.ProcessClientDownloads(IDownloadClient downloadClient) in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Download\TrackedDownloads\DownloadMonitoringService.cs:line 82

What can I do to fix it?
Thanks in advance.

Please post the full ((debug log)) that contains the error.

This issue should be resolved on the Sonarr side, but there is still an outstanding issue in qbittorent that emits the wrong value:

Well, I guess my logs are kinda irrelevant now :slight_smile: .
Besides, I can’t really reproduce the problem to capture it in the logs.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.