Critical Error on Sparkle (Windows 11 updated)

There is a Sparkle Issue, after Windows update!

  • Delphi 12.2
  • Sparkle 3.33

After compiling the HelloWorldServer.exe demo and running it with Administrator rights, an exception is raised when the request is executed

in the following function:

unit Sparkle.HttpSys.Api;

procedure HttpCheck(HttpResult: HRESULT);
begin
if HttpResult <> NO_ERROR then
raise EHttpApiException.Create('HTTP Server API Error.' + sLineBreak + SysErrorMessage(HttpResult), HttpResult);
end;

HttpResult is valued with Code 50

The problem arose after the latest Windows 11 Update (10/15/2025)

  • 2025-10 Cumulative Update for Windows 11 Version 24H2 for x64-based Systems (KB5066835) (26100.6899)
  • 2025-10 Cumulative Update for .NET Framework 3.5 and 4.8.1 for Windows 11, Version 24H2 for x64 (KB5066131)

N.B.
On Windows 10, everything works normally.

That's a bad update from Microsoft. It's been discussed here:

Some workarounds are uninstalling the updates or disabling HTTP/2 from registry. Some users report different results for the same workaround. Hopefully Microsoft will fix this mess soon.