We are using Powerbuilder 2019 build 2082 and the deployed applications are running on windows server 2012. The restclient object sendGetRequest() is returning a -1.
This works great on windows 10 from the IDE and it also works when deployed to a windows server 2016 vm.
All of our production servers for this application are windows server 2012 and we tested it on windows server 2016.
ls_url = "https://some_url.com"
lrc_insideview.SecureProtocol = 0
li_return = lrc_insideview.SendGetRequest(ls_url, ls_json)
The code is really simple. Does this work on windows server 2012?
Thanks for providing the sample script. I reproduced the issue on Windows Server 2012 R2, and it seems a site or OS-related issue. I failed to access the URLs below on IE on Windows Server 2012 R2, though both URLs work well on Chrome on the same machine. The RestClient object depends on Windows API, so it might have the same root cause as IE. We will escalate this problem to our development team for further analysis.
https://api.insideview.com
https://api.insideview.com/api/v1/company/17085
Regards,
ZhaoKai
Windows Server 2012 R2 does not support HTTP/2 when using Windows System DLLs. It works when making not use of the system dlls like curl or OpenSSL.
Regards
Arthur