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.

Install forest-admin plugin fails: self signed certificate in certificate chain

See original GitHub issue

Hi,

~I’m trying to generate my first lumber project following the steps shown on your website or trought lumber generate CLI command~. (Solved by upgrading mysql from 5.7 to 8)

I now try to finish the installation by executing the final command lumber install lumber-forestadmin ...

The command do not success, I tried to add the NODE_TLS_REJECT_UNAUTHORIZED process env but it just throwing me a warning and still have the same error and also tried npm config set strict-ssl=false

Thanks,

Failure Logs

> Cannot connect to the database due to the following error:
> SequelizeConnectionError: self signed certificate in certificate chain

Context

  • Lumber Package Version: 2.5.1
  • Database Dialect: mysql
  • Database Version: 8.0.18

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
rap2hpoutrecommented, Oct 25, 2019

Hi @Sorok-Dva, thank you for contributing! 👍

I just released Lumber a few minutes ago. It includes a fix that may solve your problem:

Command Generate - Fix MySQL connection failure without SSL

More info here and there.

You have to reinstall lumber-cli @ version 2.5.2 (the latest version)

Let me know if it works now! Thanks you for your patience.

2reactions
Sorok-Dvacommented, Oct 25, 2019

Anyway it’s ok, the NPM error was due to the test I tried to solve this problem at the beginning (npm config set strict-ssl false fix the npm error)

Running the command lumber install lumber-forestadmin now working fine ! Thanks for this quick hotfix @rap2hpoutre !

Read more comments on GitHub >

github_iconTop Results From Across the Web

SSL issues with ForestAdmin - Help me!
Connecting to your database > Cannot connect to the database due to the following error: > SequelizeConnectionError: self signed certificate.
Read more >
NPM install Error: self signed certificate in certificate chain
At my company, there is an auto signed ssl certificate. So they're some npm packages that cannot be installed because of it.
Read more >
FIX: Self-signed certificate in certificate chain error
This means that the certificate verification process was no longer automatic. So developers now have to set up their application to see the...
Read more >
6 Ways to fix : SSL certificate problem: self signed ... - Jhooq
Scenario 1 : Git clone - SSL certificate problem: self signed certificate in certificate chain. It is one of the most common scenario...
Read more >
How to fix the “Failed to Load Resource” error in WordPress
1- Deactivate all your plugins and activate one by one to check where the issue is coming from. 2- Update your theme and...
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