RE: CFHTTP Connection Failure (fwd)
Tony, are you sure that this is not https issue? Check this kb: http://www.macromedia.com/v1/handlers/index.cfm?ID=22713&Method=Full&PageCall=/support/index.cfm http://www.macromedia.com/v1/handlers/index.cfm?ID=1608&Method=Full&PageCall=/support/index.cfm I found that several https sites require 128 bit connection, so i choose to use M$ XML component. It's pretty simple tough, here's the example: And the result is: objSrvHTTP.responsetext ~ similar to cfhttp.filecontent objSrvHTTP.Status ~ similar to cfhttp.statuscode Regards, Rizal At 04:03 AM 5/15/2002, you wrote: > > hm ok, what's the page you are requesting like? Does it have a > > CFCONTENT tag in it? Or a cflocation? > >Nope and Nope. > >I actually got it to work (sortof) by changing one of the cfhttpparams I >was using. I'm still baffled why I would an empty reponse though... > > > -mk > > > > -Original Message- > > From: Tony Schreiber [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, May 14, 2002 3:23 PM > > To: CF-Talk > > Subject: RE: CFHTTP Connection Failure (fwd) > > > > > > I've done that. I get "no status available" on the result cf error page. I > > also use CFDUMP on CFHTTP and there is, as described, nothing in it, > > except the connection failure message. Empty header. > > > > CFDUMP looks like this: > > > > FILECONTENT Connection Failure > > HEADER > > MIMETYPE Unable to determine MIME type of file. > > RESPONSEHEADER > > STATUSCODE Connection Failure. Status code unavailable. > > > > Arg. > > > > Now, if I request what I know to be an invalid url on the same server, but > > one that does NOT end in .dll, I get this: > > > > FILECONTENT Connection Failure > > HEADER HTTP/1.1 405 Method not allowed Server: Microsoft-IIS/4.0 Date: > > Tue, 14 May 2002 20:25:03 GMT Allow: OPTIONS, TRACE Content-Length: 545 > > Content-Type: text/html > > MIMETYPE text/html > > RESPONSEHEADER ALLOW OPTIONS, TRACE > > CONTENT-LENGTH 545 > > CONTENT-TYPE text/html > > DATE Tue, 14 May 2002 20:25:03 GMT > > EXPLANATION Method > > HTTP_VERSION HTTP/1.1 > > SERVER Microsoft-IIS/4.0 > > STATUS_CODE 405 > > > > Which is at least a response! > > > > > Ok - Add the "throwonerror=yes" attribute to your tag call. > > > sometimes connection failure is a read herring for some other error. > > > > > > mark > > > > > > -Original Message- > > > From: Tony Schreiber [mailto:[EMAIL PROTECTED]] > > > Sent: Tuesday, May 14, 2002 3:04 PM > > > To: CF-Talk > > > Subject: CFHTTP Connection Failure (fwd) > > > > > > > > > I've checked the forums and search on google, but I've yet to find an > > > answer. > > > > > > I'm trying to make a CFHTTP call to ebay. And all I get are > > > "connection failure". The CFHTTP.Header is EMPTY. As in, NOTHING. No > > > status code, no nothing. > > > > > > I can hit the url and get a response using a browser on the server in > > > question, but from cfhttp I get nothing. > > > > > > .day goes by... > > > > > > The url I'm trying to post to is: > > > https://api-test.ebay.com/aw-cgi/api.dll > > > > > > Like I said, I get "connection failure". CFHTTP.Header is empty. > > > > > > If I change the url to api.html or something else, I actually get a > > > connection/response (403 Forbidden), but I get a response! When I change > > > it back to .dll, back to nothingness... > > > > > > If I got the url directly in the browser, it works fine. > > > > > > Tony Schreiber, Senior Partner Man and Machine, Limited > > > mailto:[EMAIL PROTECTED] http://www.technocraft.com > > > > > > http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion > > > http://www.is300.net ___The Enthusiast's Home of the Lexus IS300 > > > http://www.digitacamera.com __DigitA Camera Scripts and Tips > > > http://www.linklabexchange.com _Miata Link ECU Data Exchange > > > > > > > > > > > > > > > > > __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFHTTP Connection Failure (fwd)
Yeah usually you get SOMETHING back - if the page is responsive. -Original Message- From: Tony Schreiber [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 4:03 PM To: CF-Talk Subject: RE: CFHTTP Connection Failure (fwd) > hm ok, what's the page you are requesting like? Does it have a > CFCONTENT tag in it? Or a cflocation? Nope and Nope. I actually got it to work (sortof) by changing one of the cfhttpparams I was using. I'm still baffled why I would an empty reponse though... > -mk > > -Original Message- > From: Tony Schreiber [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 14, 2002 3:23 PM > To: CF-Talk > Subject: RE: CFHTTP Connection Failure (fwd) > > > I've done that. I get "no status available" on the result cf error page. I > also use CFDUMP on CFHTTP and there is, as described, nothing in it, > except the connection failure message. Empty header. > > CFDUMP looks like this: > > FILECONTENT Connection Failure > HEADER > MIMETYPE Unable to determine MIME type of file. > RESPONSEHEADER > STATUSCODE Connection Failure. Status code unavailable. > > Arg. > > Now, if I request what I know to be an invalid url on the same server, but > one that does NOT end in .dll, I get this: > > FILECONTENT Connection Failure > HEADER HTTP/1.1 405 Method not allowed Server: Microsoft-IIS/4.0 Date: > Tue, 14 May 2002 20:25:03 GMT Allow: OPTIONS, TRACE Content-Length: 545 > Content-Type: text/html > MIMETYPE text/html > RESPONSEHEADER ALLOW OPTIONS, TRACE > CONTENT-LENGTH 545 > CONTENT-TYPE text/html > DATE Tue, 14 May 2002 20:25:03 GMT > EXPLANATION Method > HTTP_VERSION HTTP/1.1 > SERVER Microsoft-IIS/4.0 > STATUS_CODE 405 > > Which is at least a response! > > > Ok - Add the "throwonerror=yes" attribute to your tag call. > > sometimes connection failure is a read herring for some other error. > > > > mark > > > > -Original Message- > > From: Tony Schreiber [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, May 14, 2002 3:04 PM > > To: CF-Talk > > Subject: CFHTTP Connection Failure (fwd) > > > > > > I've checked the forums and search on google, but I've yet to find an > > answer. > > > > I'm trying to make a CFHTTP call to ebay. And all I get are > > "connection failure". The CFHTTP.Header is EMPTY. As in, NOTHING. No > > status code, no nothing. > > > > I can hit the url and get a response using a browser on the server in > > question, but from cfhttp I get nothing. > > > > .day goes by... > > > > The url I'm trying to post to is: > > https://api-test.ebay.com/aw-cgi/api.dll > > > > Like I said, I get "connection failure". CFHTTP.Header is empty. > > > > If I change the url to api.html or something else, I actually get a > > connection/response (403 Forbidden), but I get a response! When I change > > it back to .dll, back to nothingness... > > > > If I got the url directly in the browser, it works fine. > > > > Tony Schreiber, Senior Partner Man and Machine, Limited > > mailto:[EMAIL PROTECTED] http://www.technocraft.com > > > > http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion > > http://www.is300.net ___The Enthusiast's Home of the Lexus IS300 > > http://www.digitacamera.com __DigitA Camera Scripts and Tips > > http://www.linklabexchange.com _Miata Link ECU Data Exchange > > > > > > > > > > __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFHTTP Connection Failure (fwd)
> hm ok, what's the page you are requesting like? Does it have a > CFCONTENT tag in it? Or a cflocation? Nope and Nope. I actually got it to work (sortof) by changing one of the cfhttpparams I was using. I'm still baffled why I would an empty reponse though... > -mk > > -Original Message- > From: Tony Schreiber [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 14, 2002 3:23 PM > To: CF-Talk > Subject: RE: CFHTTP Connection Failure (fwd) > > > I've done that. I get "no status available" on the result cf error page. I > also use CFDUMP on CFHTTP and there is, as described, nothing in it, > except the connection failure message. Empty header. > > CFDUMP looks like this: > > FILECONTENT Connection Failure > HEADER > MIMETYPE Unable to determine MIME type of file. > RESPONSEHEADER > STATUSCODE Connection Failure. Status code unavailable. > > Arg. > > Now, if I request what I know to be an invalid url on the same server, but > one that does NOT end in .dll, I get this: > > FILECONTENT Connection Failure > HEADER HTTP/1.1 405 Method not allowed Server: Microsoft-IIS/4.0 Date: > Tue, 14 May 2002 20:25:03 GMT Allow: OPTIONS, TRACE Content-Length: 545 > Content-Type: text/html > MIMETYPE text/html > RESPONSEHEADER ALLOW OPTIONS, TRACE > CONTENT-LENGTH 545 > CONTENT-TYPE text/html > DATE Tue, 14 May 2002 20:25:03 GMT > EXPLANATION Method > HTTP_VERSION HTTP/1.1 > SERVER Microsoft-IIS/4.0 > STATUS_CODE 405 > > Which is at least a response! > > > Ok - Add the "throwonerror=yes" attribute to your tag call. > > sometimes connection failure is a read herring for some other error. > > > > mark > > > > -Original Message- > > From: Tony Schreiber [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, May 14, 2002 3:04 PM > > To: CF-Talk > > Subject: CFHTTP Connection Failure (fwd) > > > > > > I've checked the forums and search on google, but I've yet to find an > > answer. > > > > I'm trying to make a CFHTTP call to ebay. And all I get are > > "connection failure". The CFHTTP.Header is EMPTY. As in, NOTHING. No > > status code, no nothing. > > > > I can hit the url and get a response using a browser on the server in > > question, but from cfhttp I get nothing. > > > > .day goes by... > > > > The url I'm trying to post to is: > > https://api-test.ebay.com/aw-cgi/api.dll > > > > Like I said, I get "connection failure". CFHTTP.Header is empty. > > > > If I change the url to api.html or something else, I actually get a > > connection/response (403 Forbidden), but I get a response! When I change > > it back to .dll, back to nothingness... > > > > If I got the url directly in the browser, it works fine. > > > > Tony Schreiber, Senior Partner Man and Machine, Limited > > mailto:[EMAIL PROTECTED] http://www.technocraft.com > > > > http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion > > http://www.is300.net ___The Enthusiast's Home of the Lexus IS300 > > http://www.digitacamera.com __DigitA Camera Scripts and Tips > > http://www.linklabexchange.com _Miata Link ECU Data Exchange > > > > > > > > > > __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFHTTP Connection Failure (fwd)
Same problem here, so it's not just you. My money is it's an SSL issue, since you've established that the server is up. There's a kb article on CF5's inabilty to do 128 bit ssl on the Macr site somewhere... CFHTTP sucks all around though in 5, and they didn't fix it all the way in MX so I'm very bitter about that damn tag. So forgive me if I ramble on about it's suckiness. I've spent the last two weekends working on a java replacement for cfhttp, since I wan't to move away from using COM when we go to MX. Lucky for me I discovered that Sun included JSSE in version 1.4 of the JRE. I've got it working for http and https gets so far. Next weekend I get it to do posts. Thank you Macromedia! jon - Original Message - From: "Tony Schreiber" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Tuesday, May 14, 2002 4:04 PM Subject: CFHTTP Connection Failure (fwd) > I've checked the forums and search on google, but I've yet to find an > answer. > > I'm trying to make a CFHTTP call to ebay. And all I get are > "connection failure". The CFHTTP.Header is EMPTY. As in, NOTHING. No > status code, no nothing. > > I can hit the url and get a response using a browser on the server in > question, but from cfhttp I get nothing. > > ..day goes by... > > The url I'm trying to post to is: > https://api-test.ebay.com/aw-cgi/api.dll > > Like I said, I get "connection failure". CFHTTP.Header is empty. > > If I change the url to api.html or something else, I actually get a > connection/response (403 Forbidden), but I get a response! When I change > it back to .dll, back to nothingness... > > If I got the url directly in the browser, it works fine. __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFHTTP Connection Failure (fwd)
Tony hm ok, what's the page you are requesting like? Does it have a CFCONTENT tag in it? Or a cflocation? -mk -Original Message- From: Tony Schreiber [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 3:23 PM To: CF-Talk Subject: RE: CFHTTP Connection Failure (fwd) I've done that. I get "no status available" on the result cf error page. I also use CFDUMP on CFHTTP and there is, as described, nothing in it, except the connection failure message. Empty header. CFDUMP looks like this: FILECONTENT Connection Failure HEADER MIMETYPE Unable to determine MIME type of file. RESPONSEHEADER STATUSCODE Connection Failure. Status code unavailable. Arg. Now, if I request what I know to be an invalid url on the same server, but one that does NOT end in .dll, I get this: FILECONTENT Connection Failure HEADER HTTP/1.1 405 Method not allowed Server: Microsoft-IIS/4.0 Date: Tue, 14 May 2002 20:25:03 GMT Allow: OPTIONS, TRACE Content-Length: 545 Content-Type: text/html MIMETYPE text/html RESPONSEHEADER ALLOW OPTIONS, TRACE CONTENT-LENGTH 545 CONTENT-TYPE text/html DATE Tue, 14 May 2002 20:25:03 GMT EXPLANATION Method HTTP_VERSION HTTP/1.1 SERVER Microsoft-IIS/4.0 STATUS_CODE 405 Which is at least a response! > Ok - Add the "throwonerror=yes" attribute to your tag call. > sometimes connection failure is a read herring for some other error. > > mark > > -Original Message- > From: Tony Schreiber [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 14, 2002 3:04 PM > To: CF-Talk > Subject: CFHTTP Connection Failure (fwd) > > > I've checked the forums and search on google, but I've yet to find an > answer. > > I'm trying to make a CFHTTP call to ebay. And all I get are > "connection failure". The CFHTTP.Header is EMPTY. As in, NOTHING. No > status code, no nothing. > > I can hit the url and get a response using a browser on the server in > question, but from cfhttp I get nothing. > > .day goes by... > > The url I'm trying to post to is: > https://api-test.ebay.com/aw-cgi/api.dll > > Like I said, I get "connection failure". CFHTTP.Header is empty. > > If I change the url to api.html or something else, I actually get a > connection/response (403 Forbidden), but I get a response! When I change > it back to .dll, back to nothingness... > > If I got the url directly in the browser, it works fine. > > Tony Schreiber, Senior Partner Man and Machine, Limited > mailto:[EMAIL PROTECTED] http://www.technocraft.com > > http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion > http://www.is300.net ___The Enthusiast's Home of the Lexus IS300 > http://www.digitacamera.com __DigitA Camera Scripts and Tips > http://www.linklabexchange.com _Miata Link ECU Data Exchange > > > > __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFHTTP Connection Failure (fwd)
I've done that. I get "no status available" on the result cf error page. I also use CFDUMP on CFHTTP and there is, as described, nothing in it, except the connection failure message. Empty header. CFDUMP looks like this: FILECONTENT Connection Failure HEADER MIMETYPE Unable to determine MIME type of file. RESPONSEHEADER STATUSCODE Connection Failure. Status code unavailable. Arg. Now, if I request what I know to be an invalid url on the same server, but one that does NOT end in .dll, I get this: FILECONTENT Connection Failure HEADER HTTP/1.1 405 Method not allowed Server: Microsoft-IIS/4.0 Date: Tue, 14 May 2002 20:25:03 GMT Allow: OPTIONS, TRACE Content-Length: 545 Content-Type: text/html MIMETYPE text/html RESPONSEHEADER ALLOW OPTIONS, TRACE CONTENT-LENGTH 545 CONTENT-TYPE text/html DATE Tue, 14 May 2002 20:25:03 GMT EXPLANATION Method HTTP_VERSION HTTP/1.1 SERVER Microsoft-IIS/4.0 STATUS_CODE 405 Which is at least a response! > Ok - Add the "throwonerror=yes" attribute to your tag call. > sometimes connection failure is a read herring for some other error. > > mark > > -Original Message- > From: Tony Schreiber [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 14, 2002 3:04 PM > To: CF-Talk > Subject: CFHTTP Connection Failure (fwd) > > > I've checked the forums and search on google, but I've yet to find an > answer. > > I'm trying to make a CFHTTP call to ebay. And all I get are > "connection failure". The CFHTTP.Header is EMPTY. As in, NOTHING. No > status code, no nothing. > > I can hit the url and get a response using a browser on the server in > question, but from cfhttp I get nothing. > > .day goes by... > > The url I'm trying to post to is: > https://api-test.ebay.com/aw-cgi/api.dll > > Like I said, I get "connection failure". CFHTTP.Header is empty. > > If I change the url to api.html or something else, I actually get a > connection/response (403 Forbidden), but I get a response! When I change > it back to .dll, back to nothingness... > > If I got the url directly in the browser, it works fine. > > Tony Schreiber, Senior Partner Man and Machine, Limited > mailto:[EMAIL PROTECTED] http://www.technocraft.com > > http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion > http://www.is300.net ___The Enthusiast's Home of the Lexus IS300 > http://www.digitacamera.com __DigitA Camera Scripts and Tips > http://www.linklabexchange.com _Miata Link ECU Data Exchange > > > > __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFHTTP Connection Failure (fwd)
Ok - Add the "throwonerror=yes" attribute to your tag call. sometimes connection failure is a read herring for some other error. mark -Original Message- From: Tony Schreiber [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 3:04 PM To: CF-Talk Subject: CFHTTP Connection Failure (fwd) I've checked the forums and search on google, but I've yet to find an answer. I'm trying to make a CFHTTP call to ebay. And all I get are "connection failure". The CFHTTP.Header is EMPTY. As in, NOTHING. No status code, no nothing. I can hit the url and get a response using a browser on the server in question, but from cfhttp I get nothing. .day goes by... The url I'm trying to post to is: https://api-test.ebay.com/aw-cgi/api.dll Like I said, I get "connection failure". CFHTTP.Header is empty. If I change the url to api.html or something else, I actually get a connection/response (403 Forbidden), but I get a response! When I change it back to .dll, back to nothingness... If I got the url directly in the browser, it works fine. Tony Schreiber, Senior Partner Man and Machine, Limited mailto:[EMAIL PROTECTED] http://www.technocraft.com http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion http://www.is300.net ___The Enthusiast's Home of the Lexus IS300 http://www.digitacamera.com __DigitA Camera Scripts and Tips http://www.linklabexchange.com _Miata Link ECU Data Exchange __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CFHTTP Connection Failure (fwd)
I've checked the forums and search on google, but I've yet to find an answer. I'm trying to make a CFHTTP call to ebay. And all I get are "connection failure". The CFHTTP.Header is EMPTY. As in, NOTHING. No status code, no nothing. I can hit the url and get a response using a browser on the server in question, but from cfhttp I get nothing. ..day goes by... The url I'm trying to post to is: https://api-test.ebay.com/aw-cgi/api.dll Like I said, I get "connection failure". CFHTTP.Header is empty. If I change the url to api.html or something else, I actually get a connection/response (403 Forbidden), but I get a response! When I change it back to .dll, back to nothingness... If I got the url directly in the browser, it works fine. Tony Schreiber, Senior Partner Man and Machine, Limited mailto:[EMAIL PROTECTED] http://www.technocraft.com http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion http://www.is300.net ___The Enthusiast's Home of the Lexus IS300 http://www.digitacamera.com __DigitA Camera Scripts and Tips http://www.linklabexchange.com _Miata Link ECU Data Exchange __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists