I am trying to test a very simple cfhttp
request on my server.
<cfhttp
result="result"
method="GET"
charset="utf-8"
url="https://jessicaharbydotcom.tumblr.com/"
>
</cfhttp>
<cfdump var="#result#">
When I execute this I get the following response:
struct
Charset [empty string]
ErrorDetail I/O Exception: peer not authenticated
Filecontent Connection Failure
Header [empty string]
Mimetype Unable to determine MIME type of file.
Responseheader
struct [empty]
Statuscode Connection Failure. Status code unavailable.
Text YES
(image attached which is a little clearer)
It works when running from here: https://trycf.com/ (I am trying to register and/or reset my password as I am sure I have used this service in the past) but here is a screendump showing the result
The default setup for trycf.com seems to be Lucee 5 (I think my server is running ColdFusion9) but I also tried setting it to ColdFusion10 in the dropdown.
Is it possible the trycf.com site is using a proxy, and/or setting headers or other params (although this would seem like a stupid thing to do as it doesn’t replicate what the code should be doing, show correct error handling).
Any help much appreciated.