Atozed Forums
IW iw15.5.6 - nonSSL lock message when starting app as exe - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: IW iw15.5.6 - nonSSL lock message when starting app as exe (/thread-3864.html)



IW iw15.5.6 - nonSSL lock message when starting app as exe - rudyPos - 02-06-2024

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...


RE: IW iw15.5.6 - nonSSL lock message when starting app as exe - rudyPos - 02-06-2024

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