Question

I'm working on a web app that is ran nightly to retrieve a large XML file from another server. We're using ColdFusion MX7. We run a CFHTTP GET with username, pass, and url. Then we write the field with a cffileaction write to our temp location. So that it can be parsed and sorted into a database. There are a few CFHTTP calls on the page cut one of them is failing. In the CFCatch I have the system email me the catch type and the message and I'm getting this.

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

This the call an write action as is (the credentials are right):

    <cfhttp method="GET" 
    username="#uname#" 
    password="#pw#" 
    url="#url#"
    resolveurl="yes"
    throwonerror="yes">
    </cfhttp>   

    <cffile action="write" file="#getdirectoryfrompath(GetCurrentTemplatePath())#\XML_FileName.xml" output="#cfhttp.fileContent#">

Is anyone familiar with his error?

Was it helpful?

Solution

As it turns out we were getting the Cert from the other groups 'test' server and then trying to using to get things from their production server. So Peter was right! If you run into this problem check out these links:

CFHTTP Over SSL

http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:48687

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top