So after some more testing this script works:---------------------------
script.ahk
---------------------------
Error: 0x80072EFE -
Source: WinHttp.WinHttpRequest
Description: The connection with the server was terminated abnormally
HelpFile: (null)
HelpContext: 0
Specifically: Send
---> 14306: HTTP.Send()
Code: Select all
HTTP := ComObjCreate("WinHttp.WinHttpRequest.5.1")
HTTP.Open("GET", "https://us-central1-workflowsample.cloudfunctions.net/datetime")
HTTP.Send()
msgbox, % HTTP.ResponseText
Other noteworthy things:
1) Using postman or putting the endpoint directly into a firefox url from my Win7 machine calls the api just fine.
2) If i remove the "s" in https when calling my server it works fine as well.
I don't know where to start when debugging this since the ahk error is pitched immediately and that's all the information I get. I know support for Win7 is pretty much done so I probably shouldn't support it anymore however I still have a handful of users on it. If anyone has any clues for how I can fix this either on AHK end or the server end please let me know!