Checking for updates was working fine, but after upgrading from 2019.3.5 LTS to 2019.9.3 LTS checking for updates fails with a JSON error.
Failed checking for updates Newtonsoft.Json.JsonSerializationException: No JSON content found. Path '', line 0, position 0.
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Populate(JsonReader reader, Object target)
at Newtonsoft.Json.JsonSerializer.PopulateInternal(JsonReader reader, Object target)
at Newtonsoft.Json.JsonConvert.PopulateObject(String value, Object target, JsonSerializerSettings settings)
at Octopus.Server.Schedules.CheckForOctopusUpgrades.CheckForUpdates() in C:\buildAgent\work\abb2fbfce959a439\source\Octopus.Server\Schedules\CheckForOctopusUpgrades.cs:line 216
Server 2012 R2 with .NET Framework 4.8.4010.0 and PowerShell 5.1.14409.1018