Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: troubleshooting issues with self-signed SSL certs #11126

Merged
merged 6 commits into from
Dec 17, 2022

Conversation

fc
Copy link
Contributor

@fc fc commented Nov 30, 2022

Description

How to deal with random caching problems that happen in local dev due to a self-signed SSL cert.

Additional context

I've run into this problem and have seen others in the Vite Discord run into it.


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Read the Pull Request Guidelines and follow the Commit Convention.
  • Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

@fc
Copy link
Contributor Author

fc commented Nov 30, 2022

It looks like the specific test it is failing on is failing for others...

@@ -83,6 +101,10 @@ If HMR is not handled by Vite or a plugin, a full reload will happen.

Also if there is a dependency loop, a full reload will happen. To solve this, try removing the loop.

### High number of HMR updates in console

This can be caused by a dependency loop,. To solve this, try removing the loop.
Copy link
Contributor Author

@fc fc Dec 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding this based on the comment and subsequent resolution here:
https://discord.com/channels/804011606160703521/804011606160703524/1048065116844871690

fc and others added 2 commits December 16, 2022 14:34
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
@fc fc changed the title docs: Troubleshooting issues with self-signed SSL certs docs: troubleshooting issues with self-signed SSL certs Dec 16, 2022
Copy link
Member

@bluwy bluwy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not familiar with certificate management but I trust you on this one 😄 Thanks for compiling the common issues from Discord.

@patak-dev patak-dev merged commit 2059319 into vitejs:main Dec 17, 2022
futurGH pushed a commit to futurGH/vite that referenced this pull request Feb 26, 2023
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants