Login error: The maximum number of concurrent users has been reached

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

jcoffield
Posts: 2
Joined: 17 Jan 2014, 01:16

Login error: The maximum number of concurrent users has been reached

Postby jcoffield » 18 May 2016, 14:08

Hello,

We have an issue that happens at almost the exact same time every day. Our server needs to be restarted after becoming stuck at around 7am MST every day. We have 2000 CCU license and never break 400 users. But the logs are saying things like this:

18 May 2016 | 12:59:58,644 | INFO | SFSWorker:Sys:1 | v2.api.SFSApi | | Login error: The maximum number of concurrent users has been reached; login request rejected. Requested by: { Id: 28296, Type: DEFAULT, Logged: No, IP: 69.85.233.2:46229 }

We're seeing a lot of log items repeated for single ip address. Like session created and removed for a single IP address 10 timers per second. Exp;

18 May 2016 | 12:59:58,369 | INFO | New I/O worker #2 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 28464, Type: WEBSOCKET, Logged: No, IP: 64.150.2.5:15034 }
18 May 2016 | 12:59:58,397 | INFO | New I/O worker #3 | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 28465, Type: WEBSOCKET, Logged: No, IP: 64.150.2.5 } on Server port: 8888 <---> 52317
18 May 2016 | 12:59:58,433 | INFO | New I/O worker #3 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 28465, Type: WEBSOCKET, Logged: No, IP: 64.150.2.5:52317 }
18 May 2016 | 12:59:58,463 | INFO | New I/O worker #4 | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 28466, Type: WEBSOCKET, Logged: No, IP: 64.150.2.5 } on Server port: 8888 <---> 17728
18 May 2016 | 12:59:58,502 | INFO | New I/O worker #4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 28466, Type: WEBSOCKET, Logged: No, IP: 64.150.2.5:17728 }
18 May 2016 | 12:59:58,531 | INFO | New I/O worker #5 | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 28467, Type: WEBSOCKET, Logged: No, IP: 64.150.2.5 } on Server port: 8888 <---> 27315
18 May 2016 | 12:59:58,568 | INFO | New I/O worker #5 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 28467, Type: WEBSOCKET, Logged: No, IP: 64.150.2.5:27315 }
18 May 2016 | 12:59:58,598 | INFO | New I/O worker #6 | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 28468, Type: WEBSOCKET, Logged: No, IP: 64.150.2.5 } on Server port: 8888 <---> 56677
18 May 2016 | 12:59:58,635 | INFO | New I/O worker #6 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 28468, Type: WEBSOCKET, Logged: No, IP: 64.150.2.5:56677 }

We just completely rebuilt the server and updated to the latest server version. Please help. We can't even login to the admin when this happens btw.
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Login error: The maximum number of concurrent users has been reached

Postby Lapo » 18 May 2016, 14:29

Hi,
we just replied to your email. We can continue the discussion there, if our suggestion is not enough.
No need to double post.

thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
Reiden
Posts: 1
Joined: 08 Sep 2019, 13:34

Re: Login error: The maximum number of concurrent users has been reached

Postby Reiden » 08 Sep 2019, 13:42

I also has the same problem our license has unlimited CCU but where getting
08 Sep 2019 | 20:04:30,103 | INFO | New I/O worker #2 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 793, Type: WEBSOCKET, Logged: No, IP: 178.153.28.105:54192 }
08 Sep 2019 | 20:04:30,631 | INFO | New I/O worker #1 | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 796, Type: WEBSOCKET, Logged: No, IP: 99.240.184.9 } on Server port: 8888 <---> 58130
08 Sep 2019 | 20:04:30,866 | INFO | New I/O worker #2 | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 797, Type: WEBSOCKET, Logged: No, IP: 91.75.164.26 } on Server port: 8888 <---> 55639
08 Sep 2019 | 20:04:30,990 | INFO | New I/O worker #3 | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 798, Type: WEBSOCKET, Logged: No, IP: 51.15.192.242 } on Server port: 8888 <---> 44664
08 Sep 2019 | 20:04:31,181 | INFO | SFSWorker:Ext:3 | v2.api.SFSApi | | Login error: The maximum number of concurrent users has been reached; login request rejected. Requested by: { Id: 796, Type: WEBSOCKET, Logged: No, IP: 99.240.184.9:58130 }
08 Sep 2019 | 20:04:31,191 | INFO | SFSWorker:Ext:2 | v2.api.SFSApi | | Login error: The maximum number of concurrent users has been reached; login request rejected. Requested by: { Id: 797, Type: WEBSOCKET, Logged: No, IP: 91.75.164.26:55639 }
08 Sep 2019 | 20:04:32,009 | INFO | SFSWorker:Ext:1 | v2.api.SFSApi | | Login error: The maximum number of concurrent users has been reached; login request rejected. Requested by: { Id: 798, Type: WEBSOCKET, Logged: No, IP: 51.15.192.242:44664 }
08 Sep 2019 | 20:04:32,083 | INFO | New I/O worker #4 | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 799, Type: WEBSOCKET, Logged: No, IP: 45.33.129.76 } on Server port: 8888 <---> 39772.

can you please help us with this problem.
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Login error: The maximum number of concurrent users has been reached

Postby Lapo » 08 Sep 2019, 14:32

Please contact us directly to our support@... mail box.
Also make sure your license was acquired successfully. In your log files you can find the details, when the server started and, if they're any license error later, you will also find them in the logs.

In the email specify the SFS2X version, and attach the log fragment relative to the server start up.

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games
ersindemir
Posts: 30
Joined: 30 Apr 2016, 07:23
Location: Turkey

Re: Login error: The maximum number of concurrent users has been reached

Postby ersindemir » 25 Sep 2019, 17:16

We have same problem too. Our server has unlimited licence, but we got "The license code entered in the SmartFoxServer configuration is invalid; you should purchase a valid license in the SmartFoxServer online shop" error after 12 hour from server restart, then all user are disconnected from game
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Login error: The maximum number of concurrent users has been reached

Postby Lapo » 26 Sep 2019, 06:52

We received your email. My colleagues will get back to you asap.
Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games
vinoth1993.
Posts: 1
Joined: 09 Jan 2020, 12:46

Re: Login error: The maximum number of concurrent users has been reached

Postby vinoth1993. » 30 Jan 2020, 15:53

Hi,
I also faced below mentioned issue in real server , actually i had 2000 CCU , but this message throws when around 840 players are there
it happen some times , once the server restarted it works fine. but i need some clarification . Players are complain now

The maximum number of concurrent users has been reached


Thanks ,
User avatar
Lapo
Site Admin
Posts: 23027
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Login error: The maximum number of concurrent users has been reached

Postby Lapo » 31 Jan 2020, 07:53

vinoth1993. wrote:Hi,
I also faced below mentioned issue in real server , actually i had 2000 CCU , but this message throws when around 840 players are there
it happen some times , once the server restarted it works fine. but i need some clarification . Players are complain now

The maximum number of concurrent users has been reached


Thanks ,

I would recommend you get in touch with us directly via the support@... email box.
Give us all the details of your server (SFS2X version in use + hardware specs) and attach a zipped copy of the logs where the problem happens. Also keep in mind that if you're using NPCs they also are counted as connected users.

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 114 guests