question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update is not possible when using SSL

See original GitHub issue

Expected 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
arnaudbesniercommented, Aug 26, 2019

Fixed in the new Lumber version (v2.3.5). Thanks for your help guys!

0reactions
coffenbachercommented, Aug 26, 2019

Awesome, thank you @arnaudbesnier!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found