Posts tagged ‘cfhttp’
cfhttp I/O Exception: peer not authenticated Error
cfhttp I/O Exception: peer not authenticated Error
Continue Reading January 19, 2011 at 7:50 am Taco Fleur 1 comment
CFHTTP Connection Failure
If you’re getting a “Connection Failure” error when using the ColdFusion CFHTTP tag and have absolutely no idea what the problem could be as surfing the page via the browser works, then the web server most likely compresses the content and ColdFusion can’t handle the output.
To fix this issue just add the following two cfhttpparam tags to the request, they will tell the remote web server not to return a compressed response.
<cfhttpparam type=”header” name=”accept-encoding” value=”deflate;q=0″>
<cfhttpparam type=”header” name=”te” value=”deflate;q=0″>
Recent comments