NetTalk Central

Author Topic: NET ERROR: Attempt to Redirect from HTTP to HTTPS - correct the URL [http://sesi  (Read 335 times)

MikeR

  • Sr. Member
  • ****
  • Posts: 268
    • View Profile
    • Email
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 ? 

Jane

  • Sr. Member
  • ****
  • Posts: 402
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email

MikeR

  • Sr. Member
  • ****
  • Posts: 268
    • View Profile
    • Email
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.

Jane

  • Sr. Member
  • ****
  • Posts: 402
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
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://


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11313
    • View Profile
 correct the URL [http://sesiro.cloudcover.insure/apiTotalPolicyRecalc] to [https://sesiro.cloudcover.insure/apiTotalPolicyRecalc]