I am making a simple API call from a server side script to retrieve some basic server status information. Using the following URL I get a response that contains the text Connection Failed which is not formatted the way the documentation shows an XML error being formatted. Copying and pasting the same URL into a browser window, returns the desired XML results. I am hoping for a little illumination on the Connection Failed response I am receiving to direct my troubleshooting.
URL used: http://*redacted*/api/table.xml?content=devices&output=xml& columns=objid%2Cdevice%2Chost2Cstatus&id=2001& username=*redacted*&reqData.password=*redacted*
Further Information: This request is being made from ColdfusionMX 7 using cfhttp. Orginally I attempted to retrieve the data via Javascript with an AJAX request, and received a header only response using the same URL.
Article Comments
Further troubleshooting on my end reveals that this seems to be an SSL issue between my server and PRTG server. I am manually importing the SSL certificate now, and will see if that fixes the issue.
Mar, 2011 - Permalink
Dear Benjamin,
does the call work executed locally on the PRTG Server? Could it be any firewall or similar in between blocking it?
Best Regards.
Mar, 2011 - Permalink