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
Excessive handshakes in desktop client #6053
Labels
bug
broken functionality, usability problems, unexpected errors
desktop
Desktop client related issues
state:done
meets our definition of done
state:tested
We tested it and are about to release it
Milestone
Comments
charlag
added
bug
broken functionality, usability problems, unexpected errors
desktop
Desktop client related issues
labels
Oct 30, 2023
charlag
added a commit
that referenced
this issue
Oct 30, 2023
charlag
added a commit
that referenced
this issue
Nov 2, 2023
charlag
added a commit
that referenced
this issue
Nov 6, 2023
Since we switched to built-in fetch() as our implementation we noticed that a number of users are making excessive TLS handshakes. We've found that by default undici (that's powering node's built-in fetch()) has low idle timeout and has no default limit for connections. We are now explicitly using undici (also more recent version) with explicitly configured dispatcher to adjust the http client parameters. We should switch to HTTP2 once it stabilizes in undici. fix #6053
charlag
added a commit
that referenced
this issue
Nov 6, 2023
Since we switched to built-in fetch() as our implementation we noticed that a number of users are making excessive TLS handshakes. We've found that by default undici (that's powering node's built-in fetch()) has low idle timeout and has no default limit for connections. We are now explicitly using undici (also more recent version) with explicitly configured dispatcher to adjust the http client parameters. We should switch to HTTP2 once it stabilizes in undici. fix #6053
ganthern
pushed a commit
that referenced
this issue
Nov 13, 2023
Since we switched to built-in fetch() as our implementation we noticed that a number of users are making excessive TLS handshakes. We've found that by default undici (that's powering node's built-in fetch()) has low idle timeout and has no default limit for connections. We are now explicitly using undici (also more recent version) with explicitly configured dispatcher to adjust the http client parameters. We should switch to HTTP2 once it stabilizes in undici. fix #6053
ganthern
pushed a commit
that referenced
this issue
Nov 13, 2023
Since we switched to built-in fetch() as our implementation we noticed that a number of users are making excessive TLS handshakes. We've found that by default undici (that's powering node's built-in fetch()) has low idle timeout and has no default limit for connections. We are now explicitly using undici (also more recent version) with explicitly configured dispatcher to adjust the http client parameters. We should switch to HTTP2 once it stabilizes in undici. fix #6053
ganthern
pushed a commit
that referenced
this issue
Nov 13, 2023
Since we switched to built-in fetch() as our implementation we noticed that a number of users are making excessive TLS handshakes. We've found that by default undici (that's powering node's built-in fetch()) has low idle timeout and has no default limit for connections. We are now explicitly using undici (also more recent version) with explicitly configured dispatcher to adjust the http client parameters. We should switch to HTTP2 once it stabilizes in undici. fix #6053
ganthern
pushed a commit
that referenced
this issue
Nov 13, 2023
Since we switched to built-in fetch() as our implementation we noticed that a number of users are making excessive TLS handshakes. We've found that by default undici (that's powering node's built-in fetch()) has low idle timeout and has no default limit for connections. We are now explicitly using undici (also more recent version) with explicitly configured dispatcher to adjust the http client parameters. We should switch to HTTP2 once it stabilizes in undici. fix #6053
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
broken functionality, usability problems, unexpected errors
desktop
Desktop client related issues
state:done
meets our definition of done
state:tested
We tested it and are about to release it
v3.118.12
We see many cases of users hitting "Bad Handshake Ratio" limits, especially while indexing. It seems like it could be related to using
fetch()
builtin from Node. Local testing shows that we indeed do a lot of handshakes and it seems like keepalive time is very short.Tasks
Test notes
The text was updated successfully, but these errors were encountered: