I have an error when trying to install Forge

I receive the following error when trying to install Forge on my WSL v2 Ubuntu system. I have verified that NPM and NVM are up to date. Node.js is installed and updated. And docker is up to date as well.

npm ERR! code 1
npm ERR! path /home/USER/.nvm/versions/node/v18.17.1/lib/node_modules/@forge/cli/node_modules/ngrok
npm ERR! command failed
npm ERR! command sh -c node ./postinstall.js
npm ERR! ngrok - downloading binary https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.zip
npm ERR! ngrok - downloading progress:
npm ERR! ngrok - error downloading from URL RequestError: self-signed certificate in certificate chain

Any ideas?

Welcome to the Atlassian developer community @StephenValliere,

The ngrok URL is not self-signed (it’s Let’s Encrypt) so I suspect there’s some other SSL problem between you and the CDN hosting that ngrok binary. Maybe you could run the following for some additional diagnostics:

curl -vfsSL  https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.zip

The results should be safe for posting.

The issue was on our firewall apparently. I am all set now though thanks!

2 Likes

Hi @StephenValliere ,

I am facing same issue, Could you guide me steps to resolve this issue?