Having the proxy in the middle no doubt complicates things, but... a socket error 10061 is a "forcibly rejected by the server" error.
If there were no proxy involved, this would mean that the server you're attempting to connect to rejected the attempt.
With the proxy it could also mean that the proxy server rejected the attempt to go through the https port, and in that case reconfiguring the proxy server *should* take care of the issue.
Edit: if it helps any, by default the https protocol uses port 443.
Talking to an API
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Talking to an API
Morning,
Thanks again for everyones comments, it really does help.
So, this morning I did a little further testing a I have been able to confirm the proxy is set up for HTTPS.
(I did this buy configuring my web browser to use the proxy setup for me and loaded the HTTPS URL)
Interestingly though, the first timeI did this the browser flagged the certificate as invalid and I had to confirm I wanted to proceed. After I did this the first time the page would load with out
any futher issues.
So,
This leads me to believe the proxy is working fine...
I am going to do some wireshark capture today (thanks for the port number) and see what I can find...
Thanks again for everyones comments, it really does help.
So, this morning I did a little further testing a I have been able to confirm the proxy is set up for HTTPS.
(I did this buy configuring my web browser to use the proxy setup for me and loaded the HTTPS URL)
Interestingly though, the first timeI did this the browser flagged the certificate as invalid and I had to confirm I wanted to proceed. After I did this the first time the page would load with out
any futher issues.
So,
This leads me to believe the proxy is working fine...
I am going to do some wireshark capture today (thanks for the port number) and see what I can find...
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: Talking to an API
Sounds good. As long as your setting libUrlSetSslVerification false you shouldn't have to worry about the invalid certificate.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev