-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[WDS] Disconnected! - Bug? #1419
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
Comments
I am getting this message HMR Not receive update signal from WDS and stuck in console console. My page is going in an infinite loading. |
Also happening to me, it looks like it is happening since my Chrome updated to V67 |
I think for me it been happening even before v67. I have to admit I never tried any other browser to see if they have the same problem. |
Open chrome://flags/#allow-insecure-localhost It works for me (temporary workaround) |
It does not seem to work for me. |
Did you restart Chrome? Also which domain / hostname do you use for the server? So far this is not a bug / issue in webpack. We have no control over the security settings of the browsers. |
Yes I restarted Chrome. I am on localhost:8080. I went to the stack page and I cannot find the option they are talking about in my version of chrome. |
And one of the bypasses? https://stackoverflow.com/a/47646463/753676 |
I am not sure, I will try it but I am not really sure how to get to wherever I need to put a bypass in. |
Anyone have any other suggestions? |
@chobo2 I had this problem at the beginning,and because I set |
I don't think I have that flag set, I dont' see it in my webpack config, unless this is something on by default? |
Unsure if this is related but I noticed that once I updated to Chrome v67 it was forcing localhost over https (or at least I think it was). I added |
@gs-ppara it not work for me. |
I am a Chinese, my English is not very good, do not know how to express, but now I will encounter endless requests, causing my own server to be blocked。 |
@gitors , I have same problem. And my chrome version is 67.0.3396.99 just like you. |
@gitors , can you fixed this problem? |
@xxxfuwei i reset my codes from gitlab to solve the problem. |
I'm seeing this behavior too. Driving me nuts. |
I have not seen this problem since I switched over to webpack-serve though now it been deprecated(first it was said to be used over webpack-dev-server not they changed their minds). I am scared to switch over because of this issue. |
I found a solution for my situation and posted about it here: #851 |
@WellspringCS @chobo2 please create minimum reproducible test repo, thanks |
@evilebottnawi I apologize, but I cannot, the biggest reason being this: in order to solve the problem I did strip my project bare and rebuild it. And the issue did not resurface until I had added several layers of components and navigation, at which point I started having existential moments, wondering what to do. I finally tried the desperation already noted, and it worked. But it seems that in order to have the problem, you have to have some weight to your project, I can't deliver a working OAuth2/API solution to you, sadly. I will clarify, however, that the key features that produced this problem for me were (and I'm not sure which, if any, are the necessary ingredients... I'm just listing some salient features):
Here's the contents of my package.json { |
@WellspringCS It is hard to reproduce problem based on your information, i can't help without minimum reproducible test repo. We can contact via email and use NDA if you are afraid for the information in the project. |
Yes, I would be fine with that approach, and if I can be of help I'd gladly do so. Except that your posted name reads "I want to be evil" if read backwards. :) Or should I read it "live" ? So much riding on the translation! |
@WellspringCS translation game 😄 |
I see the HMR module is pinging to webpack config {
devServer: {
host: '0.0.0.0',
port: 9443,
disableHostCheck: true, // process.env.NODE_ENV === 'development'
https: true,
headers: {
'Access-Control-Allow-Origin': '*'
},
useLocalIp: false,
}
} |
Here there are lot of difference issues, so i am closing this issue, please open new a issue (with reproducible test repo) when you have some problems with latest version |
settings are copiped from following comment webpack/webpack-dev-server#1419 (comment)
To reproduce.
Now I'm getting error.
Meanwhile, when I start React app without Visual Studio just using npm run start, it starts on https://localhost:3000 without errors. |
This can be reproduced as well using ASP.NET Core 3.1 with standard Angular Template (Angular 8) so long as you target Internet Explorer as your browser (It does not happen in Chrome) Likewise when I start the Angular App without Visual Studio (npm start) then I get no script errors when visiting localhost:4200 using Internet Explorer. Conditions for me appear to be that you must:
|
Hi
I am having a problem where my webpack seems to get chocked up and then I lose connection. I usually have to recompile after one refresh
OS: Windows 7
Node: v8.10.0
NPM: 6.1.0
webpack: ^4.10.2
webpack-cli: ^2.1.4
webpack-dev-server: ^3.1.4
Chrome : 67.0.3396.79
Expected Behavior
When I hit the save button, it will refresh the google chrome page.
Actual Behavior
It will refresh on save maybe once or twice but after that the connection timesout and then disconnects.
For Bugs; How can we reproduce the behavior?
https://github.com/chobo2/WebpackTest
The text was updated successfully, but these errors were encountered: