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:
|ErrorDetail||I/O Exception: Permission denied: connect|
|Mimetype||Unable to determine MIME type of file.|
|Statuscode||Connection Failure. Status code unavailable.|
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.
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.
i am unable to use a browser to hit external sites for security reasons, so hard to check on that. We do hit other services without issue. Are there settings in the CFadministrator that i should check?
Europe, Middle East and Africa