Kamal 2 - Deploy, ERR_SSL_PROTOCOL_ERROR

I’ve built a really basic project in Rails8 (Few basic CRUD style controllers). I’m then using Kamal 2 to deploy it to an EC2 Instance (Ubuntu).

Deployment seems to be working but when accessing the URL, I get

Error code: SSL_ERROR_INTERNAL_ERROR_ALERT

In the browser (Same in Firefox and Chrome).

I can get to the /up page (As doesnt enforce ssl). So the project seems to be deployed correctly.

Anyone had this issue, or suggest any further debugging techniques?

I’ve resolved this now. It was a DNS Problem, it took a while to figure out based on the result but I remembered you need DNS in place for all domains for LetsEncrypt to succeed!

2 Likes