[GH-ISSUE #156] "a connection has dropped unexpectedly" when closing web pages #127

Closed
opened 2026-02-26 12:34:04 +03:00 by kerem · 1 comment
Owner

Originally created by @Klaaktu on GitHub (Mar 4, 2021).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/156

I get a lot of "a connection has dropped unexpectedly" message in ck-server. I think they correspond to when I close a web page in browser. Is this normal? It seems that most of the sessions were closed this way.
Client: Ubuntu 20.10 + Shadowsocks-Rust v1.9.1 + Cloak v2.5.2 ("NumConn": 0) + Firefox
Server: Ubuntu 20.10 + Shadowsocks-Rust v1.9.1 + Cloak v2.5.2

Originally created by @Klaaktu on GitHub (Mar 4, 2021). Original GitHub issue: https://github.com/cbeuw/Cloak/issues/156 I get a lot of "a connection has dropped unexpectedly" message in ck-server. I think they correspond to when I close a web page in browser. Is this normal? It seems that most of the sessions were closed this way. Client: Ubuntu 20.10 + Shadowsocks-Rust v1.9.1 + Cloak v2.5.2 (`"NumConn": 0`) + Firefox Server: Ubuntu 20.10 + Shadowsocks-Rust v1.9.1 + Cloak v2.5.2
kerem closed this issue 2026-02-26 12:34:04 +03:00
Author
Owner

@malikshi commented on GitHub (Mar 4, 2021):

NumConn is the amount of underlying TCP connections you want to use. The default of 4 should be appropriate for most people. Setting it too high will hinder the performance. Setting it to 0 will disable connection multiplexing and each TCP connection will spawn a separate short-lived session that will be closed after it is terminated. This makes it behave like GoQuiet. This maybe useful for people with unstable connections

I think it's normal. I am usually numconn set 32/64 on shadow socks and numconn 1 proxying vpn

<!-- gh-comment-id:790468781 --> @malikshi commented on GitHub (Mar 4, 2021): >NumConn is the amount of underlying TCP connections you want to use. The default of 4 should be appropriate for most people. Setting it too high will hinder the performance. Setting it to 0 will disable connection multiplexing and each TCP connection will spawn a separate short-lived session that will be closed after it is terminated. This makes it behave like GoQuiet. This maybe useful for people with unstable connections I think it's normal. I am usually numconn set 32/64 on shadow socks and numconn 1 proxying vpn
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Cloak#127
No description provided.