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.

Cannot run locally (Chrome Privacy error)

See original GitHub issue

Description

Hello, I’m excited to be trying out Jitsi! Thanks for this amazing product.

My first task involves running this repo locally. After installing and doing make dev I see the following in Chrome – note that there’s no bypass link given.

Screen Shot 2020-04-02 at 2 45 20 PM

I don’t know what the cert it’s referring to might be, it has an expiration date of May 2020 and is not something in my keychain. When I click on the NET::ERR_CERT_INVALID it shows the key preceded by:

Subject: localhost
Issuer: localhost
Expires on: May 2, 2020
Current date: Apr 2, 2020
PEM encoded chain:
...

I tried generating a self-signed cert for localhost (I’m on macos), and setting it to always trust but it always shows this screen.

Note that I have other dev projects that run locally using https without any issue – this is a new one for me!


Current behavior

Cannot view https://localhost:8080 despite Webpack working without any problems

./node_modules/.bin/webpack-dev-server
ℹ 「wds」: Project is running at https://localhost:8080/
ℹ 「wds」: webpack output is served from /libs/
ℹ 「wds」: Content not from webpack is served from /Users/moses/Documents/cloudengage/chord-video

Expected Behavior

Can view https://localhost:8080


Steps to reproduce

  • clone repo
  • npm install
  • make dev (I also tried running make)

Environment details

Mac Catalina 10.15.2

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
damenchocommented, Apr 2, 2020

In the Chrome address bar, type “chrome://flags/#allow-insecure-localhost“ Select the “Enable” link.

0reactions
mosesoakcommented, Apr 3, 2020

Thanks for the info, @damencho, I will! And yes, a docs update on this would be fantastic, if it works out I’ll provide a PR to make this issue worth your time. Thanks again

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix "Your Connection Is Not Private" Error - Hostinger
1. Reload the Page ... If you see the “Your connection is not private” warning message, you should first try to reload the...
Read more >
Quick and Easy Fixes for 'Your Connection Is Not Private' Errors
How to Fix the 'Your Connection Is Not Private' Error in Chrome ; 4. Try Incognito Mode. Incognito mode in browser ; 5....
Read more >
localhost blocked on Chrome with "Privacy Error"
Try this: In Chrome, put in chrome://flags/#allow-insecure-localhost in the address bar. Enable the option that says "Allow invalid ...
Read more >
How to Fix a Privacy Error In Chrome - Lifewire
Chrome returns this privacy error when it can't verify the SSL certificate of the site you're trying to reach. SSL is a secure...
Read more >
Fix Your Connection Is Not Private Error On Chrome & Other ...
This is a common error "Your Connection is Not Private" NET::ERR_CERT_DATE_INVALID or NET::ERR_CERT_COMMON_NAME_INVALID on Google Chrome.
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