Hello,
We're attempting to connect to an xml feed using some CFHTTP code that has been working for some time. We moved to a new CF10 server and have started running into issue, now persistenly, where we receive a "connection failure" response.
I took a look at several related postings and added a number of cfhttpparam's as follows:
<cfhttpparam type="header" name="Accept-Encoding" value="*" />
<cfhttpparam type="Header" name="TE" value="deflate;q=0">
<cfhttpparam type="header" name="accept-encoding" value="no-compression" />
<cfhttpparam type="header" name="accept-encoding" value="deflate;q=0?">
<cfhttpparam type="header" name="te" value="deflate;q=0?">
No combination of the above has worked. i tried a CFdump and got this result:
| struct | |||
|---|---|---|---|
| Charset | [empty string] | ||
| ErrorDetail | I/O Exception: Permission denied: connect | ||
| Filecontent | Connection Failure | ||
| Header | [empty string] | ||
| Mimetype | Unable to determine MIME type of file. | ||
| Responseheader |
| ||
| Statuscode | Connection Failure. Status code unavailable. | ||
| Text | YES | ||
Does anyone have some suggestions?
It's an HTTPS URL you're hitting, right?
It is likely a certificate issue.
The certificate chain for that site was probably already loaded into the certificate store for your previous install, then when you installed CF10 you got a new JVM with a new cert store. You' ll probably need to import the cert chain again.
Instructions: http://helpx.adobe.com/coldfusion/kb/import-certificates-certificate-s tores-coldfusion.html
You'll need to figure out where your cacerts file is, and your keytool executable. But after you do that, the instructions should be the same.
Jason
North America
Europe, Middle East and Africa
Asia Pacific