Web Connection
wwHTTP and TLS
We use this code to confirm Google reCaptchas:
loHTTP = CREATEOBJECT('wwHTTP')
loHTTP.nhttpPostmode = 1
loHTTP.AddPostkey([response], cRecaptcha)
loHTTP.AddPostkey([secret], lcSecret)
lcResult = loHTTP.Httpget([https://www.google.com/recaptcha/api/siteverify])
This started failing on one of our sites - we're getting: A connection with the server could not be established (nError=12029) The admin says this happened when he disabled TLS 1.0. Does that make any sense?
I suggested there was a firewall issue of some sort but he claims he can hit that address if he brings up a browser from the server console. Then what would prevent wwHTTP from hitting the same site?
--stein
What OS are you calling from?
Old operating systems (XP and Vista if I recall) don't work with TLS 1.2 if using the Windows HTTP APIs (as wwHttp does). Windows 7 and 8 need registry flags to enable it, and Windows 8.1 and 10 should just work.
Here's more detail...