Adam Howitt's Blog

Nov 21
2008

CFHttp Connection Failure on IIS compressed content

I was having trouble calling CFHTTP against one of my CF Servers with a cfhttp connection failure.  It has been causing my scheduled tasks to fail in a peculiar way too.  Whenever you manually click to execute a scheduled task it would report a failure but the task still runs.  For my cfhttp call, I kept getting connection failure status code unavailable.

A quick chat with Patrick at Webapper and a pointed question "is this Windows Server 2003" got me excited but he dashed away to take a call.  I googled around and came across Mark Kruger's post about troubleshooting CFHTTP.  As soon as  I saw the word compression I sat upright in my seat.  He provides two cfhttpparam lines to use to tell IIS not to compress the output and sure enough my problem went away.  Nice post Mark.

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)

There are no comments for this entry.

[Add Comment] [Subscribe to Comments]