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

Re: CFHTTP Connection failure

Subject: Re: CFHTTP Connection failure
From: nick
Date: Fri, 30 Nov 2007 13:36:54 -0800 PST
Newsgroups: macromedia.coldfusion.cfml_general_discussion

On Dec 1, 3:12 am, GArlington <garling...@xxxxxxxxxxxxx> wrote:
> 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.cfmdirectlyfrom browser works as
> > well.
>
> > Any idea what's wrong?
>
> What is the error message/code?

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

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