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.

SSL mode refreshes browser excessively

See original GitHub issue

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

v1.0.0

Repro steps.

ng serve --ssl

The log given by the failure.

Browser console shows “[WDS] Disconnect” and then refreshes 5-12 times after recompiling on code change or refreshing the page manually.

Desired functionality.

Not excessively refreshing the browser

Mention any other details that might be useful.

Issue seems to have been triaged already for another project. Known problem with webpack-dev-server. Can we include the same fix? https://github.com/facebookincubator/create-react-app/issues/574

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:20
  • Comments:41 (2 by maintainers)

github_iconTop GitHub Comments

15reactions
TheSamsterZAcommented, Feb 27, 2018

@dottodot What I’ve done is disable live reload:

ng serve --ssl --ssl-key certificate.key --ssl-cert certificate.crt --live-reload false

The caveat being that I need to manually refresh the browser after the build has succeeded.

I’m not familiar with iOS development, but if you can reload it manually, then that should help ease your frustrations with this.

4reactions
aldo-romancommented, Apr 7, 2017

I also face the same issue. Also see #2816

We need to test on SSL locally

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix "Your Connection is Not Private" Error (18 Tips)
Try in Incognito Mode; Clear Browser Cache and Cookies; Try Clearing the SSL State on Your Computer; Change DNS Servers; Disable VPN and ......
Read more >
How can I reset my ssl state in Chrome? - Quora
It's easy to clear the SSL State in Google Chrome, perform following operations. In the right corner, Click on Options tab and hit...
Read more >
How to Fix 'This Connection Is Not Private' Error - ThemeIsle
If your old operating system or browser can't recognize the latest versions of a site's SSL integration, then it could lead to an...
Read more >
SSL works in Chrome and Edge, but not in Firefox
So the browsers' behavior are all correct. (All for Chrome, Edge and Firefox, and all with normal/incognito modes.).
Read more >
Settings to Control Decrypted SSL Traffic - Palo Alto Networks
If certificate revocation servers respond slowly, blocking on a timeout may block sites that have valid certificates. You can increase the ...
Read more >

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