-
Notifications
You must be signed in to change notification settings - Fork 286
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
toxcore continuously disconnects from the network and tries to connect again #440
Comments
Btw, I think that it's quite big issue, given that after years of using tox I'm now unable to use it. |
it sound like this is sort of the same direction as allowing longer periods without keep alive for mobile devices. |
Does this require those 40-50 friends to be online? |
How often does it happen? Is there a way to reliably reproduce this? |
No. There are usually only ~10% of friends online for both friendlist sizes.
Almost all the time. The time period between "connecting" to the DHT and disconnecting is usually less than 30s. Sometimes it takes a minute or 2 to disconnect.
It happens when upload bandwidth is saturated. Regarding "bisect", I've started with toxcore 755f084, issue is still present, although to a lesser degree. On old toxcore time required to reconnect to the DHT is usually less than 30s, often less than 10s. New toxcore (v0.1.4) requires >30-60s, often minutes. On old toxcore, there are contacts that are shown as online, and I can just use it although it disconnects fairly frequently from DHT. On new toxcore almost all contacts are shown as offline even though they are online; it's not usable. |
@zetok are you able to install and run wireshark as root? |
Yes. |
update: turning UDP off ~works around the issue. TCP-only mode still suffers from contacts being shown as offline (#231) though. |
update: turning UDP off helps only to lessen the problem, in the end it just takes longer for the problem to occur. |
Can't reproduce this right now. If this is still an issue, please reopen. |
Reproducible with higher number of contacts. Initially I could reproduce only on a single profile that had >150 contacts, but it also became a problem even with lower number of contacts (~40-50). Although profile with lower number of contacts doesn't disconnect as often, it still is frequent enough to render tox unusable.
Reproducible when upload bandwidth is ~saturated.
After toxcore disconnects, it tries to connect again, attempting to send a large amount of stuff. This only worsens the network conditions when upload is already saturated.
I didn't have the issue on older (irungentoo's) toxcore.
The text was updated successfully, but these errors were encountered: