Connection to 5.9.0 on low bandwidth results in Timeout #7316
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/petz
3. source/testserver
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/QA main
4. step/QA NOK
4. step/QA OK
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#7316
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Similar to your-land/administration#208 people on low bandwidth connections report issues when connecting to the testserver.
On the 5.9.0 testserver (30001), I keep getting these:
The client cannot log in, its either stuck or gets a timeout. That happens on the same device that can log in to the 5.8.0 main server (30000) without problems. The same device can also log in to the 5.9.0 testserver if it uses a normal DSL landline. If I use mobile data, I cannot log in. It eventually ends in a timeout.
This affects ALL servers that were upgraded to 5.9.0: Test, builder and even the NPC server (30003) which is not very content-heavy.
Diaeresis suggested to remove a check:
c3a8205ed9
I did that, but yielded no positive result.
Seeing that Alias was able to reproduce the issue. Along with having issues with logging in using a mobile connection. I reproduced the same tests he did. Finding that with a mobile connection I am able to connect to main, test, build server. However if using DSL I can log only onto main server. Not onto the test nor build getting hung up on loading item definitions. Than timing out.
Apparently there is an upstream issue already, thank you Lars for notifying me!
https://github.com/minetest/minetest/issues/14765
We're also getting a "Ran out of sequence numbers!" spam. We had
max_packets_per_iteration = 60000
, but also decreasing to 2048 didn't change much.Here are three debug.txt to the NPC server with debu_log_level = trace, the server is not very large on media compared to the others:
Since we have a repro, I offered them to bring more info, add debugging code or if we can otherwise assist, to please let me know
Testing with poor network connection on the
Your Neighbours
Server, due to a smaller media footprint.https://your-land.de/additional/7316/attempt4.txt : YN main, packet quota 1024, deleted media cache, none of the patches: Took a while, but I was able to log in.
https://your-land.de/additional/7316/attempt5.txt : YL Testserver, packet quota 2048, deleted media cache, none of the patches: Took a while, but I was able to log in. I saw the message "Ran out of sequence numbers" but then it started anew.
Finally, I used up all my data volume:
https://your-land.de/additional/7316/attempt6.txt : YN main, packet quota 1024, deleted media cache, none of the patches: Timeout and many "ran out of sequence numbers". Yay, a repro.
Now I built https://github.com/sfan5/minetest.git branch lessbrokennetwork:
https://your-land.de/additional/7316/attempt7.txt : YN main, packet quote 1024, kept media cache, patch df8b3b6631a488d818f30d27f6d44cfeddb30f14: Many Ran out of sequence numbers!, then DC
https://your-land.de/additional/7316/attempt8.txt : YN main, packet quote 1024, kept media cache, patch f28d2a78edfaab8f6cced5b7921c647dd5fa0ff1: Many Ran out of sequence numbers!, then DC
Yes, with
max_packets_per_iteration=128
and good connection I can do stuff, with bad connection DCs. Please note, YN main (address: your-land.de port 30003) does not have much going on, it's mostly static with few NPCs standing around.Good connection to 5.9.0 server with 5.9.0 mobile client:
https://your-land.de/additional/7316/attempt9.txt : YN main, packet quote 128, kept media cache, none of the patches: I can log in and run around
Bad connection to 5.9.0 server with 5.9.0 mobile client:
https://your-land.de/additional/7316/attempt10.txt : YN main, packet quote 128, kept media cache, none of the patches: Many Ran out of sequence numbers!, then DC
Bad connection to 5.8.0 server with 5.9.0 mobile client:
YL main, packet quote 60000, kept media cache, server 5.8.0: DC. No debug.txt, because main server
Bad connection to 5.9.0 server with 5.9.0 mobile client:
https://your-land.de/additional/7316/attempt11.txt : YN main, packet quote 1024, kept media cache, commit 1b952a9e34ef5841c0f39513bf6a5ddee3ba53a8: Took a while, then brief login, then DC again
Eventually we'll have to admit that Minetest requires a bandwidth and ping above carrier pidgeon grade - at least smoke signals.
This was fixed with 5.11.0 and fixed again for 5.12.0