Hoping someone could point me in the right direction here. Why does this time out every time it's run?
&hs.GetURL("espn.com","/mlb",True,80)
This had been working fine for years, but just started failing a month or so ago.
I guess ESPN added SSL to their site, but &hs.GetURL("https://www.espn.com","/mlb",True,443) times out as well. I wrote a script (below) to trap the exception and I just get "Operation Timed Out."
Is there something I need to do to handle https connections that I haven't stumbled upon yet?
Thanks.
Test script:
Sub Main(ByVal Parms As Object)
dim page, newP
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls13
Try
page = hs.GetURL("https://www.espn.com", "/mlb", True, 443) 'I have tried multiple versions of this with different parameters
hs.WriteLog("Test", page)
Catch ex as Exception
hs.WriteLog("Test", ex)
End Try
End Sub
Log reads: Test ERROR: The operation has timed out
&hs.GetURL("espn.com","/mlb",True,80)
This had been working fine for years, but just started failing a month or so ago.
I guess ESPN added SSL to their site, but &hs.GetURL("https://www.espn.com","/mlb",True,443) times out as well. I wrote a script (below) to trap the exception and I just get "Operation Timed Out."
Is there something I need to do to handle https connections that I haven't stumbled upon yet?
Thanks.
Test script:
Sub Main(ByVal Parms As Object)
dim page, newP
System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls13
Try
page = hs.GetURL("https://www.espn.com", "/mlb", True, 443) 'I have tried multiple versions of this with different parameters
hs.WriteLog("Test", page)
Catch ex as Exception
hs.WriteLog("Test", ex)
End Try
End Sub
Log reads: Test ERROR: The operation has timed out
Comment