-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Server Timeout #391
Comments
a PR for ranges was merged |
@sokra Is this settings available on webpack 1.x? |
@sokra any reference to the PR? angular/angular-cli seems to have an error about this and I'm searching for information about it. |
@sokra Any reference to the PR? |
@yjcxy12, it worked perfectly, thanks! node_modules\webpack-dev-server\lib\Server.js this.listeningApp.timeout = 600000; //10 Minutes |
I'm still having a timeout with a reconnect after 2 minutes with webpack-dev-server 2.11.1. |
I also had the problem of 2 minutes timeout for a proxy request and I could solve the problem with the following webpack-dev-server configuration for http-proxy:
See webpack-dev-server, http-proxy and node http api documentations. |
If you want no timeout you can set 0 to proxyTimeout and onProxyReq. |
I've tried all of these suggestions, no dice. The browser disconnects after 2 minutes. Any other suggestions? |
As I use axios for making api calls. so eventually i was trying to set timeout there. |
I was working with video and serve the file from local file system. If the video length is more than 2 minutes, the server gives net::ERR_CONTENT_LENGTH_MISMATCH error.
It was due to express server default timeout is 2 minutes. My temporary solution was to change manually to Server.js -> listeningApp to set timeout to 0.
Is there a better way to solve the problem? If not, is there going to be a configurable option for server timeout in the future?
Thanks
The text was updated successfully, but these errors were encountered: