Skip to main content

I am having a problem getting a HTTPCALLER do a GET from a custom API. I can successfully connect to the same API url in a web browser but get the error below from the HTTPCALLER. I am using the HTTPCALLER with similar APIs without issue. The url for this API is a little different than previous urls I have used so maybe that is an issue?

Previous urls were like https://.../name/2A159

Problem url is like https://.../name/2A159/Family?rtuFamily=C where the GET has to match both 2A159 and rtuFamily=C

 

HTTPCaller_4 (HTTPFactory): HTTP/FTP transfer error: 'SSL connect error'

HTTPCaller_4 (HTTPFactory): Please ensure that your network connection is properly set up

HTTPCaller_4 (HTTPFactory): No proxy settings have been entered. If you require a proxy to access external URLs, please ensure the appropriate information has been entered

What happens if you try connecting to https://apid.sfwmd.gov -- do you get any response at all?


What happens if you try connecting to https://apid.sfwmd.gov -- do you get any response at all?

I get the same error when connecting to https://apid.sfwmd.gov but I also cannot connect directly to  https://apid.sfwmd.gov  through a browser.


Hi @dkirouac​ ,

 

In the HTTPCaller under the section 'HTTP Client Options' please can you set the 'Verify SSL Certificates' to 'No' and try making the call again? Let me know if that doesn't work and I'll think about what other troubleshooting steps you might be able to take.


Hi @dkirouac​ ,

 

In the HTTPCaller under the section 'HTTP Client Options' please can you set the 'Verify SSL Certificates' to 'No' and try making the call again? Let me know if that doesn't work and I'll think about what other troubleshooting steps you might be able to take.

Hi Holly,

I set  'Verify SSL Certificates' to 'No'  but I still get the same error. I should clarify that the previous APIs and URLs that I have successfully used the HTTPCALLER with are different than the API and URL that I am having this issue with. The previous APIs only required a name at the end of the URL (like  .../2A159) but this API requires the name and the rtuFamily field where it equals a value (like .../2A159/Family?rtuFamily=C ). The API also has an option to query all the records by just using .../rtus but this also fails with the HTTPCALLER (works in a browser).

Thanks, David


I get the same error when connecting to https://apid.sfwmd.gov but I also cannot connect directly to  https://apid.sfwmd.gov  through a browser.

What happens if you try to open https://apid.sfwmd.gov/v1/crs-rtu/rtus/2A159/Family?rtuFamily=C in a browser?


I get the same error when connecting to https://apid.sfwmd.gov but I also cannot connect directly to  https://apid.sfwmd.gov  through a browser.

Hi David,

It works fine in a browser. I have to put in the credentials but it works.

Thanks, David


I get the same error when connecting to https://apid.sfwmd.gov but I also cannot connect directly to  https://apid.sfwmd.gov  through a browser.

Are you behind a proxy? If yes, you'll probably have to enable it in the FME Options ("use system proxy")

 


I get the same error when connecting to https://apid.sfwmd.gov but I also cannot connect directly to  https://apid.sfwmd.gov  through a browser.

I don't believe there is a proxy since the root of the url is the same as previous urls I have successfully used with HTTPCALLER but I would have to ask someone else to make sure. Would I just set the proxy in the FME Options?


I get the same error when connecting to https://apid.sfwmd.gov but I also cannot connect directly to  https://apid.sfwmd.gov  through a browser.

Simply make sure that under Tools / FME Options / Network Proxy, that "Use system proxy settings" is enabled. That way FME will use the same proxy as your browser, if any.


I get the same error when connecting to https://apid.sfwmd.gov but I also cannot connect directly to  https://apid.sfwmd.gov  through a browser.

The person that manages the API says that there is a proxy. I tried enabling "Use system proxy settings" but it still failed. I am going to meet with the API person later this morning to see if we can get it to work. He mentioned applying CORS. I will let you know later today if it works.


I get the same error when connecting to https://apid.sfwmd.gov but I also cannot connect directly to  https://apid.sfwmd.gov  through a browser.

Thanks for you help. The issue ended up being a SLL problem in the dev environment.


Reply