> I have been searching through the allaire boards and it seems
> either any posts relating to using the CFHTTP questions either
> don't get answered or get a beat around the bush kind of answer.
> I have a huge project that is using the CFHTTP tag immensely
> only problem is i get the famous "Connection Falure" error. I
> am not behind a proxy, firewall or anything weird. Is there a
> setting somewhere that might block me from using CFHTTP? Is
> Allaire ever going to fix this problem?
The problem here is that diagnosing problems with an HTTP client run from a
CF script isn't very easy. You don't know what's happening "behind the
scenes" so to speak.
You can find out, though, with a recording proxy, which you can pass your
HTTP requests through. It'll write down the HTTP requests and responses,
which might help you to diagnose the problem. Here are a couple that I've
used successfully:
Stretch:
http://www.kestral.com.au/devtools/
HTTPSniffer (requires Perl):
http://www.compansr.demon.co.uk/
The documentation for Stretch is nonexistent, but both tools are pretty easy
to use. Simply run the utility with the IP address of the target server.
Then, change your CFHTTP request so that it sends to the proxy instead of
the target server - typically, you put the proxy on your web server, and it
listens at port 8080 by default. Then, run your page and see what happens!
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists