CFHTTP and SSL issues with CommandBox 5

We recently ran into a puzzling issue with cfhttp and CommandBox 5. Requests to certain domains, such as trycf.com, would fail with Unknown host: Received fatal alert: handshake_failure, despite the domain’s SSL certificate being valid. I hope this post, which digs into the somewhat unexpected source of them problem, is helpful to anyone else who might encounter the error.

Continue Reading

Passing Parameters to CommandBox Custom Commands

Building on my previous post, which covered writing a basic custom command for the CommandBox CLI, I put together another video, detailing how to pass parameters to your command.

Continue Reading

Getting Started with CommandBox Custom Commands

I posted a video, walking through the process of building your first CommandBox custom command. If you’re not familiar with this aspect of CommandBox, I think you may be surprised how quickly you can build your own CLI commands.

Continue Reading

Notes on Migrating from MS SQL Server to PostgreSQL

I’m not a database guru or SQL sherpa, but from time to time I do fill the role of de facto DBA. The following are some notes and observations from a recent, successful, migration from Microsoft SQL Server to PostgreSQL. Is it everything you need to know? Absolutely not. But there are some points and resources that will hopefully be helpful.

Continue Reading

Sizing Your Redis Cache for Sessions - A Quick Lesson Learned

Hindsight being 20/20 makes the lesson of this post appear comically obvious, but as the underlying issue took a while to track down, I thought it worth documenting. The embarrassing TLDR; is that you should make sure that your Redis cache is appropriately sized for your session data or you might end up with errors that are difficult to debug.

Continue Reading