-
Notifications
You must be signed in to change notification settings - Fork 10
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
Keep Getting "[WDS] Disconnected!" Error #474
Comments
I believe this is caused by the Webpack Dev Server (WDS) not running on the HTTPS port (https://localhost:28080), only the HTTP port (http://localhost:28080). Honestly, this is a tricky problem to solve because enabling HTTPS would require a valid HTTPS certificate, which will cause the browser to show invalid certificate error (because localhost certificates are self-signed). |
What happens when you enable HTTPS access for WDS:
^ quoted from someone with similar problem Currently there is NO way to automatically trust a dynamically generated self-signed certificate for use in If you really need to develop with HTTPS, use dev-watch mode instead of hot reload mode. Feel free to send PR if you know the solution to this problem, though. |
I see, so we have to use HTTP instead. Thank you for your confirmation. I'm closing this issue since it is coming from WDS. |
Hi there, I have an issue when using your hot reload feature on an application that running using HTTPS, I keep getting "[WDS] Disconnected!" error. However, this problem does not occur when my application does not running using HTTP.
This is what it looks like in Google Chrome's DevTools:
The text was updated successfully, but these errors were encountered: