Cannot update from 5.22.02 - 404 response on update file
Whenever I run the "Check Update", nothing visible happens. Upon checking the log file though, I can see there is a 404 being reported for the update file.
5.22.02 2020-11-09T14:45:27.6569748+11:00 Downloading update from: https://www.linqpad.net/GetFile.aspx?updates5+543 5.22.02 2020-11-09T14:45:28.7630375+11:00 Downloading update from: http://www.linqpad.net/updates50/543 5.22.02 2020-11-09T14:45:28.9725506+11:00 CheckForUpdates - WebException: The remote server returned an error: (404) Not Found. at System.Net.WebClient.DownloadFile(Uri address, String fileName) at System.Net.WebClient.DownloadFile(String address, String fileName) at LINQPad.UpdateAgent.CheckForUpdates(Object caller, Boolean optionalVersion) First chance data: LINQPad.UpdateAgent.CheckForUpdates(caller,optionalVersion) offset=0x1EF -LINQPad.UpdateAgent.RunServerComms(caller,optionalVersion) offset=0x8 -LINQPad.Program+<>c__DisplayClass104_0.<DownloadUpdates>b__0() offset=0x11
I've tried opening the link via the browser and this also fails to load with a 404.
Comments
Maybe something strange is going on with local caching or your DNS resolution.
https://www.linqpad.net/GetFile.aspx?updates5+543 should redirect to https://linqpad.azureedge.net/updates5/543
The link https://linqpad.net/GetFile.aspx?updates5+543 works fine, the problem is linqpad.net/updates50/543
I have resolved this issue by manually saving the response from the call to https://linqpad.net/GetFile.aspx?updates5+543, renaming the file to LINQPad.exe and copying it over the 5.22.02 version of LINQPad.exe in the "C:\Program Files (x86)\LINQPad5" directory.