For some reason the server is caching or not dropping the user once they leave. They can login again but the "ghost" user still remains. This fills up the server fast, they show online but they are not. I am running version 2.12.3.
Used to work fine but for some reason this started to happen. Any suggestions/feedback on how to solve this is appreciated. Thank you.
Users still appear in the room when they leave
Re: Users still appear in the room when they leave
Hi,
can it be reproduces or does it happen sporadically?
In general ghost users are caused by incomplete TCP disconnections. If you take a look with a tool such as netstat you should notice this.
When this happens very often it's likely caused by network issues, or sometimes by firewalls.
In fact if you try to reproduce it locally (with no active firewalls) you won't succeed.
Thanks
can it be reproduces or does it happen sporadically?
In general ghost users are caused by incomplete TCP disconnections. If you take a look with a tool such as netstat you should notice this.
When this happens very often it's likely caused by network issues, or sometimes by firewalls.
In fact if you try to reproduce it locally (with no active firewalls) you won't succeed.
Thanks
Re: Users still appear in the room when they leave
We can reproduce it, it happens 20-30 times a day from different users. What is the resolution in this case? Is there something code wise we can do to fix it? At one point we can see a user name repeat 10-15 times in the lobby but obviously there are not online. Attached an image of the lobby users http://pasteboard.co/4WPfU1Twb.png
Re: Users still appear in the room when they leave
albcom wrote:We can reproduce it, it happens 20-30 times a day from different users.
So can you describe the steps to reproduce it?
What is the resolution in this case? Is there something code wise we can do to fix it? At one point we can see a user name repeat 10-15 times in the lobby but obviously there are not online. Attached an image of the lobby users http://pasteboard.co/4WPfU1Twb.png
Please report what version of SFS2X you're using, what client platform and API version
Are client mostly mobile? desktop?
Thanks
Re: Users still appear in the room when they leave
We are using smartfoxserver 2.13.0 and we also have this problem with ghost users. All our clients are mobile users with C++ client API. This issue is really annoying and the only solution is to restart smartfoxserver but this is not a good option.
Re: Users still appear in the room when they leave
Hi,
recently we have released patch 2.13.3 that addresses a corner case that can lead to users stuck in a Room.
You can download patch from here:
https://www.smartfoxserver.com/download/sfs2x#p=updates
I think this will help you remove the problem.
recently we have released patch 2.13.3 that addresses a corner case that can lead to users stuck in a Room.
You can download patch from here:
https://www.smartfoxserver.com/download/sfs2x#p=updates
I think this will help you remove the problem.
Who is online
Users browsing this forum: Google [Bot] and 54 guests