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

Re: CFHTTP Connection failure

Subject: Re: CFHTTP Connection failure
From: GArlington <garlington@xxxxxxxxxxxxx>
Date: Fri, 30 Nov 2007 06:12:20 -0800 (PST)
Newsgroups: macromedia.coldfusion.cfml_general_discussion

On Nov 30, 12:13 am, nick <wass...@xxxxxxxxx> wrote:
> 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 throughhttp://myserver/test.cfm:
> ########
> <cfhttp url="http://myserver/content.cfm"; method="get" timeout="60"></
> cfhttp>
> ########
> 2. create another file called content.cfm:
> ########
> Hello world!
> ########
> 3. Runhttp://myserver/test.cfm, which fails with error.
>
> Weird thing is if I change content.cfm to content.htm it works.
> Accessinghttp://myserver/content.cfmdirectly from browser works as
> well.
>
> Any idea what's wrong?

What is the error message/code?

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