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

fix: increase timeouts for GUI server #265

Merged
merged 1 commit into from
Sep 23, 2019

Conversation

CatWithApple
Copy link
Contributor

fix for error 'net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)' on slow '/init' request.

fix for error 'net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)' on slow '/init' request.
Copy link
Member

@DudaGod DudaGod left a comment

Choose a reason for hiding this comment

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

/ok

MAX_REQUEST_SIZE: '100mb'
MAX_REQUEST_SIZE: '100mb',
KEEP_ALIVE_TIMEOUT: 120 * 1000,
HEADERS_TIMEOUT: 125 * 1000
Copy link
Member

Choose a reason for hiding this comment

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

а почему тут 125?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

@xrsd xrsd Sep 24, 2019

Choose a reason for hiding this comment

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

Я, кстати, забыл отписаться в тикете, что пробовал поставить KEEP_ALIVE_TIMEOUT для сервера ровно в то же значение, что и ты – и безрезультатно. А вот HEADERS_TIMEOUT не пробовал задавать.

Так ты проверил? Помогло? Если помогло, то явно не keep-alive-timeout

Copy link
Collaborator

Choose a reason for hiding this comment

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

Я понял – оказывается, я пытался устанавливать это значения для сервера express, а так не работает, надо делать как ниже.

@CatWithApple CatWithApple merged commit d51bfb8 into master Sep 23, 2019
@sipayRT sipayRT deleted the increase-timeouts-for-gui-server branch November 28, 2019 08:08
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.

3 participants