Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Server 2022
#1
I have to move from Windows Server 2016 to 2022 shortly.  I've found an issue which looks to be related to httpsys and SSL.

This code works correctly on httpsys/SSL/Server2016 or non SSL from an OnClick event:

Code:
WebApplication->TerminateAndRedirect(url); and
WebApplication->Response->Cookies->AddCookie()

On httpsys/SSL/Server2022 (Non SSL works) I get blank page with this:

ERR_HTTP2_PROTOCOL_ERROR

Also, the behavior of this is different from OnClick and OnAsyncClick:

Code:
WebApplication->Terminate(custom message);

OnClick goes back to main form with new session, OnAsyncClick works correctly by showing the custom message.  This seems not related to httpsys, etc.
Reply
#2
This has been fixed and will be available in the next update, IW 15.5.5

As I said on our telegram channel, the problem happens because of duplicate Set-cookie headers in one of the responses.
It works on every other Windows version and also on Windows 2022 if using HTTP (not HTTPS), which is odd. Seems that MS slightly changed one of their APIs.

Anyway, the problem is solved in our code base
Reply
#3
This has been fixed in IW 15.5.5

https://www.atozed.com/2024/01/intraweb-15-5-5/

Cheers,
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)