2025-07-18 05:29 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002408Spring engineGeneralpublic2011-07-21 23:36
ReporterjK 
Assigned Tozerver 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version 
Target Version83.0Fixed in Version0.82.7+git 
Summary0002408: Bugs in reconnect code
Descriptionhttp://pastebin.com/DPxXxuHS

bugs:
-> first it just tries to reconnect once instead of each second ([f=0001909] Reconnecting to server... 16s)
-> there is a keyframe gap after reconnecting ([f=0002036] Error: Keyframe difference: -27)
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0006559

zerver (reporter)

Yeah, I saw this behavior first time yesterday. The single rather than repeated reconnection attempt must be caused by some kind of response from the server. But the keyframe difference, no clue, I've never encountered that.

Another thing I have seen is that the server password changes in the middle of the game and the reconnect will then be rejected.

One third thing I have seen is that it occasionally does not try to reconnect at all, possibly because there is some network activity still going through, but the sim is not progressing.

~0007055

Kloot (developer)

Last edited: 2011-07-21 01:37

"The single rather than repeated reconnection attempt must be caused by some kind of response from the server."

From what I've seen there are actually multiple attempts made, but the code in UDPConnection that updates reconnectTime (NeedsReconnect()) on each try is weird so the timer never appears to decrease.

~0007056

zerver (reporter)

The timer is supposed to increase, to show how long it has been trying to reconnect

https://github.com/spring/spring/commit/e3983cc99eb3b48ba2ba3c3b4d2106801e1b1a78
+Notes

-Issue History
Date Modified Username Field Change
2011-04-19 00:31 jK New Issue
2011-04-19 02:19 zerver Note Added: 0006559
2011-06-10 16:43 hoijui Target Version => 0.83.0
2011-07-20 12:06 zerver Status new => assigned
2011-07-20 12:06 zerver Assigned To => zerver
2011-07-21 01:36 Kloot Note Added: 0007055
2011-07-21 01:37 Kloot Note Edited: 0007055
2011-07-21 23:36 zerver Note Added: 0007056
2011-07-21 23:36 zerver Status assigned => resolved
2011-07-21 23:36 zerver Fixed in Version => 0.82.7+git
2011-07-21 23:36 zerver Resolution open => fixed
+Issue History