Skip to main content
Inspiring
January 27, 2010
Question

CFHTTP timing out

  • January 27, 2010
  • 1 reply
  • 780 views

I am trying to figure out why

a cfhttp call that we have been making for years is all of a sudden timing out no matter how long I set the requesttimeout for. The url we are going to works fine.  In fact pasted in a browser the URL take barely 1 sec to return the data to the screen.  However placed in a cfhttp tag I can't get the data to return.  The data is a comma delimeted list that has about 500 records (nothing huge).

I did a dump of CFHTTP and this is what was returned:

struct

Charset[empty string]

ErrorDetailConnect Exception: Connection timed out

FilecontentConnection Failure

Header[undefined struct element]

MimetypeUnable to determine MIME type of file.

Responseheader

struct [empty]

StatuscodeConnection Failure. Status code unavailable.

TextYES

In the exceptions I get this error:  07:11:12.012 - java.lang.NullPointerException - in C:\blackstone_updates\cfusion\wwwroot\WEB-INF\cftags\dump.cfm : line 879

Here is my http tag:

<cfhttp url = "https://servername/filename.pl"
   method = "get"
   name="getcsv"
   columns="field1,field2,field3"
   FIRSTROWASHEADERS="no">

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    January 27, 2010

    Have you changed the IP of that server it is pinging?  CF caches DNS so it may actually still be pinging an old or non existent location.

    Is there any change in network or the destination server that may be bouncing your cfhttp request as not a valid web request (due to browser type or IP or some other reason)?