Atozed Forums

Full Version: IW iw15.5.6 - nonSSL lock message when starting app as exe
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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...
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