From: GArlington on
On Dec 3, 3:12 pm, "RichardG" <webforumsu...(a)macromedia.com> wrote:
> The  cfhttp code below has been running perfectly for a few years (certain
> specifics removed to protect my job!).  
>
>  It suddenly began to fail on our Win 2000 CF7 production server.  Testing it
> in development and other CF servers it runs perfectly. It is a critical part of
> an online app. that runs nightly.
>
>  Does anybody have ANY clue why this might be failing now and just on this
> server?
>
>   <cftry>
>       <cfhttp method="get"
>         url="http://<remote_sitetextfile.txt>"  
>         path = "c:\temp\"
>         file = "filename.txt"
>         throwonerror = "yes">
>      </cfhttp>
>
>   <cfcatch type="any">  
>          <cfoutput>
>           #cfcatch.Message#<br />
>           #cfcatch.Type#<br />
>           #cfcatch.Detail#<br /><br />
>          </cfoutput>
>          <cfdump var="#cfcatch#">
>  </cfcatch>
>  </cftry>
>
>  The results of the debugging code in cfcatch are:
>
>  Connection Failure: Status code unavailable
>  COM.Allaire.ColdFusion.HTTPFailure
>
>  struct
>  Detail [empty string]  
>  Message Connection Failure: Status code unavailable  
>  StackTrace coldfusion.tagext.net.HttpTag$HttpConnectionFailureException:
> Connection Failure: Status code unavailable at
> coldfusion.tagext.net.HttpTag.connHelper(HttpTag.java:946) at
> coldfusion.tagext.net.HttpTag.doEndTag(HttpTag.java:1004) at
> cfrouting_test2ecfm490324701.runPage(C:\Inetpub\wwwroot\..............\routing_t
> est.cfm:8) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at
> coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at
> coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at
> coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225) at
> coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51) at
> coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at
> coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) at
> coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52) at
> coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilt
> er.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at
> coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at
> coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at
> coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
> at coldfusion.CfmServlet.service(CfmServlet.java:107) at
> coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) at
> jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at
> jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at
> jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) at
> jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) at
> jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204) at
> jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
>  at
> jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
> at
> jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
> at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)  
>  TagContext array  
>  1 struct
>  COLUMN 0  
>  ID CFHTTP  
>  LINE 8  
>  RAW_TRACE at
> cfrouting_test2ecfm490324701.runPage(C:\Inetpub\wwwroot\..........\routing_test.
> cfm:8)  
>  TEMPLATE C:\Inetpub\wwwroot\.............\routing_test.cfm  
>  TYPE CFML  
>
>  Type COM.Allaire.ColdFusion.HTTPFailure  

It is NOT uncommon for Live servers to be moved to DMZ, or access
security to be changed in some other way, that would prevent internet
access from the box...
If you can try to log in to Live box directly and try to ping/access
the site you are trying to <cfhttp .../> to, this is the ONLY way to
be sure ...