The TLDR; is that when SSL is enabled, the requests fail, but when it's disabled, they succeed.
Note, enabling SSL does not cause all CFHTTP requests to fail - just a subset. For what it's worth, one of the commonalities seems to be that the sites that fail have certificates provided by Cloudflare.
Finally, this is a regression. The same code runs without issue on Commandbox 4.8
Attachments
1
Activity
Show:
Brad WoodMay 31, 2020 at 12:21 AM
Matthew ClementeMay 31, 2020 at 12:18 AM
Just gave it a try and it seems the logic isn't quite working correctly.
Now, not only is it broken for the older Adobe versions, but when I try to set the flag manually for Lucee (which resolved the issue as a workaround), it remains broken and I get the error logged in the console: "It's not possible to set enableECC -> true when using Lucee Server". So the workaround doesn't work anymore either.
Seems like the logic needs to be reworked a bit.
Brad WoodMay 30, 2020 at 11:17 PM
Edited
Can you please review if this 4.1.2-snapshot works better:
We ran into a really confusing issue with some CFHTTP requests failing, with
Unknown host: Received fatal alert: handshake_failure
As far as I can tell, this happens when SSL is enabled for CommandBox. When we disable SSL, the requests are made successfully.
Here's a repro case: https://github.com/mjclemente/commandbox-ssl-cfhttp-repro
The TLDR; is that when SSL is enabled, the requests fail, but when it's disabled, they succeed.
Note, enabling SSL does not cause all CFHTTP requests to fail - just a subset. For what it's worth, one of the commonalities seems to be that the sites that fail have certificates provided by Cloudflare.
Finally, this is a regression. The same code runs without issue on Commandbox 4.8