Re: CFHTTP Raw Request

2014-10-14 Thread Donnie Carvajal
Hi Steve, Thanks for the suggestion. I've never used Fiddler before. Are there any special configurations to watch a cfhttp request? Thanks, Donnie Carvajal If you are doing this on a developer machine, install fiddler. Then you can watch everything the request and response and look at

RE: CFHTTP Raw Request

2014-10-14 Thread DURETTE, STEVEN J
, October 14, 2014 11:21 AM To: cf-talk Subject: Re: CFHTTP Raw Request Hi Steve, Thanks for the suggestion. I've never used Fiddler before. Are there any special configurations to watch a cfhttp request? Thanks, Donnie Carvajal

Re: CFHTTP Raw Request

2014-10-14 Thread Donnie Carvajal
: Donnie Carvajal [mailto:donnie.carva...@transformyx.com] Sent: Tuesday, October 14, 2014 11:21 AM To: cf-talk Subject: Re: CFHTTP Raw Request Hi Steve, Thanks for the suggestion. I've never used Fiddler before. Are there any special configurations to watch a cfhttp request? Thanks

RE: CFHTTP Raw Request

2014-10-14 Thread Mark A Kruger
...@transformyx.com] Sent: Tuesday, October 14, 2014 11:53 AM To: cf-talk Subject: Re: CFHTTP Raw Request I think I may be confused. I need to see the raw headers that CFHTTP is creating. I installed Fiddler on the development and ran it. When I call the CF page that includes the CFHTTP, I am

Re: CFHTTP Raw Request

2014-10-14 Thread Dave Watts
you will need a sniffer on the server to see any HTTP request from CF. If you are doing local development (where cf is installed on your laptop or desktop) then that's where your proxy/sniffer needs to live. CFHTTP is technically not a browser request - just a straight HTTP request using

RE: CFHTTP Raw Request

2014-10-14 Thread Mark A Kruger
To: cf-talk Subject: Re: CFHTTP Raw Request you will need a sniffer on the server to see any HTTP request from CF. If you are doing local development (where cf is installed on your laptop or desktop) then that's where your proxy/sniffer needs to live. CFHTTP is technically not a browser

RE: CFHTTP Raw Request

2014-10-14 Thread DURETTE, STEVEN J
, October 14, 2014 12:53 PM To: cf-talk Subject: Re: CFHTTP Raw Request I think I may be confused. I need to see the raw headers that CFHTTP is creating. I installed Fiddler on the development and ran it. When I call the CF page that includes the CFHTTP, I am not seeing any new requests

RE: CFHTTP Raw Request

2014-10-08 Thread DURETTE, STEVEN J
If you are doing this on a developer machine, install fiddler. Then you can watch everything the request and response and look at the raw outputs. It has saved me multiple times from pulling my hair out. Steve -Original Message- From: Donnie Carvajal

Re: CFHTTP Raw Request

2014-10-08 Thread Russ Michaels
Try the getpagecontext or getmetadata functions. On Wed, Oct 8, 2014 at 17:17 PM, Donnie Carvajal donnie.carva...@transformyx.com wrote: I have a process that is sending xml via cfhttp and I am not getting the anticipated response from the web service. I would like to see the actual headers

Re: CFHTTP Host Header Issue

2014-10-07 Thread Russ Michaels
this would be spoofing and is very easy to do. Whether or not you can do it via cfhttp I do not know, if not then try adding a cfheader as well. You should certainly be able to do it from the web server, I know on IIS you can use the URL rewrite tool to change OUTGOING requests as well as

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

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

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 webmas...@sstwebworks.com wrote: This is specific to our production environment, the exact same code

Re: CFHTTP charset issue

2014-05-09 Thread Paul Hastings
On 5/9/2014 4:13 PM, Edward Chanter wrote: What am I missing here? if that java bit is relying on getCharacterEncoding(), i think it gets the charset from Content-Type (not exactly sure why cfhttp charset param's not setting that). so maybe try setting it via Content-Type too. cfhttpparam

Re: CFHTTP charset issue

2014-05-09 Thread Edward Chanter
Paul, thank you so much, your suggestion sorted my problem out. You just saved a bunch of people a load of time :) On 9 May 2014 14:52, Paul Hastings p...@sustainablegis.com wrote: On 5/9/2014 4:13 PM, Edward Chanter wrote: What am I missing here? if that java bit is relying on

RE: CFHTTP SSL Cert

2014-04-17 Thread Brook Davies
-Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: April-16-14 11:02 AM To: cf-talk Subject: Re: CFHTTP SSL Cert When cfhttp is broken, can you drop the URL into your browser and have it work? Or is it broken there too? On Wed, Apr 16, 2014 at 12:27 PM, Brook

Re: CFHTTP SSL Cert

2014-04-16 Thread John M Bliss
When cfhttp is broken, can you drop the URL into your browser and have it work? Or is it broken there too? On Wed, Apr 16, 2014 at 12:27 PM, Brook Davies cft...@logiforms.com wrote: Hey Peeps, After heartbleed, I had to re-add the EchoSign Cert to our keystore (via the keytool) on all

Re: CFHTTP SSL call returns Peer Not Authenticated

2014-02-25 Thread Pete Freitag
Is the server using a 2048 bit or higher key? I had a client with some issues connecting to twitter after they upgraded their SSL to 2048 bit, and the issue was resolved in this case by updating the CF9 server with the latest hotfixes (9.0.1 Cumulative Hotfix 4). I know you are on CF8, but you

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2013-11-18 Thread Brian FitzGerald
If you use a centralised storage for all servers in your cluster then it is easy. Russ, thanks a lot for your response (somehow I missed it last week). I read the article you linked to about client variables (good read). Are you aware of any resources which discuss how one might implement a

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2013-11-18 Thread Russ Michaels
I did it once long ago when I was still a developer, it was probably on CF5 or 6. I will presume Windows is used here, if not, just translate tot he Unix equivalents. It is basically just a file server, network attached storage, a SAN or whatever you have available. You MAP a drive on your web

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2013-11-15 Thread Brian FitzGerald
Hey Dave, Thanks a lot for your response. Please see some comments inline below: Are you using clustering to support a larger number of users than a single server? Or are you using it to provide failover in case a server fails? Or both? The clustering is mainly for supporting a large number

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2013-11-15 Thread Dave Watts
I'm hoping it's the former :) I guess that's what I'm getting at though... I'm sure you've done many applications that run on clustered servers, is using sticky sessions a common and accepted practice for using cfcs in a clustered environment? Or do larger applications like this just

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2013-11-15 Thread Russ Michaels
If you use a centralised storage for all servers in your cluster then it is easy. You save session data to your san disk. And simply reload it if it gets lost due to switching servers. You can also achieve this with replication between local disks too. Remember the session is stored in a cookie

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2013-11-15 Thread Brian FitzGerald
Lots of people use sticky sessions to solve this problem. That doesn't provide failover, but if you're not doing something extremely critical where the user can just go elsewhere (ex: ecommerce) you might not need failover. With sticky sessions, in the event that one server crashed, the users on

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2013-11-15 Thread Dave Watts
Lots of people use sticky sessions to solve this problem. That doesn't provide failover, but if you're not doing something extremely critical where the user can just go elsewhere (ex: ecommerce) you might not need failover. With sticky sessions, in the event that one server crashed, the

Re: cfhttp ignore SSL error

2012-10-02 Thread John M Bliss
Workaround ended up being to add a line to server's hosts file: [IP of download.vendor.com]vendor.com ...and then cfhttp to https://vendor.com On Sun, Sep 23, 2012 at 12:10 PM, John M Bliss bliss.j...@gmail.com wrote: CFX_HTTP returns An error occurred in the secure channel support.

Re: cfhttp ignore SSL error

2012-09-23 Thread John M Bliss
CFX_HTTP returns An error occurred in the secure channel support. Any other ideas? On Tue, Sep 11, 2012 at 12:56 PM, Dave Watts dwa...@figleaf.com wrote: Suggestion as to which one...? http://ultrahttp.riaforge.org/ http://cflib.org/udf/HTTPGet Well, the second one just uses

Re: cfhttp ignore SSL error

2012-09-11 Thread Russ Michaels
Fyi in railo u can do this from the railo admin. There is also an extension for the cfadmin to do this, check riaforge. Regards Russ Michaels On Sep 11, 2012 5:42 AM, .jonah jonah@creori.com wrote: Good point. Here's my writeup on importing certs into the java keystore in ColdFusion:

Re: cfhttp ignore SSL error

2012-09-11 Thread John M Bliss
OK. I used http://certman.riaforge.org to add the cert, restarted CF, and I'm still getting: I/O Exception: Name in certificate `vendor.com' does not match host name ` download.vendor.com' The problem might be that when I use my browser to go to https://download.vendor.com and then view the

Re: cfhttp ignore SSL error

2012-09-11 Thread Dave Watts
OK. I used http://certman.riaforge.org to add the cert, restarted CF, and I'm still getting: I/O Exception: Name in certificate `vendor.com' does not match host name ` download.vendor.com' The problem might be that when I use my browser to go to https://download.vendor.com and then view

Re: cfhttp ignore SSL error

2012-09-11 Thread John M Bliss
Can you provide the actual URL you're trying to get to? It would be useful to be able to look at the certificate chain. You should be able to see it here: https://download.api.bingads.microsoft.com On Tue, Sep 11, 2012 at 7:58 AM, Dave Watts dwa...@figleaf.com wrote: OK. I used

Re: cfhttp ignore SSL error

2012-09-11 Thread Dave Watts
Can you provide the actual URL you're trying to get to? It would be useful to be able to look at the certificate chain. You should be able to see it here: https://download.api.bingads.microsoft.com OK, I took a quick look at it. First, there are two intermediate certificates in the chain.

Re: cfhttp ignore SSL error

2012-09-11 Thread John M Bliss
You may need to download and install them into the keystore as well I'll try that. What version of Java are you using? I believe Java 6 supports Subject Alternative Names. Java Version 1.6.0_26 How do I use Subject Alternative Names? On Tue, Sep 11, 2012 at 10:00 AM, Dave Watts

Re: cfhttp ignore SSL error

2012-09-11 Thread John M Bliss
You may need to download and install them into the keystore as well That did not appear to have worked. On Tue, Sep 11, 2012 at 10:05 AM, John M Bliss bliss.j...@gmail.com wrote: You may need to download and install them into the keystore as well I'll try that. What version of Java

Re: cfhttp ignore SSL error

2012-09-11 Thread John M Bliss
I think there're some cfhttp alternatives out there. Anyone know whether one will fix this issue for me? On Tue, Sep 11, 2012 at 10:20 AM, John M Bliss bliss.j...@gmail.com wrote: You may need to download and install them into the keystore as well That did not appear to have worked. On

Re: cfhttp ignore SSL error

2012-09-11 Thread Dave Watts
Java Version 1.6.0_26 How do I use Subject Alternative Names? They should just work if they're going to work at all, so if they don't work you might try one of the HTTP alternatives you mentioned. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig

Re: cfhttp ignore SSL error

2012-09-11 Thread John M Bliss
Suggestion as to which one...? http://ultrahttp.riaforge.org/ http://cflib.org/udf/HTTPGet On Tue, Sep 11, 2012 at 11:25 AM, Dave Watts dwa...@figleaf.com wrote: Java Version 1.6.0_26 How do I use Subject Alternative Names? They should just work if they're going to work at all, so if

Re: cfhttp ignore SSL error

2012-09-11 Thread Dave Watts
Suggestion as to which one...? http://ultrahttp.riaforge.org/ http://cflib.org/udf/HTTPGet Well, the second one just uses java.net.URL, it looks like, so I don't think it'll behave any differently. I don't know about the first one. There's a Windows binary, CFX_HTTP, you could try that if

Re: cfhttp ignore SSL error

2012-09-11 Thread Leigh
http://ultrahttp.riaforge.org/ FYI, that one uses cfhttp -Leigh ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: cfhttp ignore SSL error

2012-09-10 Thread Byron Mann
You can download the certificate and import it into your server jre cacerts file using the java keytool. http://helpx.adobe.com/coldfusion/kb/import-certificates-certificate-stores-coldfusion.html Google ColdFusion import ssl, for some more help. That article was based around Jrun, but applies

Re: cfhttp ignore SSL error

2012-09-10 Thread .jonah
Good point. Here's my writeup on importing certs into the java keystore in ColdFusion: https://docs.google.com/document/d/12Ef1SwddMh0oO11TS3lt5E8VGiVCsdI8WmYn8qQLW4c/edit .jonah On 9/10/12 9:21 PM, Byron Mann wrote: You can download the certificate and import it into your server jre cacerts

Re: CFHTTP Regex... I'm horrible at regex

2012-05-31 Thread .jonah
Here's a rad tool for extracting regex patterns: http://txt2re.com/ It even outputs CF code. (I't output is pretty generic, but is a good staring point and gives nice insight into how RE works.) .jonah On 5/31/12 1:10 PM, Roger Anthony wrote: I'm trying to pull total impressions from the

Re: CFHTTP Regex... I'm horrible at regex

2012-05-31 Thread Michael Dinowitz
So you want the XXX in the following? td width=60%Total Impressions/td td width=5%XXX/td td width=35%Impressions/td What you want is td width=5%(.*?)/td (.*?) = capture any character, zero or more times, but only as many as needed until the next part of the expression. This will capture

Re: cfhttp issue

2012-05-24 Thread fun and learning
Issue with cfhttp I am using cfhttp get to request an xml file that resides on the same server. It was working fine until yesterday, but it throws the following error now I keep getting that the user trying to access the page has ben logged in successfully but the user does not have

Re: cfhttp issue

2012-05-24 Thread fun and learning
Issue with cfhttp JUST for the information, I am able to access the xml file directly in the browser Never mind it was some anonymous user authentication issue. got it working now ~| Order the Adobe Coldfusion Anthology

Re: CFHTTP in Distributed Mode

2012-05-21 Thread Phillip Duba
What does the URL look like? If you're using the address as if it is on the webserver, make sure the CFHTTP url is pointing to the web server, Phil On Mon, May 21, 2012 at 1:03 PM, brad f b...@ciswired.com wrote: Have a problem with using an cfhttp get command while running in distributed

Re: CFHTTP in Distributed Mode

2012-05-21 Thread brad f
What does the URL look like? If you're using the address as if it is on the webserver, make sure the CFHTTP url is pointing to the web server, Phil Well, after some more troubleshooting.. realized that the CFHTTP Get was trying to access the URL from the Coldfusion box and not the web box..

Re: CFHTTP in Distributed Mode

2012-05-21 Thread brad f
Well, after some more troubleshooting.. realized that the CFHTTP Get was trying to access the URL from the Coldfusion box and not the web box.. had to add the Proxy statements to the CFHTTP command in order for the outside url to be accessible from the CF applicatin box (had no public access

Re: cfhttp oddity

2012-02-06 Thread John M Bliss
[crickets] :-) On Fri, Feb 3, 2012 at 4:18 PM, John M Bliss bliss.j...@gmail.com wrote: Hoping someone can see what might be happening here. I have: cfset aFileContent = arraynew(1) cfset i = 0 cfloop query=myquery cfset i = i + 1 cfhttp method=post url=http://site.com; cfhttpparam

Re: cfhttp oddity

2012-02-06 Thread Russ Michaels
if it always happens at the same place, have you tried extract just that request and doing it by itself, this would at least show you there is a problem with that request that is specifically causing the issue. On Mon, Feb 6, 2012 at 12:04 PM, John M Bliss bliss.j...@gmail.com wrote:

Re: cfhttp oddity

2012-02-06 Thread John M Bliss
The heck? So I limited myquery to only the 400 Bad Request row and the row after that and it worked fine. So I must be running into some sort of overflow that CF is failing to report to me? Or something? On Mon, Feb 6, 2012 at 6:10 AM, Russ Michaels r...@michaels.me.uk wrote: if it always

Re: cfhttp oddity

2012-02-06 Thread Russ Michaels
try limiting how many you do in one batch and break it up into separate requests and see if that helps On Mon, Feb 6, 2012 at 12:59 PM, John M Bliss bliss.j...@gmail.com wrote: The heck? So I limited myquery to only the 400 Bad Request row and the row after that and it worked fine. So I must

Re: cfhttp oddity

2012-02-06 Thread John M Bliss
I'm going to start by replacing: cfset aFileContent[i] = cfhttp.FileContent ...with storage in the DB. On Mon, Feb 6, 2012 at 8:18 AM, Russ Michaels r...@michaels.me.uk wrote: try limiting how many you do in one batch and break it up into separate requests and see if that helps On Mon,

Re: CFHTTP and Amazons dynamic Load Balancer tool

2011-11-15 Thread Dave Watts
We are trying to post information to an API on A3 with their dynamic Load Balancer tool. The issue is that the IP constantly change and CF is caching the DNS so it is failing with a connection failure all the time. Does anyone have a solution to this - I have asked the client to set up a

Re: CFHTTP, self-signed certificates - authentication issues.

2011-09-14 Thread Russ Michaels
current SSL certs are now using 2048 bit or greater encryption, which requires an update to the CA cert in browsers. Perhaps the same is tue for Java/ColdFusion ? On Wed, Sep 14, 2011 at 5:23 AM, Leigh cfsearch...@yahoo.com wrote: Also, is there a way to verbosely log the cf / java behind

Re: CFHTTP, self-signed certificates - authentication issues.

2011-09-13 Thread Russ Michaels
perhaps this will help you http://www.bpurcell.org/blog/index.cfm?entry=843mode=entry Russ I also tested the URL with cURL from the CF server and it does the authentication handshake but response is compressed(?) PKwSxKhmuecfkOOdw6UQ75SLViTBf3ZXzQNNBU8qiByUNxlswYhTmlXc3csh... What am I

Re: CFHTTP, self-signed certificates - authentication issues.

2011-09-13 Thread .jonah
Thanks Russ. That was one of the posts I found and used to import the certificate. I'll re-do everything but I'm pretty sure I've got the cert installed correctly. .jonah On 9/13/11 1:37 PM, Russ Michaels wrote: perhaps this will help you

Re: CFHTTP, self-signed certificates - authentication issues.

2011-09-13 Thread Matthew Williams
What version of ColdFusion? I've seen issues with even a Verisign cert under 9.x that required finagling at the java level to finally resolve the issue. -- Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog twitter.com/ophbalance

Re: CFHTTP, self-signed certificates - authentication issues.

2011-09-13 Thread .jonah
The server is ColdFusion 9.0.1 hotfix 1 / Java 1.6.0_17 64 bit / Windows 2008 64 bit. Also, is there a way to verbosely log the cf / java behind cfhttp to see a more detailed error message? Thx, .jonah On 9/13/11 4:55 PM, Matthew Williams wrote: What version of ColdFusion? I've seen issues

Re: CFHTTP, self-signed certificates - authentication issues.

2011-09-13 Thread Leigh
Also, is there a way to verbosely log the cf / java behind cfhttp to see a more detailed error message? If you do not mind tons of logging, try using the jvm argument -Djavax.net.debug=all http://kb2.adobe.com/cps/998/9987e902.html

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.

RE: CFHTTP Connection Failure on SSL

2011-09-06 Thread webmaster
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

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

RE: CFHTTP Connection Failure on SSL

2011-09-06 Thread webmaster
, 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

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

RE: CFHTTP Connection Failure on SSL

2011-09-06 Thread webmaster
...@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

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

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

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

RE: CFHTTP Connection Failure on SSL

2011-09-06 Thread webmaster
: 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

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

Re: CFHTTP Connection Failure on SSL

2011-09-06 Thread Pete Freitag
On Tue, Sep 6, 2011 at 3:27 PM, webmas...@pegweb.com 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

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

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

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

RE: CFHTTP Connection Failure on SSL

2011-09-06 Thread webmaster
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

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

RE: CFHTTP, DNS Caching, and CF 9 won't behave.

2011-09-02 Thread Brook Davies
Is it an HTTPS connection? Have you added their cert to the Java KeyStore? Brook -Original Message- From: Eric Cobb [mailto:cft...@ecartech.com] Sent: September-02-11 12:00 PM To: cf-talk Subject: CFHTTP, DNS Caching, and CF 9 won't behave. So, I'm having a problem with CFHTTP

RE: CFHTTP, DNS Caching, and CF 9 won't behave.

2011-09-02 Thread Eric Cobb
: Friday, September 02, 2011 2:07 PM To: cf-talk cf-talk@houseoffusion.com Subject: RE: CFHTTP, DNS Caching, and CF 9 won't behave. Is it an HTTPS connection? Have you added their cert to the Java KeyStore? Brook -Original Message- From: Eric Cobb [mailto:cft...@ecartech.com] Sent

RE: CFHTTP and SSL

2011-06-29 Thread Bobby Hartsfield
Afraid I haven't heard of such a luxury. Changes to the keystore still require a CF restart to my knowledge. .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Steve Jaeger [mailto:sjae...@gmail.com] Sent: Wednesday, June 29,

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2011-06-17 Thread Brian FitzGerald
You'll need to download the certificate and install it in your JVM's keystore. Google java keystore keytool coldfusion for instructions. Hi Dave, Thank you for the reply. Only thing is that I've already downloaded the certificate through Google Chrome, and imported it via the keytool as

RE: cfhttp and SSL ... I/O Exception: peer not authenticated

2011-06-17 Thread Bobby Hartsfield
I'm pretty sure it's related to the fact that I'm trying to make a secure request (SSL), and maybe since I'm on my local development machine and thus don't have a local SSL setup on my end as well it's causing problems (maybe?). Yes, most likely. If you have a self signed cert, you can add it to

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2011-06-17 Thread Brian FitzGerald
Hey Bobby, thanks for the reply. It turns out this is a CF9 bug. Ray Camden outlines it well here, with a workaround that is working for me: http://www.coldfusionjedi.com/index.cfm/2011/1/12/Diagnosing-a-CFHTTP-issue--peer-not-authenticated Here is the bug report Jason Dean filed:

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2011-06-16 Thread Dave Watts
I'm trying to make a cfhttp call to a secure url (the API for http://spreedly.com) and this is what I keep getting back: ErrorDetail      I/O Exception: peer not authenticated Filecontent      Connection Failure Mimetype         Unable to determine MIME type of file. Statuscode      

Re: cfhttp response with non-english characters gets cut off

2011-05-20 Thread morgan l
I agree that the encoding is the likely culprit, but we're calling a 3rd party service and can't control what they're sending us. Their response to our inquiry was that they are sending utf-8 encoded responses. Outside of calling this 3rd party service, I've been unable to duplicate the problem,

Re: cfhttp response with non-english characters gets cut off

2011-05-20 Thread Andrei Kondrashev
I think, you gave up too early. This is how I would do this. Version 1. Use another tool to get the stuff from the server. Not a browser or cfhttp. It must be able to save your stream, as an unchanged byte stream without any conversion to a disk file. So the number in the Content-Length would

Re: cfhttp response with non-english characters gets cut off

2011-05-19 Thread Andrei Kondrashev
Dump HTTP headers and look at Content-Type header. There is a charset attribute that specifies the input stream encoding. Most likely it is missing or incorrect. If the charset is missing, CF assumes UTF-8. However, in UTF-8 any char with the code higher than 127, is treated as an escape

Re: cfhttp response with non-english characters gets cut off

2011-05-19 Thread morgan l
Paul, good thoughts. We had thought of both of these, and did our best to eliminate the zoo of encodings by creating a test document that causes the same behavior. True, I can't be certain that every case that is failing is valid utf-8, but my main test document is one I created in Notepad and

Re: cfhttp response with non-english characters gets cut off

2011-05-19 Thread morgan l
Andrei, one of my coworkers had much the same thought. The headers are reporting utf-8, and I've created a test document containing an omega character I've saved as plain text utf-8 encoded and it still truncates. I believe this may still be the actual problem, but I'm not seeing a solution. Our

Re: cfhttp response with non-english characters gets cut off

2011-05-19 Thread Andrei Kondrashev
Andrei, one of my coworkers had much the same thought. The headers are reporting utf-8, and I've created a test document containing an omega character I've saved as plain text utf-8 encoded and it still truncates. Just created a text file that contains the entire Greek alphabet plus crazy

Re: cfhttp response with non-english characters gets cut off

2011-05-18 Thread Dave Watts
I'm running into a strange issue here. CF8: (8,0,1,195765) JVM: 1.6.0_16 Windows Server 2003 We're implementing a resume parsing service, posting the resumes to the service using cfhttp. All was going well until we ran across a handfull of our test resumes, all with non-English special

Re: cfhttp response with non-english characters gets cut off

2011-05-18 Thread Dan G. Switzer, II
Morgan: Have you tried using cfprocessingdirective pageEncoding=utf-8 / to the page with your CFHTTP call? -Dan On Wed, May 18, 2011 at 11:35 AM, morgan l greyk...@gmail.com wrote: I'm running into a strange issue here. CF8: (8,0,1,195765) JVM: 1.6.0_16 Windows Server 2003 We're

Re: cfhttp response with non-english characters gets cut off

2011-05-18 Thread morgan l
Out of the box, no, I wasn't setting a different encoding, but as a course of trying to find a solution, I did try multiples. Nothing seemed to affect the situation, so I went back to the defaults. I also did play with the getasbinary, but I didn't try 'never'; I actually tried 'yes', thinking I

Re: cfhttp response with non-english characters gets cut off

2011-05-18 Thread morgan l
Thanks for the idea, I hadn't thought of that. A quick test doesn't seem to affect anything. We have a team-building exercise the rest of the day, so I'll have to do some more exhaustive testing tomorrow. On Wed, May 18, 2011 at 10:49 AM, Dan G. Switzer, II dswit...@pengoworks.com wrote:

Re: cfhttp response with non-english characters gets cut off

2011-05-18 Thread Paul Hastings
On 5/18/2011 10:35 PM, morgan l wrote: characters, Greek letters etc). As far as I can tell, all the characters are valid utf-8, but the cfhttp call fails with Connection Failure in the how do you know that these are valid UTF-8? if plain folks are uploading them, chances are you've got a zoo

Re: cfhttp + post + multipart problem

2011-04-17 Thread vovas ivanov
So, my question - my answer. First of all, my supposition about ...I suppose, that this difference is explanation of Status code: 500 Internal Server Error in response... was WRONG! For all people, who want to uderstand post_multipart I recomend to read RFC1341

Re: CFHTTP Question

2011-03-22 Thread Donnie Carvajal
Were CARs available in CF5? If so and the servers' configs are supposed to be the same, id go that route first. Maybe a setting was just missed somewhere in the cf admin. .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com Unfortunately, the last server is

Re: CFHTTP Question

2011-03-21 Thread Dave Watts
I recently moved an app to a new server and for some reason, when I run a CFHTTP post request to a page on the new server, the form fields are being interpreted as one field and the value of the field is a query string.  The file that is running the CFHTTP is on a differnt server.  For

Re: CFHTTP Question

2011-03-21 Thread Donnie Carvajal
Is the space and colon between FirstName and John a typo? Because if not, that's your problem right there, it should be FirstName=JohnMiddleName=JamesLastName=Smith. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a

Re: CFHTTP Question

2011-03-21 Thread Russ Michaels
Are you sure the form hasn't somehow changed method from POST to GET ? On Mon, Mar 21, 2011 at 8:53 PM, Donnie Carvajal donnie.carva...@transformyx.com wrote: Is the space and colon between FirstName and John a typo? Because if not, that's your problem right there, it should be

  1   2   3   4   5   6   7   8   9   10   >