IW iw15.5.6 - nonSSL lock message when starting app as exe

<< Click to Display Table of Contents >>

Navigation:  Forum >

IW iw15.5.6 - nonSSL lock message when starting app as exe

Forum link

 

 

 


 

02-06-2024, 03:41 PM:

 

I will go back to 15.5.5 to check,

 

Here is the message I get, but the application still works for HTTP:

 

"SSLOptions.NonSSLRequest(is locked. Suggestion: Set in ServerController OnConfig event instead."

 

I CAN SEE it did not get this error in 15.4.1

 

Please advise

 

TIA

 

 

 

IW 15.5.5 shows same error message...

 

 

 


 

02-06-2024, 04:56 PM:

 

More information - the issue occurs during IWServerControllerBaseCreate

 

because that is where I am setting the parameter: (bUseHTTPS is read from an ini file)

 

if not bUseHTTPS then

 

begin

 

Port := iPort;

 

SSLOptions.Port := 0;

 

SSLOptions.NonSSLRequest := nsAccept;

 

end

 

else

 

begin

 

SSLOptions.Port := iPort;

 

SSLOptions.NonSSLRequest := nsBlock;

 

end;

 

 

 

Solved...?

 

move OnCreate code to OnConfig event - called before OnCreate...

 

ok by me