Re: CFHTTP connection failure

2014-09-11 Thread Scott Stewart

We got this figured out..  Our apps need to be refreshed when changes are
made to the settings ini file.  Our production team didn't refresh..  DOH!!
On Sep 11, 2014 3:30 PM, "Scott Stewart"  wrote:

> This is specific to our production environment,  the exact same code works
> fine in our staging environment.. But a putty connection may be worth a
> shot.
>
> We did have to install the Java JCE extensions. But again it works in
> every other environment but production.
> On Sep 11, 2014 3:20 PM, "Steve Milburn"  wrote:
>
>>
>> A few questions... first can you show us some code? Second, are you sure
>> it
>> is SFTP and not FTPS? What happens if you try to use an SSH client like
>> Putty? Are you able to connect? The SFTP server should be listening on
>> port
>> 22 - your telnet connection uses port 23 and your ftp connection uses port
>> 21 so they are not really helping you diagnose your SFTP problem. By
>> attempting an SSH connection with Putty you can determine your target is
>> listening on port 22. Dont forget to tell  to use port 22 and
>> secure
>> = true.
>>
>> Steve
>>
>> On Thu, Sep 11, 2014 at 3:05 PM, Scott Stewart > >
>> wrote:
>>
>> >
>> > Here's a weird one,  trying to set up a secure SFTP connection.  We can
>> > telnet to it and connect via an ftp client. But cfftp gets refused.
>> >
>> > Any ideas?
>> >
>> >
>> >
>>
>> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359291
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFHTTP connection failure

2014-09-11 Thread Scott Stewart

This is specific to our production environment,  the exact same code works
fine in our staging environment.. But a putty connection may be worth a
shot.

We did have to install the Java JCE extensions. But again it works in every
other environment but production.
On Sep 11, 2014 3:20 PM, "Steve Milburn"  wrote:

>
> A few questions... first can you show us some code? Second, are you sure it
> is SFTP and not FTPS? What happens if you try to use an SSH client like
> Putty? Are you able to connect? The SFTP server should be listening on port
> 22 - your telnet connection uses port 23 and your ftp connection uses port
> 21 so they are not really helping you diagnose your SFTP problem. By
> attempting an SSH connection with Putty you can determine your target is
> listening on port 22. Dont forget to tell  to use port 22 and secure
> = true.
>
> Steve
>
> On Thu, Sep 11, 2014 at 3:05 PM, Scott Stewart 
> wrote:
>
> >
> > Here's a weird one,  trying to set up a secure SFTP connection.  We can
> > telnet to it and connect via an ftp client. But cfftp gets refused.
> >
> > Any ideas?
> >
> >
> >
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359290
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFHTTP connection failure

2014-09-11 Thread Steve Milburn

A few questions... first can you show us some code? Second, are you sure it
is SFTP and not FTPS? What happens if you try to use an SSH client like
Putty? Are you able to connect? The SFTP server should be listening on port
22 - your telnet connection uses port 23 and your ftp connection uses port
21 so they are not really helping you diagnose your SFTP problem. By
attempting an SSH connection with Putty you can determine your target is
listening on port 22. Dont forget to tell  to use port 22 and secure
= true.

Steve

On Thu, Sep 11, 2014 at 3:05 PM, Scott Stewart 
wrote:

>
> Here's a weird one,  trying to set up a secure SFTP connection.  We can
> telnet to it and connect via an ftp client. But cfftp gets refused.
>
> Any ideas?
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359289
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CFHTTP connection failure

2014-09-11 Thread Scott Stewart

Here's a weird one,  trying to set up a secure SFTP connection.  We can
telnet to it and connect via an ftp client. But cfftp gets refused.

Any ideas?


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359288
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFHTTP Connection Failure on SSL

2011-09-06 Thread Dave Watts

> Ok thank you. My next step is to try to update the JVM and see what that
> does. Makes no sense why it works for a little bit after a reboot then
> starts Connection Failure again.

Perhaps there's a problem in addition to the certificate problem. You
may have solved one problem, just to encounter another. There are all
kinds of things that might cause connection failure messages generally
- Googling "CFHTTP connection failure" will give you some ideas.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347263
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFHTTP Connection Failure on SSL

2011-09-06 Thread webmaster

Ok thank you. My next step is to try to update the JVM and see what that
does. Makes no sense why it works for a little bit after a reboot then
starts Connection Failure again.

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, September 06, 2011 4:59 PM
To: cf-talk
Subject: Re: CFHTTP Connection Failure on SSL


> Does an updated KeyStore come with an updated JVM?

Each JVM has its own keystore. So, if you switch to a newer JVM, you'll
have to reimport certificates into that JVM keystore if you want them.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA
Schedule, and provides the highest caliber vendor-authorized instruction
at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347262
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFHTTP Connection Failure on SSL

2011-09-06 Thread Dave Watts

> Does an updated KeyStore come with an updated JVM?

Each JVM has its own keystore. So, if you switch to a newer JVM,
you'll have to reimport certificates into that JVM keystore if you
want them.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347261
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFHTTP Connection Failure on SSL

2011-09-06 Thread webmaster

Yeah I'm not sure what to do next. After a reboot it works fine for about 5 min 
or so then goes back to Connection Failure. Makes no sense. :(


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, September 06, 2011 3:39 PM
To: cf-talk
Subject: Re: CFHTTP Connection Failure on SSL


> Nope I tried a restart of the service and it still says connection 
> failure.  Says I am using JVM 1.6.0_14 What is the latest supported JVM?

This is the latest 1.6 JVM:
http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u27-download-440405.html

I don't know if it's supported, I'd have to check the Adobe site, but usually 
the latest update to the currently-supported major version works fine.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and 
provides the highest caliber vendor-authorized instruction at our training 
centers, online, or onsite



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347260
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFHTTP Connection Failure on SSL

2011-09-06 Thread webmaster

Does an updated KeyStore come with an updated JVM?




-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, September 06, 2011 3:39 PM
To: cf-talk
Subject: Re: CFHTTP Connection Failure on SSL


> Nope I tried a restart of the service and it still says connection 
> failure.  Says I am using JVM 1.6.0_14 What is the latest supported JVM?

This is the latest 1.6 JVM:
http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u27-download-440405.html

I don't know if it's supported, I'd have to check the Adobe site, but usually 
the latest update to the currently-supported major version works fine.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and 
provides the highest caliber vendor-authorized instruction at our training 
centers, online, or onsite



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347256
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFHTTP Connection Failure on SSL

2011-09-06 Thread Pete Freitag

On Tue, Sep 6, 2011 at 3:27 PM,  wrote:

>
> Nope I tried a restart of the service and it still says connection
> failure.  Says I am using JVM 1.6.0_14 What is the latest supported JVM?
>
>
The latest *supported* JVM for CF 8 and CF 9 is 1.6.0_24 (see
http://kb2.adobe.com/cps/894/cpsid_89440.html). Note that more current
versions typically work just fine, but are not officially supported by
Adobe.

--
Pete Freitag - Adobe Community Professional
http://foundeo.com/ - ColdFusion Consulting & Products
http://petefreitag.com/ - My Blog
http://hackmycf.com - Is your ColdFusion Server Secure?


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347255
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFHTTP Connection Failure on SSL

2011-09-06 Thread Dave Watts

> Nope I tried a restart of the service and it still says connection
> failure.  Says I am using JVM 1.6.0_14 What is the latest supported JVM?

This is the latest 1.6 JVM:
http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u27-download-440405.html

I don't know if it's supported, I'd have to check the Adobe site, but
usually the latest update to the currently-supported major version
works fine.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347254
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFHTTP Connection Failure on SSL

2011-09-06 Thread webmaster

Nope I tried a restart of the service and it still says connection
failure.  Says I am using JVM 1.6.0_14 What is the latest supported JVM?

Seems like it should work all the time or none at all. Seems odd that it
works intermittently.  I appreciate all your help.

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, September 06, 2011 3:20 PM
To: cf-talk
Subject: Re: CFHTTP Connection Failure on SSL


> Ok did that and the cfhttp worked one time. Now it tells me Connection

> Failure again. Any ideas? Seems like it should either work or it 
> shouldn't.

I don't really have any other ideas about what could cause the problem.
If you stop and restart CF, does it work one time again? What JVM are
you using? Can you try upgrading to the latest supported JVM, adding the
certificates to the new keystore and trying again?

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA
Schedule, and provides the highest caliber vendor-authorized instruction
at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347252
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFHTTP Connection Failure on SSL

2011-09-06 Thread Dave Watts

> Ok did that and the cfhttp worked one time. Now it tells me Connection
> Failure again. Any ideas? Seems like it should either work or it
> shouldn't.

I don't really have any other ideas about what could cause the
problem. If you stop and restart CF, does it work one time again? What
JVM are you using? Can you try upgrading to the latest supported JVM,
adding the certificates to the new keystore and trying again?

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347248
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFHTTP Connection Failure on SSL

2011-09-06 Thread webmaster

Ok did that and the cfhttp worked one time. Now it tells me Connection
Failure again. Any ideas? Seems like it should either work or it
shouldn't.


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, September 06, 2011 2:39 PM
To: cf-talk
Subject: Re: CFHTTP Connection Failure on SSL


> Ok my next question would be how do I get the entire chain? Do I have 
> to get it directly from them? So far I have just saved the Certificate

> from the browser. I was assuming this saved all of them but perhaps it

> only saves the root one?

Your browser will have a screen where it shows you all the certificates
within the chain. You can select each and save it in turn.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA
Schedule, and provides the highest caliber vendor-authorized instruction
at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347247
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFHTTP Connection Failure on SSL

2011-09-06 Thread Dave Watts

> Ok my next question would be how do I get the entire chain? Do I have to
> get it directly from them? So far I have just saved the Certificate from
> the browser. I was assuming this saved all of them but perhaps it only
> saves the root one?

Your browser will have a screen where it shows you all the
certificates within the chain. You can select each and save it in
turn.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347246
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFHTTP Connection Failure on SSL

2011-09-06 Thread webmaster

Ok my next question would be how do I get the entire chain? Do I have to
get it directly from them? So far I have just saved the Certificate from
the browser. I was assuming this saved all of them but perhaps it only
saves the root one?

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, September 06, 2011 2:28 PM
To: cf-talk
Subject: Re: CFHTTP Connection Failure on SSL


> Ok that gave me the "Certificate was added to the keystore" message 
> but after I restart ColdFusion and I attempt to CFHTTP to the URL I 
> still get a connection failure message. Not sure what to even try next

> :(

There can be all kinds of things that go wrong with certificates. Does
the site use just a root certificate, or do they also have an
intermediate certificate? You'll have to import the entire certificate
chain if the latter is the case.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA
Schedule, and provides the highest caliber vendor-authorized instruction
at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347244
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFHTTP Connection Failure on SSL

2011-09-06 Thread Dave Watts

> Ok that gave me the "Certificate was added to the keystore" message but
> after I restart ColdFusion and I attempt to CFHTTP to the URL I still
> get a connection failure message. Not sure what to even try next :(

There can be all kinds of things that go wrong with certificates. Does
the site use just a root certificate, or do they also have an
intermediate certificate? You'll have to import the entire certificate
chain if the latter is the case.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347243
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFHTTP Connection Failure on SSL

2011-09-06 Thread webmaster

Ok that gave me the "Certificate was added to the keystore" message but
after I restart ColdFusion and I attempt to CFHTTP to the URL I still
get a connection failure message. Not sure what to even try next :(


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, September 06, 2011 2:20 PM
To: cf-talk
Subject: Re: CFHTTP Connection Failure on SSL


> However it asks me for the cert password. Is this something I need to 
> get from the owner of the cert or am I just typing in the wrong set of

> params? On some of the other tutorisla that are similar I see no 
> refernece to needed a password.

Do you mean the keystore password? The default password for the Java
keystore is "changeit". The certificate itself should have no password.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA
Schedule, and provides the highest caliber vendor-authorized instruction
at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347241
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFHTTP Connection Failure on SSL

2011-09-06 Thread Dave Watts

> However it asks me for the cert password. Is this something I need to
> get from the owner of the cert or am I just typing in the wrong set of
> params? On some of the other tutorisla that are similar I see no
> refernece to needed a password.

Do you mean the keystore password? The default password for the Java
keystore is "changeit". The certificate itself should have no
password.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347240
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFHTTP Connection Failure on SSL

2011-09-06 Thread webmaster

Thanks for the reply.

I am trying the tutorial found here. Short and simple.

http://naveenchhabra.wordpress.com/2010/10/18/trusting-certificate-in-co
ldfusion-using-keytool-utility/

However it asks me for the cert password. Is this something I need to
get from the owner of the cert or am I just typing in the wrong set of
params? On some of the other tutorisla that are similar I see no
refernece to needed a password.



-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, September 06, 2011 1:57 PM
To: cf-talk
Subject: Re: CFHTTP Connection Failure on SSL


> We recently had an API call using a CFHTTP start giving a Connection 
> Failure message. In talking with the other company I found out they 
> updated their security certificate. All the comments I have seen in 
> this list and on blogs etc. pertaining to this issue seem to relate to

> ColdFusion MX. Does this problem still exist in CF 9 Ent? If so does 
> anybody have any updated tutorial on how to fix this? Thanks in 
> advance for your help.

The problem still exists, and will probably exist for the foreseeable
future. The solution is really still the same as with older versions, so
those tutorials should still apply.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347239
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFHTTP Connection Failure on SSL

2011-09-06 Thread Dave Watts

> We recently had an API call using a CFHTTP start giving a Connection
> Failure message. In talking with the other company I found out they
> updated their security certificate. All the comments I have seen in this
> list and on blogs etc. pertaining to this issue seem to relate to
> ColdFusion MX. Does this problem still exist in CF 9 Ent? If so does
> anybody have any updated tutorial on how to fix this? Thanks in advance
> for your help.

The problem still exists, and will probably exist for the foreseeable
future. The solution is really still the same as with older versions,
so those tutorials should still apply.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347236
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CFHTTP Connection Failure on SSL

2011-09-06 Thread webmaster

We recently had an API call using a CFHTTP start giving a Connection
Failure message. In talking with the other company I found out they
updated their security certificate. All the comments I have seen in this
list and on blogs etc. pertaining to this issue seem to relate to
ColdFusion MX. Does this problem still exist in CF 9 Ent? If so does
anybody have any updated tutorial on how to fix this? Thanks in advance
for your help.

 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347235
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: cfhttp Connection Failure

2010-04-23 Thread UXB Internet

>> http://www.cftagstore.com/tags/cfxhttp5.cfm 
>> Anybody here use the tag?  

I've just purchased it to use with a site we have in development that needed
to selectively Spider individual member web sites and have been impressed
with it.  I was using the cfx_http that was produced by Follett Software in
2000. It was better than CF5's HTTP but we found some repeatable stability
issues when under load and we also had to hand code the 30X redirects.
Cfx_HTTP5 however fails gracefully on nonexistent URL's, has not shown any
issues under (our) load as the others did, automatically handles 30X
redirects and is faster than cfhttp and cfx_http.

I am not using all its features but the ones I am using work very well.


Dennis Powers
UXB Internet - A Website Design & Hosting Company
P.O. Box 6028
Wolcott, CT 06716
203-879-2844
http://www.uxbinternet.com





~|
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:333115
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfhttp Connection Failure

2010-04-21 Thread John Drake

Would this Custom Tag work?:

http://www.cftagstore.com/tags/cfxhttp5.cfm

It says it does GZIP compression, and can speed things up by 64x.

Anybody here use the tag?  I did download the demo and was impressed.  I didn't 
know if it worked with CF 9 - and btw, I would love to see a comparison of 
CFHTTP speeds (6, 7, 8, 9 and this tag). 

~|
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:333056
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: cfhttp Connection Failure

2010-04-20 Thread brad

 >>Your sure it's compressed responses and not something else?

> No, I,m not sure. 

I know how to find out.
http://www.wireshark.org/

~Brad


~|
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:333050
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfhttp Connection Failure

2010-04-20 Thread Dave Watts

> Your sure it's compressed responses and not something else?  SSL for
> example? Is it a secure URL?

No, it's definitely a compression issue. I'm seeing the same thing
testing from CF 9 on my laptop.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite

~|
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:333048
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfhttp Connection Failure

2010-04-20 Thread Claude Schnéegans

 >>Your sure it's compressed responses and not something else?

No, I,m not sure. The only thing I'm sure is that CFMX is doing the HTTP 
request differently and the way it does it causes it to fail. With CF 5 
there is no problem.

 >>s it a secure URL?

No, it is not.

~|
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:333040
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: cfhttp Connection Failure

2010-04-20 Thread brad

There's a good chance that you simply haven't found the correct
combination of header values yet for that web server.

First of all, why would you use this?
Accept-Encoding: *

That tells the server that ANY encoding is valid.  

In theory, the most restrictive "Accept-Encoding" header would be:
Accept-Encoding: *;q=0

That should indicated that ALL forms (except "identity" of course).  

If you really wanted, you could do:
Accept-Encoding: *;q=0, identity;q=1
 
Read up here:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.39

~Brad


 Original Message 
Subject: Re: cfhttp Connection Failure
From: Sue Buck 
Date: Tue, April 20, 2010 8:20 am
To: cf-talk 


Thanks for all the suggestions. Unfortunately my client is phasing out
ColdFusion so upgrading is not an option.

I've installed Wireshark and using 
  
 
get the same headers as shown in the brook-bilson example with CF 8.0.1
with no CHF (which in the example returned the data uncompressed) but
the headers show that I'm still getting the data back compressed.

Do you think that the laterooms server is ignoring the TE header?

I also looked at the headers using the java.net.URL approach and it does
not send an Accept-Encoding or a TE header just an Accept header. I've
tried imitating this but the cfhttp tag always adds Accept-Encoding and
TE headers. 


~|
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:333039
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfhttp Connection Failure

2010-04-20 Thread Sue Buck

Thanks for all the suggestions. Unfortunately my client is phasing out 
ColdFusion so upgrading is not an option.

I've installed Wireshark and using 
 

get the same headers as shown in the brook-bilson example with CF 8.0.1 with no 
CHF (which in the example returned the data uncompressed) but the headers show 
that I'm still getting the data back compressed.

Do you think that the laterooms server is ignoring the TE header?

I also looked at the headers using the java.net.URL approach and it does not 
send an Accept-Encoding or a TE header just an Accept header. I've tried 
imitating this but the cfhttp tag always adds Accept-Encoding and TE headers. 

~|
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:333029
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: cfhttp Connection Failure

2010-04-20 Thread Mark A. Kruger

Your sure it's compressed responses and not something else?  SSL for
example? Is it a secure URL?

Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com


-Original Message-
From: Claude Schnéegans 
[mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans >It is true that cfhttp can't
handle compressed responses and if you are hitting a web server that is
gzipping the HTTP response you will get a "Connection Failure"

Again, if CF5 can receive the page with no problem, and CFMX cannot, the 
problem is not on the server side, it is with CFMX.
The server called by the HTTP request does not know which version of CF 
is calling him.

IMHO the problem could be that CFMX claims it can accept compressed 
responses (or whatever) but is actually not able to handle it, and if by 
chance the called server is able to actually send a compressed response, 
then the connection "fails".

It is a shame the programmer has no control on the headers set by CFHTTP 
requests, and that these default headers are not documented.



~|
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:333028
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfhttp Connection Failure

2010-04-20 Thread Claude Schnéegans

 >>It is true that cfhttp can't
handle compressed responses and if you are hitting a web server that is
gzipping the HTTP response you will get a "Connection Failure"

Again, if CF5 can receive the page with no problem, and CFMX cannot, the 
problem is not on the server side, it is with CFMX.
The server called by the HTTP request does not know which version of CF 
is calling him.

IMHO the problem could be that CFMX claims it can accept compressed 
responses (or whatever) but is actually not able to handle it, and if by 
chance the called server is able to actually send a compressed response, 
then the connection "fails".

It is a shame the programmer has no control on the headers set by CFHTTP 
requests, and that these default headers are not documented.

~|
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:333026
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfhttp Connection Failure

2010-04-19 Thread Brad Wood

I'd like to second Dave Watts' comments.  It is true that cfhttp can't 
handle compressed responses and if you are hitting a web server that is 
gzipping the HTTP response you will get a "Connection Failure" message even 
though that doesn't seem at all like the appropriate message for the 
occaision.

Adding the following header values will tell the remote server that the 
client (CF) can't handle compressed responses:




~Brad



~|
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:333023
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfhttp Connection Failure

2010-04-19 Thread Claude Schnéegans

 >>Have you tried CF9?

Actually no.

~|
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:333022
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfhttp Connection Failure

2010-04-19 Thread James Holmes

Have you tried CF9?

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/


On 20 April 2010 01:01, <> wrote:

>
>  >> url="
> http://xmlfeed.laterooms.com/index.aspx?aid=1000&rtype=4&kword=cardiff";
> method="get"> but despite getting status code 200 OK the
> content is 'Connection Failure'.
>
> I had this problem too, with CF 7 and 8 and never been able to find a
> solution.
> It is such a problem for my applications that I'm stuck with CF 5.


~|
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:333021
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfhttp Connection Failure

2010-04-19 Thread Claude Schnéegans

 >>It looks like they are trying to set a cookie for authentication or 
at least
to maintain a session.

If they check for a cookie and do not find it, they would return some 
error message, but not a 200 status and a connection failure in the same 
time.
And if it works under CF 5 and not under CF 7, there must be some other 
problem.
I think the problem is with the header sent by CFMX in the HTTP request, 
but I didn't check any further.

~|
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:333007
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfhttp Connection Failure

2010-04-19 Thread Dave Watts

> However when I did a cfdump of cfhttp - I noticed one thing.
>
> "Set-Cookie ASP.NET_SessionId=dz1h2vqepah1efatrmjk1445; path=/; HttpOnly"
>
> It looks like they are trying to set a cookie for authentication or at least
> to maintain a session.  This works great with a browser but not cfhttp.  I
> do not know for sure this is the problem, but it sure looks like something
> to check into.

The cookie isn't the problem; I can send the request from the browser
without the cookie and it works fine. It's just ASP.NET session
management, and isn't required to request the page.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsit

~|
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:333005
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfhttp Connection Failure

2010-04-19 Thread Dave Watts

> Whenever you can get to something using your server's web browser, but
> can't get to it via CFHTTP, you can simply examine the HTTP requests
> and responses and see how they differ. Use a recorder of some sort
> (Wireshark, HttpWatch, etc) and see what's different, and change your
> CFHTTP accordingly. It really is as simple as that, in almost all
> cases.

So, I had a minute and decided to test my own advice. Here's what I
got in HttpWatch with IE 8:

GET /index.aspx?aid=1000&rtype=4&kword=cardiff HTTP/1.1
Accept: application/x-ms-application, image/jpeg,
application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap,
application/msword, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/x-shockwave-flash, */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
3.0.30729; Media Center PC 6.0; InfoPath.2)
Accept-Encoding: gzip, deflate
Host: xmlfeed.laterooms.com
Connection: Keep-Alive

So, I replicated that in CF and removed the Accept-Encoding header
(since I don't want deflated content), but got the same error.
However, Wireshark shows me that the request and response is going
back and forth, but the data is still being deflated. So, I found
this, which sheds some light on the problem:

http://www.brooks-bilson.com/blogs/rob/index.cfm/2010/1/14/Bug-in-ColdFusion-801-CHF-2-and-3-with-CFHTTP-and-Compressed-HTTP-Response-from-IIS

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
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:333004
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfhttp Connection Failure

2010-04-19 Thread Wil Genovese

I use the Poster plug-in for FireFox and I get the expected results.  When I
run this from ColdFusion I get your connection failure.

However when I did a cfdump of cfhttp - I noticed one thing.

"Set-Cookie ASP.NET_SessionId=dz1h2vqepah1efatrmjk1445; path=/; HttpOnly"

It looks like they are trying to set a cookie for authentication or at least
to maintain a session.  This works great with a browser but not cfhttp.  I
do not know for sure this is the problem, but it sure looks like something
to check into.

Wil Genovese
http://www.trunkful.com


~|
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:333003
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfhttp Connection Failure

2010-04-19 Thread Dave Watts

> I am trying to run the following using CF6.1:
>  url="http://xmlfeed.laterooms.com/index.aspx?aid=1000&rtype=4&kword=cardiff"; 
> method="get"> but despite
> getting status code 200 OK the content is 'Connection Failure'.
>
> After looking at various threads and articles I've also tried these 
> suggestion:   value="deflate;q=0">  name="Accept-Encoding" value="*">  name="accept-encoding" value="no-compression" />
>  and (at the 
> suggestion of laterooms):  name="Accept-Encoding" value="none"> all with the same result.
>
> I've tried using createObject("java", "java.net.URL") to make the connection 
> and this works without any problem but I want to avoid
> this and use cfhttp it it's possible.
>
> Any suggestions?

Whenever you can get to something using your server's web browser, but
can't get to it via CFHTTP, you can simply examine the HTTP requests
and responses and see how they differ. Use a recorder of some sort
(Wireshark, HttpWatch, etc) and see what's different, and change your
CFHTTP accordingly. It really is as simple as that, in almost all
cases.

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

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
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:333001
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfhttp Connection Failure

2010-04-19 Thread Claude Schnéegans

 >>http://xmlfeed.laterooms.com/index.aspx?aid=1000&rtype=4&kword=cardiff"; 
method="get"> but despite getting status code 200 OK the 
content is 'Connection Failure'.

I had this problem too, with CF 7 and 8 and never been able to find a 
solution.
It is such a problem for my applications that I'm stuck with CF 5.

~|
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:332983
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


cfhttp Connection Failure

2010-04-19 Thread Sue Buck

I am trying to run the following using CF6.1:
http://xmlfeed.laterooms.com/index.aspx?aid=1000&rtype=4&kword=cardiff"; 
method="get"> but despite getting status code 200 OK the content is 
'Connection Failure'. 

After looking at various threads and articles I've also tried these suggestion: 
 
and (at the suggestion of laterooms): 
 all with the 
same result.

I've tried using createObject("java", "java.net.URL") to make the connection 
and this works without any problem but I want to avoid this and use cfhttp it 
it's possible.

Any suggestions? 


~|
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:332972
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFHTTP Connection Failure

2009-11-19 Thread Mark Kruger

H. So the call to HTTP works, but HTTPS does not URLs are
exactly the same

I assume you have pinged around and made sure that the 4 servers resolve the
domain exactly the same right?  And you have tried a CF Restart? Sometimes
the DNS cache for the JVM will have the wrong address in it if you have been
making networking changes etc.

Remember also that each server needs to be examined from the console (from
RDP or whatever). You have to be able to troubleshoot by making outgoing
requests from the individual servers.


Still, I'm with dave. If it works via HTTP but not HTTPS it has to be the
certs somehow. 

This post is about SSL 3.0

http://www.coldfusionmuse.com/index.cfm/2009/2/24/CF-SSL30-Authorize-net

But it also includes some info on how to test CF and the JVM and log the
results. It is probably worth it to try and trap the handshake conversation
and see what's up.

-Mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

-Original Message-
From: Agha Mehdi [mailto:aghaime...@gmail.com] 
Sent: Thursday, November 19, 2009 5:06 PM
To: cf-talk
Subject: Re: CFHTTP Connection Failure


the certs are already there. I compared the server working with the one not
working. I actually failed to mention that they were all working fine until
yesterday when three of them failed. I have them working with HTTP for now
but I need to turn on HTTPS ASAP. I just got off the 3 hour long conference
call with my networking guy and the third party tech. It makes me believe
that it's on the CF side but I can't figure what it is.

On Thu, Nov 19, 2009 at 11:53 AM, Mark Kruger wrote:

>
> Here's a post on the issue...
>
> http://www.coldfusionmuse.com/index.cfm/2005/01/29/keystore
>
> -Mark
>
>
>
> Mark A. Kruger, CFG, MCSE
> (402) 408-3733 ext 105
> www.cfwebtools.com
> www.coldfusionmuse.com
> www.necfug.com
>
> -Original Message-
> From: Agha Mehdi [mailto:aghaime...@gmail.com]
> Sent: Thursday, November 19, 2009 1:41 PM
> To: cf-talk
> Subject: Re: CFHTTP Connection Failure
>
>
> where do i check that? what do i need to check for?
>
> On Thu, Nov 19, 2009 at 11:12 AM, Mark Kruger  >wrote:
>
> >
> > I would say to check the keystore and make sure the cert (and any 
> > intermediate certs) is installed.
> >
> >
> > Mark A. Kruger, CFG, MCSE
> > (402) 408-3733 ext 105
> > www.cfwebtools.com
> > www.coldfusionmuse.com
> > www.necfug.com
> >
> > -Original Message-
> > From: Agha Mehdi [mailto:aghaime...@gmail.com]
> > Sent: Thursday, November 19, 2009 1:11 PM
> > To: cf-talk
> > Subject: CFHTTP Connection Failure
> >
> >
> > I am having issue connecting to HTTPS through CFHTTP Get/Post. It's 
> > throwing "Connection Failure". The strange thing is that we have 4 
> > servers in a cluster. it's failing on three servers but running fine 
> > from one.
> >
> > Any ideas?
> >
> >
> >
> >
> >
>
>
>
> 



~|
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:328561
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Connection Failure

2009-11-19 Thread Agha Mehdi

Works fine accessing the service from the browser on all 4 servers. I even
have small .net app on the servers, which connects just fine to this
webservice.

On Thu, Nov 19, 2009 at 4:19 PM, Dave Watts  wrote:

>
> > I used Keytool to inspect the cacerts from two servers and randomly
> checked
> > lines and they all match. I can go back and check it again but why would
> 3
> > out of 4 work before 4:00 PM yesterday and keep failing since?
>
> I don't know. What happens if you attempt to browse those HTTPS URLs
> from the server console (if you can possibly do that?)
>
> 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.figleaf.com/ for more information!
>
> 

~|
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:328560
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFHTTP Connection Failure

2009-11-19 Thread Dave Watts

> I used Keytool to inspect the cacerts from two servers and randomly checked
> lines and they all match. I can go back and check it again but why would 3
> out of 4 work before 4:00 PM yesterday and keep failing since?

I don't know. What happens if you attempt to browse those HTTPS URLs
from the server console (if you can possibly do that?)

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.figleaf.com/ for more information!

~|
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:328559
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Connection Failure

2009-11-19 Thread Agha Mehdi

I used Keytool to inspect the cacerts from two servers and randomly checked
lines and they all match. I can go back and check it again but why would 3
out of 4 work before 4:00 PM yesterday and keep failing since?

On Thu, Nov 19, 2009 at 3:27 PM, Dave Watts  wrote:

>
> > Hmmm. not sure what the intermediate cert is. Shouldn't it also affect
> the
> > one server that can connect? All four of them have the exact same config
> and
> > cacerts file
>
> All the servers would presumably require the intermediate certs. Are
> you absolutely sure they all have the exact same list of certificates
> in their keystores?
>
> 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.figleaf.com/ for more information!
>
> 

~|
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:328554
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFHTTP Connection Failure

2009-11-19 Thread Dave Watts

> Hmmm. not sure what the intermediate cert is. Shouldn't it also affect the
> one server that can connect? All four of them have the exact same config and
> cacerts file

All the servers would presumably require the intermediate certs. Are
you absolutely sure they all have the exact same list of certificates
in their keystores?

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.figleaf.com/ for more information!

~|
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:328553
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFHTTP Connection Failure

2009-11-19 Thread Agha Mehdi

Hmmm. not sure what the intermediate cert is. Shouldn't it also affect the
one server that can connect? All four of them have the exact same config and
cacerts file

On Thu, Nov 19, 2009 at 3:09 PM, Dave Watts  wrote:

>
> > the certs are already there. I compared the server working with the one
> not
> > working. I actually failed to mention that they were all working fine
> until
> > yesterday when three of them failed. I have them working with HTTP for
> now
> > but I need to turn on HTTPS ASAP. I just got off the 3 hour long
> conference
> > call with my networking guy and the third party tech. It makes me believe
> > that it's on the CF side but I can't figure what it is.
>
> Are you sure the intermediate certs are also there? I ran into just
> this problem with a client yesterday - they'd installed the site cert,
> but not the intermediate certs, and couldn't connect.
>
> 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.figleaf.com/ for more information!
>
> 

~|
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:328551
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Connection Failure

2009-11-19 Thread Dave Watts

> the certs are already there. I compared the server working with the one not
> working. I actually failed to mention that they were all working fine until
> yesterday when three of them failed. I have them working with HTTP for now
> but I need to turn on HTTPS ASAP. I just got off the 3 hour long conference
> call with my networking guy and the third party tech. It makes me believe
> that it's on the CF side but I can't figure what it is.

Are you sure the intermediate certs are also there? I ran into just
this problem with a client yesterday - they'd installed the site cert,
but not the intermediate certs, and couldn't connect.

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.figleaf.com/ for more information!

~|
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:328548
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Connection Failure

2009-11-19 Thread Agha Mehdi

the certs are already there. I compared the server working with the one not
working. I actually failed to mention that they were all working fine until
yesterday when three of them failed. I have them working with HTTP for now
but I need to turn on HTTPS ASAP. I just got off the 3 hour long conference
call with my networking guy and the third party tech. It makes me believe
that it's on the CF side but I can't figure what it is.

On Thu, Nov 19, 2009 at 11:53 AM, Mark Kruger wrote:

>
> Here's a post on the issue...
>
> http://www.coldfusionmuse.com/index.cfm/2005/01/29/keystore
>
> -Mark
>
>
>
> Mark A. Kruger, CFG, MCSE
> (402) 408-3733 ext 105
> www.cfwebtools.com
> www.coldfusionmuse.com
> www.necfug.com
>
> -Original Message-
> From: Agha Mehdi [mailto:aghaime...@gmail.com]
> Sent: Thursday, November 19, 2009 1:41 PM
> To: cf-talk
> Subject: Re: CFHTTP Connection Failure
>
>
> where do i check that? what do i need to check for?
>
> On Thu, Nov 19, 2009 at 11:12 AM, Mark Kruger  >wrote:
>
> >
> > I would say to check the keystore and make sure the cert (and any
> > intermediate certs) is installed.
> >
> >
> > Mark A. Kruger, CFG, MCSE
> > (402) 408-3733 ext 105
> > www.cfwebtools.com
> > www.coldfusionmuse.com
> > www.necfug.com
> >
> > -----Original Message-
> > From: Agha Mehdi [mailto:aghaime...@gmail.com]
> > Sent: Thursday, November 19, 2009 1:11 PM
> > To: cf-talk
> > Subject: CFHTTP Connection Failure
> >
> >
> > I am having issue connecting to HTTPS through CFHTTP Get/Post. It's
> > throwing "Connection Failure". The strange thing is that we have 4
> > servers in a cluster. it's failing on three servers but running fine
> > from one.
> >
> > Any ideas?
> >
> >
> >
> >
> >
>
>
>
> 

~|
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:328546
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFHTTP Connection Failure

2009-11-19 Thread Mark Kruger

Here's a post on the issue...

http://www.coldfusionmuse.com/index.cfm/2005/01/29/keystore

-Mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

-Original Message-
From: Agha Mehdi [mailto:aghaime...@gmail.com] 
Sent: Thursday, November 19, 2009 1:41 PM
To: cf-talk
Subject: Re: CFHTTP Connection Failure


where do i check that? what do i need to check for?

On Thu, Nov 19, 2009 at 11:12 AM, Mark Kruger wrote:

>
> I would say to check the keystore and make sure the cert (and any 
> intermediate certs) is installed.
>
>
> Mark A. Kruger, CFG, MCSE
> (402) 408-3733 ext 105
> www.cfwebtools.com
> www.coldfusionmuse.com
> www.necfug.com
>
> -Original Message-
> From: Agha Mehdi [mailto:aghaime...@gmail.com]
> Sent: Thursday, November 19, 2009 1:11 PM
> To: cf-talk
> Subject: CFHTTP Connection Failure
>
>
> I am having issue connecting to HTTPS through CFHTTP Get/Post. It's 
> throwing "Connection Failure". The strange thing is that we have 4 
> servers in a cluster. it's failing on three servers but running fine 
> from one.
>
> Any ideas?
>
>
>
>
> 



~|
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:328524
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Connection Failure

2009-11-19 Thread Agha Mehdi

where do i check that? what do i need to check for?

On Thu, Nov 19, 2009 at 11:12 AM, Mark Kruger wrote:

>
> I would say to check the keystore and make sure the cert (and any
> intermediate certs) is installed.
>
>
> Mark A. Kruger, CFG, MCSE
> (402) 408-3733 ext 105
> www.cfwebtools.com
> www.coldfusionmuse.com
> www.necfug.com
>
> -Original Message-
> From: Agha Mehdi [mailto:aghaime...@gmail.com]
> Sent: Thursday, November 19, 2009 1:11 PM
> To: cf-talk
> Subject: CFHTTP Connection Failure
>
>
> I am having issue connecting to HTTPS through CFHTTP Get/Post. It's
> throwing
> "Connection Failure". The strange thing is that we have 4 servers in a
> cluster. it's failing on three servers but running fine from one.
>
> Any ideas?
>
>
>
>
> 

~|
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:328523
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFHTTP Connection Failure

2009-11-19 Thread Mark Kruger

I would say to check the keystore and make sure the cert (and any
intermediate certs) is installed. 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

-Original Message-
From: Agha Mehdi [mailto:aghaime...@gmail.com] 
Sent: Thursday, November 19, 2009 1:11 PM
To: cf-talk
Subject: CFHTTP Connection Failure


I am having issue connecting to HTTPS through CFHTTP Get/Post. It's throwing
"Connection Failure". The strange thing is that we have 4 servers in a
cluster. it's failing on three servers but running fine from one.

Any ideas?




~|
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:328521
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CFHTTP Connection Failure

2009-11-19 Thread Agha Mehdi

I am having issue connecting to HTTPS through CFHTTP Get/Post. It's throwing
"Connection Failure". The strange thing is that we have 4 servers in a
cluster. it's failing on three servers but running fine from one.

Any ideas?


~|
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:328520
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP connection failure error

2008-11-30 Thread Jonathan Larson
I've had this issue before.  The way I solved it was to not use CFHTTP.  Since 
you are using a winbox, this method should work fine.


http://google.com";>
 
 


You can find documentation on the methods that MSXML2.ServerXMLHTTP provides at:
http://msdn.microsoft.com/en-us/library/ms762278(VS.85).aspx

Let me know how it turns out! Cheers!

> I am writing to describe CFHTTP issue.
> There is a WINDOWS 2003, IIS 6.0 and ColdFusion 8 is on the server. 
> 
> Right now if I have to make any CFHTTP call from the server to my 
> client URL (assume client URL is hosted to anywhere in the world) I 
> must need to add that remote URL entry in server HOSTS file...it's 
> really a panic because I have to do this for my every NEW client URL.
> 
> CASE 1 (Client URL is NOT mapped in the server's HOSTS file)
> 1) I can't access client REMOTE URL from the server using IE browser 
> but can access any other site for example http://www.google.com in the 
> IE browser.
> 
> 2) I can ping client remote URL and that was OK.
> 
> 3) When I try to connection to client remote URL using CFHTTP I get an 
> error like "Connection Failure : Status code unavailable".
> 
> CASE 2 (Client URL is mapped in the server's HOSTS file)
> EVERYTHING IS OK.
> 
> Now, I have added following code within CFHTTP but no luck!
>  value="deflate;q=0">
> 
> 
> My CF code template is as below:
> ===
> 
> 
> 

> 

>  throwonerror="yes" resolveurl="yes">

>  value="deflate;q=0">

> 

> 

> 

> 

> #content#
>   
>   #cfcatch.Message##cfcatch.Detail#
>   
> 
> 
> == CF template ends
> 
> Can anybody advise me as I DO NOT WANT TO DO MAPPING in HOSTS file at 
> all? 
> I mean CFHTTP should function properly without HOSTS files mapping.
> 
> Thanks a lot in advance. 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316043
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFHTTP connection failure error

2008-11-26 Thread brad
Has DNS changed since you last rebooted your CF server?  Java (and
therefore CF) caches DNS lookups FOREVER or until CF reboots-- whichever
comes first.

I'm not following why you need a host file entry to access these sites. 
If DNS is not your problem then it seems that there are some firewall
restrictions limiting the access your CF server has to the outside
world, or the remote server is refusing connections from your CF server
for some reason.

What if you open up telnet ON YOUR CF SERVER and connect to port 80 of
the remote server and issue a get HTTP command?  If that works, CFHTTP
*should* work as the only difference at that point should just be the
headers.

~Brad

    Original Message 
 Subject: CFHTTP connection failure error
 From: Hitesh Patel <[EMAIL PROTECTED]>
 Date: Wed, November 26, 2008 4:06 pm
 To: cf-talk 
 
 I am writing to describe CFHTTP issue.
 There is a WINDOWS 2003, IIS 6.0 and ColdFusion 8 is on the server. 
 
 Right now if I have to make any CFHTTP call from the server to my
client URL (assume client URL is hosted to anywhere in the world) I must
need to add that remote URL entry in server HOSTS file...it's really a
panic because I have to do this for my every NEW client URL.
 
 CASE 1 (Client URL is NOT mapped in the server's HOSTS file)
 1) I can't access client REMOTE URL from the server using IE browser
but can access any other site for example http://www.google.com in the
IE browser.
 
 2) I can ping client remote URL and that was OK.
 
 3) When I try to connection to client remote URL using CFHTTP I get an
error like "Connection Failure : Status code unavailable".
 
 CASE 2 (Client URL is mapped in the server's HOSTS file)
 EVERYTHING IS OK.
 
 Now, I have added following code within CFHTTP but no luck!
 
 
 
 My CF code template is as below:
 ===
 
 
 
 
 
 
 
 
 
 
 #content#
 
 #cfcatch.Message##cfcatch.Detail#
 
 
 
 == CF template ends
 
 Can anybody advise me as I DO NOT WANT TO DO MAPPING in HOSTS file at
all? 
 I mean CFHTTP should function properly without HOSTS files mapping.
 
 Thanks a lot in advance. 
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316002
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFHTTP connection failure error

2008-11-26 Thread Jeff Langevin
Never seen that one before.  But here's a shot in the dark.  Any chance you're 
trying to connect to a secure url (https)?  There is a known issue where cfhttp 
does not support certain implementations and therefore the certificate gets 
rejected.  You could try using CFHTTP5 at the tag store.  They have a free eval 
version so you can at least test to see if it fixes the problem.

http://www.cftagstore.com/tags/cfxhttp5.cfm

--Jeff


From: Hitesh Patel [EMAIL PROTECTED]
Sent: Wednesday, November 26, 2008 5:06 PM
To: cf-talk
Subject: CFHTTP connection failure error

I am writing to describe CFHTTP issue.
There is a WINDOWS 2003, IIS 6.0 and ColdFusion 8 is on the server.

Right now if I have to make any CFHTTP call from the server to my client URL 
(assume client URL is hosted to anywhere in the world) I must need to add that 
remote URL entry in server HOSTS file...it's really a panic because I have to 
do this for my every NEW client URL.

CASE 1 (Client URL is NOT mapped in the server's HOSTS file)
1) I can't access client REMOTE URL from the server using IE browser but can 
access any other site for example http://www.google.com in the IE browser.

2) I can ping client remote URL and that was OK.

3) When I try to connection to client remote URL using CFHTTP I get an error 
like "Connection Failure : Status code unavailable".

CASE 2 (Client URL is mapped in the server's HOSTS file)
EVERYTHING IS OK.

Now, I have added following code within CFHTTP but no luck!



My CF code template is as below:
===










#content#

#cfcatch.Message##cfcatch.Detail#



== CF template ends

Can anybody advise me as I DO NOT WANT TO DO MAPPING in HOSTS file at all?
I mean CFHTTP should function properly without HOSTS files mapping.

Thanks a lot in advance.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316001
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFHTTP connection failure error

2008-11-26 Thread Hitesh Patel
I am writing to describe CFHTTP issue.
There is a WINDOWS 2003, IIS 6.0 and ColdFusion 8 is on the server. 

Right now if I have to make any CFHTTP call from the server to my client URL 
(assume client URL is hosted to anywhere in the world) I must need to add that 
remote URL entry in server HOSTS file...it's really a panic because I have to 
do this for my every NEW client URL.

CASE 1 (Client URL is NOT mapped in the server's HOSTS file)
1) I can't access client REMOTE URL from the server using IE browser but can 
access any other site for example http://www.google.com in the IE browser.

2) I can ping client remote URL and that was OK.

3) When I try to connection to client remote URL using CFHTTP I get an error 
like "Connection Failure : Status code unavailable".

CASE 2 (Client URL is mapped in the server's HOSTS file)
EVERYTHING IS OK.

Now, I have added following code within CFHTTP but no luck!



My CF code template is as below:
===










#content#

#cfcatch.Message##cfcatch.Detail#



== CF template ends

Can anybody advise me as I DO NOT WANT TO DO MAPPING in HOSTS file at all? 
I mean CFHTTP should function properly without HOSTS files mapping.

Thanks a lot in advance. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316000
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFHTTP connection failure

2007-07-10 Thread exH
Looks like the code is returning  "connection failure" in the content  as 
the server says "200 OK"

They must be detecting session vars.


 HTTP/1.1 200 OK Connection: close Expires: Tue, 01 Jan 2002 00:00:00 GMT 
Date: Tue, 10 Jul 2007 11:23:45 GMT Server: Apache X-Powered-By: PHP/5.0.4 
Pragma: no-cache Cache-Control: no-store, no-cache, must-revalidate 
Set-Cookie: PHPSESSID=21a634b17c01d961b5ddd5fd284a43f6; path=/ Content-Type: 
text/html; charset=ISO-8859-1;


- Original Message - 
From: "Thane Sherrington" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Tuesday, July 10, 2007 12:04 PM
Subject: CFHTTP connection failure


> I'm trying to use the following code:
>
>  url="http://www.shadowserver.org/wiki/pmwiki.php?n=Stats.VirusDailyStats";
> method="Get"
> useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
> rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2">
> 
> 
>
> To get get the zero day summary for tracking purposes, but I keep
> getting a "CFHTTP Connection Failure" message.  I'm using CF 7.  I
> can do the following:
>
> http://www.google.ca"; method="Get"
> useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
> rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2">
> 
> 
>
> with no problems, but any time I try to access
> http://www.shadowserver.org/wiki I get the connection failure.  So
> I'm assuming it has something to do with their server configuration,
> but I can't figure it out.
>
> Thanks in advance for any help.
>
> T
>
>
> 

~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283379
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFHTTP connection failure

2007-07-10 Thread Thane Sherrington
I'm trying to use the following code:

http://www.shadowserver.org/wiki/pmwiki.php?n=Stats.VirusDailyStats"; 
method="Get"
useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2">



To get get the zero day summary for tracking purposes, but I keep 
getting a "CFHTTP Connection Failure" message.  I'm using CF 7.  I 
can do the following:

http://www.google.ca"; method="Get"
useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; 
rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2">



with no problems, but any time I try to access 
http://www.shadowserver.org/wiki I get the connection failure.  So 
I'm assuming it has something to do with their server configuration, 
but I can't figure it out.

Thanks in advance for any help.

T


~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283375
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFHTTP Connection Failure

2007-04-30 Thread Will Swain
 
I had a similar issue a while back which was resolved by upgrading to cfmx
7.0.2 and importing the certificate. Are you running cfmx 7.0.2?

Will

-Original Message-
From: Matthew Irwin [mailto:[EMAIL PROTECTED] 
Sent: 29 April 2007 14:04
To: CF-Talk
Subject: Re: CFHTTP Connection Failure

Will I thought it just might work. I downloaded the certificate from the
site and imported it. The way to do it for CFMX7 is on this link
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19298 This
however still has not resolved the problem. I do think you are on the right
track though Jason. What you say makes sense it is going to the url. I
appreciate your help.



~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276583
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Connection Failure

2007-04-29 Thread Matthew Irwin
Will I thought it just might work. I downloaded the certificate from the site 
and imported it. The way to do it for CFMX7 is on this link 
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19298 This however 
still has not resolved the problem. I do think you are on the right track 
though Jason. What you say makes sense it is going to the url. I appreciate 
your help.

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276503
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Connection Failure

2007-04-28 Thread Jason Troy
Here is the link - let us know if it doesn't help. 
http://www.coldfusionmuse.com/index.cfm/2005/1/29/keystore

- Jason

> Matthew - I believe the problem may be the HTTPS call. You may need to 
> add it to the keystore. I'll dig up a thread on this in a few minutes, 
> or someone can post their bookmark. :)
> 
> I tried your URL both HTTP and HTTPS and the HTTPS gives the 
> connection failure, the non SSL one terminates the connection with the 
> 403.
> 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276498
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Connection Failure

2007-04-28 Thread Jason Troy
Matthew - I believe the problem may be the HTTPS call. You may need to add it 
to the keystore. I'll dig up a thread on this in a few minutes, or someone can 
post their bookmark. :)

I tried your URL both HTTP and HTTPS and the HTTPS gives the connection 
failure, the non SSL one terminates the connection with the 403.


> I have uninstalled coldfusion and reinstalled it. But I still 
> connection failure.can any one that has CF try it and see if they get 
> a connection failure? They say that  others are connecting using php.

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276497
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Connection Failure

2007-04-28 Thread Matthew Irwin
I have uninstalled coldfusion and reinstalled it. But I still connection 
failure.can any one that has CF try it and see if they get a connection 
failure? They say that  others are connecting using php.

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276496
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Connection Failure

2007-04-27 Thread James Holmes
Java caches successful DNS lookups forever by default. Flushing DNS on
the server doesn't help, but restarting CF should have, so something
else is going on. Anyway, here's the Adobe article describing the
Java/DNS situation.

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=13115e61

On 4/28/07, Matthew Irwin <[EMAIL PROTECTED]> wrote:
> No they say that they did not do that.
> This is the url I'am trying to get to.
> https://elink2.unitedstationers.com/Interlink/InterlinkDirect.asp
> If you are have sucess it tells you acces denied. If you are not like Iam it 
> tells you connection failure.
> Thanks


-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276467
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFHTTP Connection Failure

2007-04-27 Thread Matthew Irwin
No they say that they did not do that.
This is the url I'am trying to get to.
https://elink2.unitedstationers.com/Interlink/InterlinkDirect.asp
If you are have sucess it tells you acces denied. If you are not like Iam it 
tells you connection failure.
Thanks

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276451
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFHTTP Connection Failure

2007-04-27 Thread Peterson, Chris
I bet you a buck it is because they enabled compression on their server.
Add these insidde your cfhttp tag:




Chris

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276445
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Connection Failure

2007-04-27 Thread Robertson-Ravo, Neil (RX)
Well, from the ColdFusion server you will have to flush the DNS. It may not
be the case but it could be I suppose.


"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Matthew Irwin
To: CF-Talk
Sent: Fri Apr 27 20:43:50 2007
Subject: Re: CFHTTP Connection Failure

We have restarted the CF Server Is there something else that I need to do?
They have also informed me that they are doing a redirect. This all happend
last night.



~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276442
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Connection Failure

2007-04-27 Thread Matthew Irwin
We have restarted the CF Server Is there something else that I need to do? They 
have also informed me that they are doing a redirect. This all happend last 
night.

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276441
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFHTTP Connection Failure

2007-04-27 Thread Robertson-Ravo, Neil (RX)
Flush the DNS on the ColdFusion server.  


"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Matthew Irwin
To: CF-Talk
Sent: Fri Apr 27 20:27:13 2007
Subject: Re: CFHTTP Connection Failure

No



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276438
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFHTTP Connection Failure

2007-04-27 Thread Matthew Irwin
No

~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276432
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFHTTP Connection Failure

2007-04-27 Thread Robertson-Ravo, Neil (RX)
Interesting. Are you using a proxy to go to the internet? 




"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Matthew Irwin
To: CF-Talk
Sent: Fri Apr 27 20:21:17 2007
Subject: CFHTTP Connection Failure

I am tring to connect ot a vendor that had their I.P. changed. I was
connecting allright yesterday but today I cnnot. I use cffhtp and transfer a
url. When I paste the url in the browser I get a connection. Any ideas.
Thanks



~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276430
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFHTTP Connection Failure

2007-04-27 Thread Matthew Irwin
I am tring to connect ot a vendor that had their I.P. changed. I was connecting 
allright yesterday but today I cnnot. I use cffhtp and transfer a url. When I 
paste the url in the browser I get a connection. Any ideas.
Thanks

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276429
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: MX7 CFHTTP : connection failure with Proxy

2005-12-20 Thread Yves Leung-Tack
Hi,


   The weird things is that when I call the CGI program directly from the 
browser using the following 

http://myproxy/cgi-bin/mro/pc_ptda_GetDwgDMZ.pl?strCurrentUrl=http://mycoldfusionserver/ptda/itdm/pc_tdm_ViewDrawing.cfm&strOutputTo=Screen&strMasterDwg=PC106569&strMasterRev=D&strDwgInRev=MANDATORY
 REVISION&strToolNumbers=PC106569(0D&strDwgServer=wwt&strOverlay=FALSE

I can get the output of the CGI program !!

I am still puzzle !


Need help please !



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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227364
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: MX7 CFHTTP : connection failure with Proxy

2005-12-05 Thread Russ
Have you tried installing httplook on the server and seeing what's going on
'behind the scenes'?

-Original Message-
From: Yves Leung-Tack [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 05, 2005 3:24 PM
To: CF-Talk
Subject: Re: MX7 CFHTTP : connection failure with Proxy

>1) Just thinking out loud, but are you sure that you can connect to the
>proxy url (http://myproxy/cgi-bin/mro/perlFile.pl, in your example) from
>the ColdFusion MX7 server? Have you tried using cfexec to ping the proxy
>from within a cf page? Have you tried using cfexec and wget to see if
>you can get the url via http? This will eliminate the possibility of a
>lower level (network) snafu causing problems.

I tried the fexec, runninf ping, and from the MX7 server, I can ping the
proxy. So network problem is definitively discarded.


>
>2) have you tried using the various proxy* attributes of the cfhttp tag?
>In this scenario, you would have a tag that looked more like :
>

Yes I tried the different atrributed using the proxyserver and proxyport
without success.

I even tried to add an argument to the JVM that run Jrun server as explained
in this Macromedia Technote : 
 http://www.macromedia.com/go/95f66fd8



So now I am short on idea to resolve that problem !!! 


If you have some other idea to solve it ... I appreciate !

Thanks



~|
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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226103
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: MX7 CFHTTP : connection failure with Proxy

2005-12-05 Thread Yves Leung-Tack
>1) Just thinking out loud, but are you sure that you can connect to the
>proxy url (http://myproxy/cgi-bin/mro/perlFile.pl, in your example) from
>the ColdFusion MX7 server? Have you tried using cfexec to ping the proxy
>from within a cf page? Have you tried using cfexec and wget to see if
>you can get the url via http? This will eliminate the possibility of a
>lower level (network) snafu causing problems.

I tried the fexec, runninf ping, and from the MX7 server, I can ping the proxy. 
So network problem is definitively discarded.


>
>2) have you tried using the various proxy* attributes of the cfhttp tag?
>In this scenario, you would have a tag that looked more like :
>

Yes I tried the different atrributed using the proxyserver and proxyport 
without success.

I even tried to add an argument to the JVM that run Jrun server as explained in 
this Macromedia Technote : 
 http://www.macromedia.com/go/95f66fd8



So now I am short on idea to resolve that problem !!! 


If you have some other idea to solve it ... I appreciate !

Thanks

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

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226102
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: MX7 CFHTTP : connection failure with Proxy

2005-12-05 Thread Yves Leung-Tack
>1) Just thinking out loud, but are you sure that you can connect to the
>proxy url (http://myproxy/cgi-bin/mro/perlFile.pl, in your example) from
>the ColdFusion MX7 server? Have you tried using cfexec to ping the proxy
>from within a cf page? Have you tried using cfexec and wget to see if
>you can get the url via http? This will eliminate the possibility of a
>lower level (network) snafu causing problems.

I tried the fexec, runninf ping, and from the MX7 server, I can ping the proxy. 
So network problem is definitively discarded.


>
>2) have you tried using the various proxy* attributes of the cfhttp tag?
>In this scenario, you would have a tag that looked more like :
>

Yes I tried the different atrributed using the proxyserver and proxyport 
without success.

I even tried to add an argument to the JVM that run Jrun server as explained in 
this Macromedia Technote : 
 http://www.macromedia.com/go/95f66fd8



So now I am short on idea to resolve that problem !!! 


If you have some other idea to solve it ... I appreciate !

Thanks

~|
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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226100
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: MX7 CFHTTP : connection failure with Proxy

2005-12-05 Thread RADEMAKERS Tanguy
Hello Yves,

1) Just thinking out loud, but are you sure that you can connect to the
proxy url (http://myproxy/cgi-bin/mro/perlFile.pl, in your example) from
the ColdFusion MX7 server? Have you tried using cfexec to ping the proxy
from within a cf page? Have you tried using cfexec and wget to see if
you can get the url via http? This will eliminate the possibility of a
lower level (network) snafu causing problems.

2) have you tried using the various proxy* attributes of the cfhttp tag?
In this scenario, you would have a tag that looked more like :

http://cgiserver/cgi-bin/mro/perlFile.pl";
proxyServer="myproxy" result="strXMLFile">


http://cfmServer/cfmFile.cfm";>

  
   
 

  


 with maybe some other attributes like proxyPort, proxyUser, etc.
defined.


/t

~|
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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226069
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: MX7 CFHTTP : connection failure with Proxy

2005-12-05 Thread Yves Leung-Tack
Help Please ! 

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

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226063
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


MX7 CFHTTP : connection failure with Proxy

2005-12-02 Thread Yves Leung-Tack
Hi,

I have a problem with CFHTTP when used with a proxy.
It gives time out / connection failure.
The dump of the cfhttp is :
--
struct 
Charset= [empty string]  
ErrorDetail= Connect Exception: Connection timed out: connect  
Filecontent= Connection Failure  
Header= [undefined struct element]  
Mimetype= Unable to determine MIME type of file.  
Responseheader= struct [empty] 
Statuscode= Connection Failure. Status code unavailable.  
Text= YES  
---

What I try to do is to execute a CGI, a perl file, to query some files, if they 
exist, the perl file will send it back to the client via http. The files are 
encoded and package within a XML tag.
Basically, the network is : 
  

Client-> ColdFusion MX7  ---> Proxy --> CGI Server


The code I used to test this is :

--begin code 1---
http://myproxy/cgi-bin/mro/perlFile.pl"; 
result="strXMLFile">


http://cfmServer/cfmFile.cfm";>

 

  

   
 








File Content 1== #HTMLCodeFormat(strXMLFile.FileContent)# ==

--end code 1---

where  
 - myproxy   = the proxy
 - cfmserver = the MX7 server
 - cgiserver = server where reside the perl file


I tried to use the CFHTTP attributes proxyserver and proxyport without succes. 
The code 2 is shown below:

---begin code 2--

http://cgiserver/cgi-bin/mro/perlFile.pl"; 
result="strXMLFile" proxyserver="myproxy" proxyport="">


http://cfmServer/cfmFile.cfm";>

 

  

   
 








File Content 1== #HTMLCodeFormat(strXMLFile.FileContent)# ==

---end code 2



The strange things is that when I call directly the CGIserver I got what I 
expected ie the files I requested 

I google and tried a lot of suggestions from people who got a similar problem 
of "Connection failure" but not necessesarely with a proxy.
Things I tried for example:
1-http://www.talkingtree.com/blog/index.cfm/2004/7/28/20040729#more
2-http://www.houseoffusion.com/cf_lists/index.cfm?method=messages&threadid=21241&forumid=4
3-http://qaix.com/coldfusion/313-460-cfhttp-connection-failure-read.shtml

Anyone have an idea ?

I appreciate your help !


Thanks

Waltereo

~|
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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225950
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


MX7 CFHTTP : connection failure with Proxy

2005-12-02 Thread Yves Leung-Tack
Hi,

I have a problem with CFHTTP when used with a proxy.
It gives time out / connection failure.
The dump of the cfhttp is :
--
struct 
Charset= [empty string]  
ErrorDetail= Connect Exception: Connection timed out: connect  
Filecontent= Connection Failure  
Header= [undefined struct element]  
Mimetype= Unable to determine MIME type of file.  
Responseheader= struct [empty] 
Statuscode= Connection Failure. Status code unavailable.  
Text= YES  
---

What I try to do is to execute a CGI, a perl file, to query some files, if they 
exist, the perl file will send it back to the client via http. The files are 
encoded and package within a XML tag.
Basically, the network is : 
  

Client-> ColdFusion MX7  ---> Proxy --> CGI Server


The code I used to test this is :

--begin code 1---
http://myproxy/cgi-bin/mro/perlFile.pl"; 
result="strXMLFile">


http://cfmServer/cfmFile.cfm";>

 

  

   
 








File Content 1== #HTMLCodeFormat(strXMLFile.FileContent)# ==

--end code 1---

where  
 - myproxy   = the proxy
 - cfmserver = the MX7 server
 - cgiserver = server where reside the perl file


I tried to use the CFHTTP attributes proxyserver and proxyport without succes. 
The code 2 is shown below:

---begin code 2--

http://cgiserver/cgi-bin/mro/perlFile.pl"; 
result="strXMLFile" proxyserver="myproxy" proxyport="">


http://cfmServer/cfmFile.cfm";>

 

  

   
 








File Content 1== #HTMLCodeFormat(strXMLFile.FileContent)# ==

---end code 2



The strange things is that when I call directly the CGIserver I got what I 
expected ie the files I requested 

I google and tried a lot of suggestions from people who got a similar problem 
of "Connection failure" but not necessesarely with a proxy.
Things I tried for example:
1-http://www.talkingtree.com/blog/index.cfm/2004/7/28/20040729#more
2-http://www.houseoffusion.com/cf_lists/index.cfm?method=messages&threadid=21241&forumid=4
3-http://qaix.com/coldfusion/313-460-cfhttp-connection-failure-read.shtml

Anyone have an idea ?

I appreciate your help !


Thanks

Waltereo

~|
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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225949
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFHTTP Connection Failure

2005-08-05 Thread Dave Watts
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.figleaf.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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213915
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFHTTP Connection Failure

2005-03-22 Thread Mary Jo Sminkey
> 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.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199693
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFHTTP Connection Failure

2005-03-21 Thread Mary Jo Sminkey
>Check out Charles:
>http://www.xk72.com/charles/

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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199622
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFHTTP Connection Failure

2005-03-20 Thread Ewok
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:[EMAIL PROTECTED] 
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.figleaf.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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199507
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFHTTP Connection Failure

2005-03-20 Thread Dave Watts
> 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.figleaf.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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199494
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


CFHTTP Connection Failure

2005-03-20 Thread Ewok
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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199489
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFHTTP Connection Failure

2005-03-16 Thread Dave Watts
> You mention the cookie...there does appear to be one being set..
> extracted from header:
> "private Set-Cookie: ASP.NET_SessionId=bifpcg2ritgn1v45o4y45ovo;"
> 
> 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 browserbut 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.ResponseHeader 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.figleaf.com/ for more information!


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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199011
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


SOLVED: Re: CFHTTP Connection Failure

2005-03-16 Thread Bryan Stevenson
Well...when in doubt...find an alternative to theshall we say 
"sensitive" built in CFHTTP tag ;-)

I fired up CFX_HTTP5 and voila! everything is just fine (damn handy tag for 
$30).

Well there's half a day of my life I'll never get back.

Thanks for the help Dave

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: [EMAIL PROTECTED]
web: www.electricedgesystems.com.cfm/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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199000
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFHTTP Connection Failure

2005-03-16 Thread Bryan Stevenson
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?

w...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: [EMAIL PROTECTED]
web: www.electricedgesystems.com/54 


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

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198996
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFHTTP Connection Failure

2005-03-16 Thread Bryan Stevenson
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 toolway 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: [EMAIL PROTECTED]
web: www.electricedgesystems.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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198994
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFHTTP Connection Failure

2005-03-16 Thread Bryan Stevenson
>> The original URL I was trying did redirectso 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=bifpcg2ritgn1v45o4y45ovo;"

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 
browserbut 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: [EMAIL PROTECTED]
web: www.electricedgesystems.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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198989
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFHTTP Connection Failure

2005-03-16 Thread Dave Watts
> 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 redirectso 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.figleaf.com/ for more information!


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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198987
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFHTTP Connection Failure

2005-03-16 Thread Bryan Stevenson
> 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 redirectso 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: [EMAIL PROTECTED]
web: www.electricedgesystems.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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198984
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFHTTP Connection Failure

2005-03-16 Thread Dave Watts
> Hey Davewhat do you use for your proxy recordingI've 
> been poking around and...wellthere 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.figleaf.com/ for more information!


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

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198982
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFHTTP Connection Failure

2005-03-16 Thread Dave Watts
> Dave I decided to go with PureTest from the folks at 
> PureLoadI 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 recordedbut 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.figleaf.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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198981
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFHTTP Connection Failure

2005-03-16 Thread Bryan Stevenson
> 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 PureLoadI 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 
recordedbut 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: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message - 
From: "Dave Watts" <[EMAIL PROTECTED]>
To: "CF-Talk" 
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=hhgadxbizhpbrc55flsopa55; 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.figleaf.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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198978
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFHTTP Connection Failure

2005-03-16 Thread Bryan Stevenson
Hey Davewhat do you use for your proxy recordingI've been poking 
around and...wellthere 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: [EMAIL PROTECTED]
web: www.electricedgesystems.com.cfm/54 


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

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198972
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFHTTP Connection Failure

2005-03-15 Thread Bryan Stevenson
> 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: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


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

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198909
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFHTTP Connection Failure

2005-03-15 Thread Dave Watts
> 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=hhgadxbizhpbrc55flsopa55; 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.figleaf.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.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198894
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


  1   2   >