Can I hide a part of the text by a "More..." link?
CFHTTP Connection Failure
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > ColdFusion > CFHTTP Connection Failure 9 February 2010 07:43:21

  Top users: 
  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Модератор:

CFHTTP Connection Failure

Nerd 30 September 2004 17:27:16
 For some reason all of our CFHTTP tags have been returning "Connection Failure" for the past couple of days. In the past week, we haven't changed any relevant code, we haven't changed any settings in the CF admin, and we haven't changed any settings or hardware on the servers.

So I'm thinking it's either a network issue, an ISP issue, or (most likely) a firewall issue (our firewall has always been buggy). But why would it only be affecting CFHTTP? I can go to one of our CF servers and use internet explorer to browse the web. Why would IE be able to make HTTP requests, and CF not be able to make HTTP requests? How do CFHTTP requests differ from HTTP requests created by a web browser?

Any ideas? We're using CF5 server on Windows 2000.

Thanks, jim

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=40

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:180180
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4
Add comment
Dave Watts 30 September 2004 19:40:45 permanent link ]
 
For some reason all of our CFHTTP tags have been returning > "Connection Failure" for the past couple of days. In the > past week, we haven't changed any relevant code, we haven't > changed any settings in the CF admin, and we haven't changed > any settings or hardware on the servers.>
So I'm thinking it's either a network issue, an ISP issue, or > (most likely) a firewall issue (our firewall has always been > buggy). But why would it only be affecting CFHTTP? I can go > to one of our CF servers and use internet explorer to browse > the web. Why would IE be able to make HTTP requests, and CF > not be able to make HTTP requests? How do CFHTTP requests > differ from HTTP requests created by a web browser?>
Any ideas? We're using CF5 server on Windows 2000.

CFHTTP requests don't really differ significantly from HTTP requests made by
a browser. However, your browser may be configured to use a proxy, while
CFHTTP wouldn't know anything about that.

For testing, I'd recommend you use a recording proxy, or just download
something like wget and use that to test connectivity from your server
console.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.­com/
phone: 202-797-5496
fax: 202-797-5444


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=11

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:180183
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4
Add comment
Jim Campbell 30 September 2004 19:53:03 permanent link ]
 Try:

<cfdump var="cfhttp.ErrorDe­tail">

That should reveal some more specific information on what's going wrong.

- Jim

nerd wrote:
For some reason all of our CFHTTP tags have been returning "Connection > Failure" for the past couple of days. In the past week, we haven't > changed any relevant code, we haven't changed any settings in the CF > admin, and we haven't changed any settings or hardware on the servers.>
So I'm thinking it's either a network issue, an ISP issue, or (most > likely) a firewall issue (our firewall has always been buggy). But > why would it only be affecting CFHTTP? I can go to one of our CF > servers and use internet explorer to browse the web. Why would IE be > able to make HTTP requests, and CF not be able to make HTTP > requests? How do CFHTTP requests differ from HTTP requests created by > a web browser?>
Any ideas? We're using CF5 server on Windows 2000.>
Thanks, jim>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Get the mailserver that powers this list at
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=17

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:180186
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4
Add comment
Bryan Stevenson 16 March 2005 02:38:51 permanent link ]
 Hey All,

I'm hoping someone on list can spot something that is causing this issue (Connection Failure) ;-)­

THE CODE (url masked for privacy):

<cfhttp
url="http://xxxxx.c­om"
method="get"
resolveURL="yes"
userAgent="Mozilla/­4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
port="80">
<cfhttpparam name="ID" value="1471-267092-­94" type="URL">
</cfhttp>

THE ACTUAL URL IS FORMATTED LIKE SO:
http://xxxx.com?ID=­1471-267092-94

A DUMP OF CFHTTP:
struct
Charset utf-8
ErrorDetail [empty string]
Filecontent Connection Failure
Header HTTP/1.1 200 OK Date: Tue, 15 Mar 2005 23:28:50 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Vary: Accept-Encoding Cache-Control: private Set-Cookie: ASP.NET_SessionId=h­hgadxbizhpbrc55flsop­a55; path=/ X-AspNet-Version: 1.1.4322 Content-Type: text/html; charset=utf-8
Mimetype text/html
Responseheader struct
Cache-Control private
Content-Type text/html; charset=utf-8
Date Tue, 15 Mar 2005 23:28:50 GMT
Explanation OK
Http_Version HTTP/1.1
Server Microsoft-IIS/6.0
Set-Cookie ASP.NET_SessionId=h­hgadxbizhpbrc55flsop­a55; path=/
Status_Code 200
Vary Accept-Encoding
X-AspNet-Version 1.1.4322
X-Powered-By ASP.NET

Statuscode 200 OK
Text YES


Can anybody see anything useful in the response above?

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:198888
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Dave Watts 16 March 2005 03:14:48 permanent link ]
 
I'm hoping someone on list can spot something that is causing > this issue (Connection Failure) ;-)­>
...>
A DUMP OF CFHTTP:> struct > Charset utf-8 > ErrorDetail [empty string] > Filecontent Connection Failure > Header HTTP/1.1 200 OK Date: Tue, 15 Mar 2005 23:28:50 > GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Vary: > Accept-Encoding Cache-Control: private Set-Cookie: > ASP.NET_SessionId=h­hgadxbizhpbrc55flsop­a55; path=/ > X-AspNet-Version: 1.1.4322 Content-Type: text/html; charset=utf-8 >
...>
Can anybody see anything useful in the response above?

It strikes me as odd that you'd get a connection failure message even though
the server sent you a response, as indicated by the header. Have you tried
using a recording proxy, or testing this from your server console using wget
or a browser?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.­com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.fig­leaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:198894
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Bryan Stevenson 16 March 2005 04:46:27 permanent link ]
 
It strikes me as odd that you'd get a connection failure message even > though> the server sent you a response, as indicated by the header. Have you tried> using a recording proxy, or testing this from your server console using > wget> or a browser?

hehe..me too ;-)­

I haven't tried using a recording proxy or wget (I'll look into those), but
in a browser it works fine. If I go there without proper URL params I get a
"invalid input type error" as expected...and with the correct params...all
is fine.

Thanks

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: bryan-lmTtMILVy1jq3­mzM/vGWq2Ztm2MBb6oo@­public.gmane.org
web: www.electricedgesys­tems.com


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:198909
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Bryan Stevenson 16 March 2005 19:02:50 permanent link ]
 Hey Dave....what do you use for your proxy recording....I've been poking
around and...well....there­ are a few too many options for me to choose from
;-)­

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: bryan-lmTtMILVy1jq3­mzM/vGWq2Ztm2MBb6oo@­public.gmane.org
web: www.electricedgesys­tems.com.cfm/54


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:198972
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Bryan Stevenson 16 March 2005 19:59:52 permanent link ]
 
It strikes me as odd that you'd get a connection failure message even > though> the server sent you a response, as indicated by the header. Have you tried> using a recording proxy, or testing this from your server console using > wget> or a browser?

Dave I decided to go with PureTest from the folks at PureLoad....I installed
it on my laptop and setup my browser to use the HTTP recorder as the proxy.
Then I tied running my CFM file (which resides on our office dev server)
with the CFHTTP request in it to the remote page. I'm getting the request
recorded....but I'm not seeing anything useful??

Any ideas?

TIA

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: bryan-lmTtMILVy1jq3­mzM/vGWq2Ztm2MBb6oo@­public.gmane.org
web: www.electricedgesys­tems.com
----- Original Message -----
From: "Dave Watts" <dwatts-NrKMKP93hhl­BDgjK7y7TUQ@public.g­mane.org>
To: "CF-Talk" <cf-talk-2K/2x8RPSj­9p9z4BATjFtQC/G2K4zD­Hf@public.gmane.org>­
Sent: Tuesday, March 15, 2005 4:14 PM
Subject: RE: CFHTTP Connection Failure

I'm hoping someone on list can spot something that is causing>> this issue (Connection Failure) ;-)­>>
...>>
A DUMP OF CFHTTP:>> struct>> Charset utf-8>> ErrorDetail [empty string]>> Filecontent Connection Failure>> Header HTTP/1.1 200 OK Date: Tue, 15 Mar 2005 23:28:50>> GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Vary:>> Accept-Encoding Cache-Control: private Set-Cookie:>> ASP.NET_SessionId=h­hgadxbizhpbrc55flsop­a55; path=/>> X-AspNet-Version: 1.1.4322 Content-Type: text/html; charset=utf-8>>
...>>
Can anybody see anything useful in the response above?>
It strikes me as odd that you'd get a connection failure message even > though> the server sent you a response, as indicated by the header. Have you tried> using a recording proxy, or testing this from your server console using > wget> or a browser?>
Dave Watts, CTO, Fig Leaf Software> http://www.figleaf.­com/>
Fig Leaf Software provides the highest caliber vendor-authorized> instruction at our training centers in Washington DC, Atlanta,> Chicago, Baltimore, Northern Virginia, or on-site at your location.> Visit http://training.fig­leaf.com/ for more information!>

~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:198978
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Dave Watts 16 March 2005 20:16:28 permanent link ]
 
Dave I decided to go with PureTest from the folks at > PureLoad....I installed it on my laptop and setup my browser > to use the HTTP recorder as the proxy. > Then I tied running my CFM file (which resides on our office > dev server) with the CFHTTP request in it to the remote page. > I'm getting the request recorded....but I'm not seeing > anything useful??

You will need to compare the HTTP requests and responses, not just the
requests. If you can make a successful request from the browser, you will
need to change your CFHTTP request to be more similar to the one your
browser makes. If your browser makes a request, and receives a redirect,
you'll need to ensure that CFHTTP also responds appropriately to the
redirect.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.­com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.fig­leaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:198981
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Dave Watts 16 March 2005 20:17:36 permanent link ]
 
Hey Dave....what do you use for your proxy recording....I've > been poking around and...well....there­ are a few too many > options for me to choose from ;-)­

Check out Charles:
http://www.xk72.com­/charles/

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.­com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.fig­leaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=49

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:198982
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Bryan Stevenson 16 March 2005 20:19:16 permanent link ]
 
You will need to compare the HTTP requests and responses, not just the> requests.

I thought that's what the HTTP recorder does?? ;-)­

Should the recorder by running on my laptop (dev machine) or on the dev
server? I'm having trouible thinking this through today as cement walls are
being sawed open and jackhammered out in the office next to ours (with no
advanced notice I might add...grrr).

If you can make a successful request from the browser, you will> need to change your CFHTTP request to be more similar to the one your> browser makes.

I've changed the user_agent to match my browser...no luck there

If your browser makes a request, and receives a redirect,> you'll need to ensure that CFHTTP also responds appropriately to the> redirect.

The original URL I was trying did redirect....so I tried with the URL it
redirects to (in browser and in code)...still no love :-(­

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: bryan-lmTtMILVy1jq3­mzM/vGWq2Ztm2MBb6oo@­public.gmane.org
web: www.electricedgesys­tems.comcfm/54


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:198984
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Dave Watts 16 March 2005 20:45:37 permanent link ]
 
I thought that's what the HTTP recorder does?? ;-)­

You mentioned that you were seeing requests, but you didn't say you were
seeing responses, so I assumed that you weren't for some reason.
Should the recorder by running on my laptop (dev machine) or > on the dev server? I'm having trouible thinking this through > today as cement walls are being sawed open and jackhammered > out in the office next to ours (with no advanced notice I > might add...grrr).

It can run anywhere between the browser and the server. Typically, I run it
on the same machine as the client, because that's where I happen to be.
The original URL I was trying did redirect....so I tried with > the URL it redirects to (in browser and in code)...still no love :-(­

Perhaps it's also setting a cookie, in which case you would need to send
that cookie along on the subsequent request.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.­com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.fig­leaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=49

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:198987
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Bryan Stevenson 16 March 2005 20:50:14 permanent link ]
 
The original URL I was trying did redirect....so I tried with>> the URL it redirects to (in browser and in code)...still no love :-(­>
Perhaps it's also setting a cookie, in which case you would need to send> that cookie along on the subsequent request.

Thanks for the other info...I'll keep it running on my laptop then (easier)

You mention the cookie...there does appear to be one being set..
extracted from header:
"private Set-Cookie: ASP.NET_SessionId=b­ifpcg2ritgn1v45o4y45­ovo;"

I see my response above was a bit off...
I works if I go to the final URL (the one pointed to by the re-direct) in my
browser....but not when I run my CFM file (which also points directly to the
final URL)

BTW...how would I send along the cookie?

I'll install Charles now and see if that shows me anything different

TIA

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: bryan-lmTtMILVy1jq3­mzM/vGWq2Ztm2MBb6oo@­public.gmane.org
web: www.electricedgesys­tems.com


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:198989
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Bryan Stevenson 16 March 2005 21:14:31 permanent link ]
 Hey Dave (and anybody else that wants to chime in),

I'm not sure I'm testing this correctly...so here's what I'm up to:

1) Go straight to remote URL in my browser (and record request/response)

2) Test my CFM file (which has a CFHTTP request to the remote URL mention
above) in my browser

What I see in test 1 above is obviously the request/response to/from the
remote URL

What I see in test 2 is the request/response to the CFM file on my dev
server...and none of the communication that is happening with CFHTTP.

So whatya thnk?

Thanks

PS..I'm doing this with Charles...nice tool....way simpler to use than
PureTest

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: bryan-lmTtMILVy1jq3­mzM/vGWq2Ztm2MBb6oo@­public.gmane.org
web: www.electricedgesys­tems.com


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:198994
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Bryan Stevenson 16 March 2005 21:22:49 permanent link ]
 I've noticed that the request is made with HTTP/1.0 and the response is made
using HTTP/1.1

Could that effect anything?

weeee...it's grasping at straws time :-(­

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: bryan-lmTtMILVy1jq3­mzM/vGWq2Ztm2MBb6oo@­public.gmane.org
web: www.electricedgesys­tems.com/54


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application

http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=48

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:198996
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Dave Watts 16 March 2005 23:37:03 permanent link ]
 
You mention the cookie...there does appear to be one being set..> extracted from header:> "private Set-Cookie: ASP.NET_SessionId=b­ifpcg2ritgn1v45o4y45­ovo;">
I see my response above was a bit off...> I works if I go to the final URL (the one pointed to by the > re-direct) in my browser....but not when I run my CFM file > (which also points directly to the final URL)>
BTW...how would I send along the cookie?

You would have to read it from the first HTTP response, using
CFHTTP.ResponseHead­er or CFHTTP.Header, then send it along in the next
request using CFHTTPPARAM. Now, while CFHTTPPARAM allows you to set
TYPE="COOKIE", this may not work for you since it URL-encodes cookie values,
which may break your cookie. Instead, you might use TYPE="HEADER", then
specify a name of "Cookie" and the value of the cookie for the CFHTTPPARAM
value. I ran into this exact problem when using CFMX to talk to a Breeze
server through the Breeze XML API.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.­com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.fig­leaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=49

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:199011
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Ewok 21 March 2005 00:28:53 permanent link ]
 Hola listo

I'm having some trouble with cfhttp and its driving me insane. I've had a
site up for a while that reads some dynamically generated xml via cfhttp and
worked fine forever. I recently updated my router/firewall and now I get
"Connection Failure" as the cfhttp.FileContent results. I don't see anything
indicative as to why in my firewalls log files.

I can hit the url "manually" in a browser and see its content fine. I don’t
recall having to forward anything special for cfhttp to work... Just plain
old port 80 pointing to my web server. Has anyone else run into this? Were
you able to solve it? How?

Thanks

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 3/18/2005



~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:199489
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Dave Watts 21 March 2005 02:00:37 permanent link ]
 
I'm having some trouble with cfhttp and its driving me > insane. I've had a site up for a while that reads some > dynamically generated xml via cfhttp and worked fine forever. > I recently updated my router/firewall and now I get > "Connection Failure" as the cfhttp.FileContent results. I > don't see anything indicative as to why in my firewalls log > files.>
I can hit the url "manually" in a browser and see its content > fine. I don't recall having to forward anything special for > cfhttp to work... Just plain old port 80 pointing to my web > server. Has anyone else run into this? Were you able to solve > it? How?

Can you get to the URL from a browser on the server's console? If not, you
probably have some problem with the server's network connection. If so, you
might want to use a recording proxy or similar tool to see the actual HTTP
requests and responses.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.­com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.fig­leaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:199494
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Ewok 21 March 2005 05:59:20 permanent link ]
 Hey Dave,

I was writing an email to ask about Recording Proxies and rather or not
OpenSTA would be something like what you were talking about... Then...
automagically (with no change WHAT SO EVER)... it works again. Imagine that.

Sigh... Thanks for the reply.


-----Original Message-----
From: Dave Watts [mailto:dwatts-NrKMKP93hhlBDgjK7y7TUQ@public.gmane.org]
Sent: Sunday, March 20, 2005 5:01 PM
To: CF-Talk
Subject: RE: CFHTTP Connection Failure
I'm having some trouble with cfhttp and its driving me > insane. I've had a site up for a while that reads some > dynamically generated xml via cfhttp and worked fine forever. > I recently updated my router/firewall and now I get > "Connection Failure" as the cfhttp.FileContent results. I > don't see anything indicative as to why in my firewalls log > files.>
I can hit the url "manually" in a browser and see its content > fine. I don't recall having to forward anything special for > cfhttp to work... Just plain old port 80 pointing to my web > server. Has anyone else run into this? Were you able to solve > it? How?

Can you get to the URL from a browser on the server's console? If not, you
probably have some problem with the server's network connection. If so, you
might want to use a recording proxy or similar tool to see the actual HTTP
requests and responses.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.­com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.fig­leaf.com/ for more information!




~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:199507
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Mary Jo Sminkey 22 March 2005 04:00:37 permanent link ]
 
This looks like something I could really get some use out of to debug some of my CFHTTP requests. But is there a way to get it to see ones sent from the internal CFMX web server, the one that runs on port 8500?

--- Mary Jo


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:199622
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Mary Jo Sminkey 22 March 2005 23:13:30 permanent link ]
 
This looks like something I could really get some use out of to debug > some of my CFHTTP requests. But is there a way to get it to see ones > sent from the internal CFMX web server, the one that runs on port > 8500?

Still trying to figure out how to do this, any ideas??

--- MJS


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=49

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:199693
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment


Dave Watts 5 August 2005 23:41:04 permanent link ]
 I'm going through old emails I hadn't read, sorry it's taken so long to
respond.
This looks like something I could really get some use out of > to debug some of my CFHTTP requests. But is there a way to > get it to see ones sent from the internal CFMX web server, > the one that runs on port 8500?

The only way I know to do this is with the reverse proxy functionality,
which will let you create a Charles listener on one port and have it forward
to another.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.­com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.fig­leaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~­~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoff­usion.com/banners/vi­ew.cfm?bannerid=67

Message: http://www.houseoff­usion.com/lists.cfm/­link=i:4:213915
Archives: http://www.houseoff­usion.com/cf_lists/t­hreads.cfm/4
Subscription: http://www.houseoff­usion.com/lists.cfm/­link=s:4
Unsubscribe: http://www.houseoff­usion.com/cf_lists/u­nsubscribe.cfm?user=­13123.11886.4
Donations & Support: http://www.houseoff­usion.com/tiny.cfm/5­4

Add comment
Guest 9 February 2010 07:43:21 permanent link ]
 i'm having the same problem. connection failure.

i'm trying Charles etc but no luck.

help!
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


QAIX > ColdFusion > CFHTTP Connection Failure 9 February 2010 07:43:21

see also:
pass tests:
You and sex.
see also:
iPhone killer? - BlackBerry Storm…
How to Get Videos from Youtube and Use…
Zune HD vs. iPod Touch: which is better…

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .