macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

CFHTTP Connection failure

Subject: CFHTTP Connection failure
From: nick
Date: Thu, 29 Nov 2007 16:13:07 -0800 PST
Newsgroups: macromedia.coldfusion.cfml_general_discussion

Hi I'm getting "Connection failure" errors when trying to cfhttp into
the same server:

COM.Allaire.ColdFusion.HTTPFailure
Connection Failure: Status code unavailable

Here's the simplest scenario that I'm able to reproduce this problem:

1. create a cfm file accessible through http://myserver/test.cfm:
########
<cfhttp url="http://myserver/content.cfm"; method="get" timeout="60"></
cfhttp>
########
2. create another file called content.cfm:
########
Hello world!
########
3. Run http://myserver/test.cfm, which fails with error.

Weird thing is if I change content.cfm to content.htm it works.
Accessing http://myserver/content.cfm directly from browser works as
well.

Any idea what's wrong?

<Prev in Thread] Current Thread [Next in Thread>