NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: MikeR on June 27, 2025, 11:50:11 PM
-
NET ERROR: Attempt to Redirect from HTTP to HTTPS - correct the URL [http://sesiro.cloudcover.insure/apiTotalPolicyRecalc] to [https://sesiro.cloudcover.insure/apiTotalPolicyRecalc]
I am getting the above error when I upgraded my nettalk from nettalk 11 to nettalk 14
I am doing a get to a url "sesiro.cloudcover.insure" ie. from my nettalk 14 app to my nettalk 14 app.
It worked in Nettalk 11 without a https:// prefix.
Is there a setting or new DLL I missed for Nettalk 14 ?
-
https://capesoft.com/docs/NetTalk14/NetTalkWebClient.Htm#UpgradeOptionDontRedirectHTTPtoHTTPS
-
Thank You.
But How do I fix it I call "sesiro.cloudcover.insure" in my code (p_web.RequestHost) do I have to explicitly call "https://" in front to fix it.
-
I don't know, Mike.
I suppose you could either
1. specify https://
2. set OptionDontRedirectHTTPtoHTTPS to FALSE
But you do realize that Obi Wan is nagging you - and deliberately put that error onto line 1780 in NetWww.clw ;)
There's code in the few lines preceding that where he decides how to deal with something that doesn't have http:// or https://
-
correct the URL [http://sesiro.cloudcover.insure/apiTotalPolicyRecalc] to [https://sesiro.cloudcover.insure/apiTotalPolicyRecalc]