Update is not possible when using SSL
See original GitHub issueExpected behavior
lumber update
should update the app models
Actual behavior
lumber update
crashes.
Failure Logs
> Cannot connect to the database due to the following error:
> SequelizeConnectionError: no pg_hba.conf entry for host "89.3.25.84", user "gexvagloeoizgi", database "d91aosrmq4610l", SSL off
Context
- Lumber Package Version: 2.2.3
- Database Dialect: postgres on heroku
- Database Version: xx
I think the relevant part is : https://github.com/ForestAdmin/lumber/blob/6191eedc4ed5fa729ea9cbeaa2b161e5ae1ffe28/lumber-update.js#L25-L28
If you compare with the (working) lumber generate
:
https://github.com/ForestAdmin/lumber/blob/6191eedc4ed5fa729ea9cbeaa2b161e5ae1ffe28/lumber-generate.js#L29-L34
I think the SSL option is not used.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
8 Ways to Fix SSL Connection Errors on Various Browsers ...
If your browser fails to establish a connection, check to see whether there's a new version of Firefox that you can update.
Read more >A Simple Explanation of SSL Certificate Errors & How to Fix ...
1. SSL Certificate Not Trusted Error. This error indicates that the SSL certificate is signed or approved by a company that the browser...
Read more >"Update automatically": No SSL connection possible #18546
When trying to update, this error message appears: "Downloading the latest Matomo version over secure HTTPS connection did not succeed, ...
Read more >Firmware update DELL UPS Network Management Card not ...
Solved: I have a problem with updating some old software on an DELL UPS Network Management card in de DELL Multi UPS Management...
Read more >Why is SSL/HTTPS not working on my site? - Support | one.com
There can be several reasons why SSL/HTTPS is not working on your site. Please see if one of the causes listed below helps...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in the new Lumber version (v2.3.5). Thanks for your help guys!
Awesome, thank you @arnaudbesnier!