Skip to main content

🧩 How We Solved “Unable to Get Certificate CRL” in Rails: A Debugging Story

If you’ve been around Rails long enough, you’ve probably battled your fair share of SSL demons. But this one? This one had personality . It was a Seahorse::Client::NetworkingError that failed only on macOS — yet worked perfectly inside Docker. The kind of “it works on my container” bug that makes you question every life choice leading up to this point. So here’s the story of how we chased down a ghostly SSL error, only to discover that the real culprit was… OpenSSL itself. ⚠️ The Error Seahorse::Client::NetworkingError SSL_connect returned=1 errno=0 peeraddr=[...] state=error: certificate verify failed (unable to get certificate CRL) This popped up whenever our Rails app tried connecting to AWS S3 using the aws-sdk-ruby gem. 🔍 The Contradiction That Made No Sense From the get-go, the bug refused to play by any rules of logic. ❌ It failed locally but ✅ Worked flawlessly in Docker That told us one thing: the problem wasn’t our code. It was the environment. macOS and Dock...

💡 Rails Tip: Use bundle exec rails c or bin/rails c to ensure the console runs with your app’s gem versions. rails c alone can load mismatched gems 🚫



from
https://dev.to/madhuhari188/rails-tip-use-bundle-exec-rails-c-or-binrails-c-to-ensure-the-console-runs-with-your-apps-gem-1nig

Comments

Popular posts from this blog

Fix Not Downloading or Updating Android Play Store

                                                                      Google Play Store is the safest and fastest medium to install applications on Android devices. Every Android user knows how to use the Play Store, but not everyone knows what to do when things go sideways with the store.  I f the Play Store is not downloading or uploading apps on your device, refer to the solutions below to fix the problem. Before anything else, cancel the download(s) and try again. Closing and reopening the Play Store might also resolve the issue. 1. Check Your Internet Connection                                              You need a strong cellular data ...

Windows 10 keyboard shortcuts

               Windows 10 keyboard shortcuts In Windows 10, keyboard shortcuts provide a quick way to navigate and operate the experience and features using a single press of one or multiple keys, which otherwise will take several clicks and more time to accomplish using the mouse. Most useful Keyboard shortcuts There are Five list includes the most useful keyboard shortcuts to perform tasks on Windows 10 a little faster 1. Essential shortcuts 2. Desktop shortcuts 3. File Explorer shortcuts 4. Command Prompt shortcuts 5. Windows key shortcuts 1. Essential shortcuts   These are the essential keyboard shortcuts that every Windows 10 user should know. Keyboard shortcut Action Ctrl + A Select all content. Ctrl + C (or Ctrl + Insert) Copy selected items to clipboard. Ctrl + X Cut selected items to the clipboard. Ctrl + V (or Shift + Insert) Paste content from clipboard. Ctrl + Z Undo an action, including unde...

How To Use Drop Down List in Google Sheets ?

                                                            When creating Google Sheets that other people need to fill out, a dropdown list can simplify the data-entry process. You can pull the items for your dropdown list from another range of cells, or you can enter them directly. Learn how to do both, as well as how to modify an existing dropdown list. Create Manual Dropdown Lists in Google Sheets                                              The fastest way to create a Google Sheets dropdown list is by listing the items inside the data validation settings. To do this: 1. Select the cell where you want to create a dropdown list. Select Date from the menu, and then select Data...