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

[3.3.0] Webpack Dev Server attempts insecure websocket connection #8083

Closed
silverwind opened this issue Dec 5, 2019 · 1 comment
Closed

Comments

@silverwind
Copy link

silverwind commented Dec 5, 2019

Describe the bug

Before 3.3.0, the dev server's websocket was connected via wss:// when the site was reached via https:// but this seems no longer to be the case, it now only seems to attempt ws:// which is blocked by the browser:

Steps to reproduce

  • Create a app on 3.3.0 and start the dev server
  • Set up a HTTPS reverse proxy towards the devserver port
  • If the HTTPS certificate is self-signed, add it to OS or Browser stores
  • Open the HTTPS site, observe above error

Expected behavior

Websocket should connect using wss:// when site is served on https://.

Actual behavior

Websocket tries to connect ws:// and is blocked by the browser.

@silverwind
Copy link
Author

Looks this was fixed in #8079, sorry for the noise.

@lock lock bot locked and limited conversation to collaborators Dec 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant