Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Mdemahy #1
CFHTTP Get Problem
I have set up a Cfhttp screen to load data into my application. I am using the
cfhttp tag to create a query variable that returns the data. I am using a comma
seperated file.
I have attached the code that I am using that generates the error.
The code works great on Development. When i move the code to production, the
command errors off with the following response:
Cfhttp Error Details: Connect Exception: Connection timed out: connect
Cfhttp Status Code: Connection Failure. Status code unavailable.
Cfhttp Text: YES
cfhttp.mimeType= Unable to determine MIME type of file.
cfhttp.charset=
url.filename = [url]http://www..../woodshutters.txt[/url]
Elapsed Time = 21 seconds>
I have the timeout set to 1200 seconds, as you can see the request times out
in only 21 seconds. I have also set the page timeout in the IIS server to 1200
seconds as well.
I am using ColdFusion MX 6.1.0. any help would be greatly appreciated.
Mike
<cfhttp method="Get" url="#url.file_name#" name="fd" timeout="1200"
throwonerror="no">
<cfif #cfhttp.errordetail# NEQ "">
<cfoutput>Cfhttp Error Details: #cfhttp.errordetail#<br>
Cfhttp Status Code: #cfhttp.statuscode#<br>
Cfhttp Text: #cfhttp.text#<br>
cfhttp.mimeType= #cfhttp.mimeType#<br>
<!--- cfhttp.Header= #cfhttp.header#<br> --->
cfhttp.charset= #cfhttp.charSet#<br>
url.filename = #url.file_name#<br>
Elapsed Time = #Datediff("s",form.start_datetime,Now())#>
</cfoutput>
Mdemahy Guest
-
problem with CFHTTP: Connection Failure
I'm having the exact same problem. I'm on MX 6.1 I'm trying to post my xml like this <cfhttp url = "http://10.1.6.211/ProposalGenerator.aspx"... -
cfhttp call problem from a CF MX 6.1 on DMZ
I am runing into a technical difficulty in using the cfhttp tag and I hope someone can help me out. I have this part of the code: ... -
CFHTTP get file problem
Hi, I have code to read a text file on my server and process it into a database, this works fine. The text file comes from a remote server that... -
Problem with looping over cfhttp
Hi, I am trying to get some image files from a remote server and save them to my server. I have all the paths in a query but when I loop over... -
Cfhttp problem
Im trying to loop through an array elements (in this case URLs) using cfhttp, there are several elements in the array but I can only cfhttp the...



Reply With Quote

