Server connection issues
EWF Multiplayer test » Devlog
Hi again,
I noticed there are still some server connection issues. More precisely, when connection with realm server is lost (by shard servers) it seems connection recovery fails. That is unfortunate, because for now I can't debug it much, so only thing I can do is just restart server when I notice it happened.
I see two strange things with this issue:
- Why connection is lost?
It seems to be possibly related again with database connection being idle for too long. That issue is getting annoying. I already done few fixes for that, but it seems SQL lib I use do some caching and in case connection is lost, only way to recover it properly is to totally close it and setup everything from scratch, what in my opinion is not the best solution (especially there is dedicated method for reconnect, but it seems to be not working properly due to mentioned caching). Another thing is that I don't really see why database connection issue could cause connection issue between shard and realm servers, since that's totally different connection. Maybe it is not related and that connection issue is caused by something else, hard to tell without proper debugging. - Why cannot recover connection?
In my implementation of servers I predicted case that connection may be lost. In such case server will try reconnect every few seconds and I expected this to recover connection, but for some unknown for me reasons it seems after connection is lost once it will always fail in future until server is restarted. That may be some issue in my implementation, but again I can't debug it now, because I have only limited access to server currently.
Sorry if server doesn't work when you try to test it, but well that's always some feedback for me. Seems stability of servers connections is not the best yet and need more work :p
Get EWF Multiplayer test
Download NowName your own price
EWF Multiplayer test
Multiplayer framework tech demo
Status | Prototype |
Author | GlyphTheWolf |
Genre | Role Playing |
Tags | Furry, Multiplayer, Prototype |
Languages | English |
More posts
- Idle server connection issue fix5 days ago
- I'm back6 days ago
- Future work62 days ago
- HighEnd realm open session63 days ago
- Auth server bug fixed67 days ago
- Project published68 days ago
Leave a comment
Log in with itch.io to leave a comment.