FoxPro Programming
WinHttp.WinHttpRequest: The connection with the server was terminated abnormally
Gravatar is a globally recognized avatar based on your email address. WinHttp.WinHttpRequest: The connection with the server was terminated abnormally
  michael needle
  All
  Nov 30, 2021 @ 02:12pm

WinHttp.WinHttpRequest: The connection with the server was terminated abnormally

murl = 'https://mobile.fmcsa.dot.gov/qc/services/carriers/1391204/docket-numbers?webKey=0aae9b0010ccfd0ae5bad6cff817cc46e286d4ed'
 
objHttp = CreateObject("WinHttp.WinHttpRequest.5.1")
objHttp.open( "GET", murl , .f.)
objHttp.Send()
?objHttp.responseText
Gravatar is a globally recognized avatar based on your email address. re: WinHttp.WinHttpRequest: The connection with the server was terminated abnormally
  Rick Strahl
  michael needle
  Dec 1, 2021 @ 02:08pm

Not sure.

I suspect perhaps TLS 1.2 issue? Are you sure this is Server 2012R2? Versions prior to 2012R2 didn't have automatic TLS 1.2 support and has to be explicitly enabled in Windows.

More info here:

Web Connection and TLS 1.2 Support

+++ Rick ---

© 1996-2024