Hmm, it almost sounds like an intermittent network problem.  Out of
curiosity what if you set up a cfexecute to capture the results of a
ping command to the remote server at the time it failed.  If it turns
out to be something low-level like that you might save some time trouble
CFML that is just fine.

Also, if the error can be reproduced fairly easily, you can try setting
up a packet sniffer (like WireShark) on your server to capture the
traffic and see what is happening.  You'd probably want to set up some
pre-capture filters though-- capture files could get big pretty quick on
a server with a lot of network traffic.

~Brad


-------- Original Message --------
Subject: CFHTTP wierdness
From: Jeff Langevin <[email protected]>
Date: Thu, January 07, 2010 2:51 pm
To: cf-talk <[email protected]>


So I've got a production and a live server. Both running CF8, Win 2003
Server Standard Ed, IIS6. Both have the same code calling a remote,
non-CF-based web service via a cfhttp call to an https URL. We are
getting sporadic "Connection Failure" messages from cfhttp. This clearly
isn't the old cfhttp_5 inability to connect to a secure site because it
works normally. However, it the dev server can still often connect when
the production server can't. Though we definitely sometimes experience
the inability to connect on both sometimes. I've tried changing timeouts
anywhere from 5 to 60 seconds. I now loop over the attempt to connect a
bunch of times before showing an error message to the user. 

I know this is a shot in the dark, but I figured I would ask if anyone
has experienced anything like this or has any thoughts. I'm also open to
suggestions on how to try to diagnose the problem.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329484
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to