You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just after I set my maxips count to 1 I noticed random disconnections, so I investigated further into 429 errors
Haproxy container logs showed a loop of connection - flush - disconnection
I'd share the log if anyone is interested
The text was updated successfully, but these errors were encountered:
No problem, unfortunately I don't have the logs any more. I also used and modified your lua script to implement a way to limit ips without timeouts during this time, users are able to connect as soon as another one disconnects, so thanks for the idea.
I don't know lua, but I read the script at the time for several hours and figured out what's wrong with it;
so if ip_limit is x and x users are connected, whenever we flush the table:
and we'd look path_ips_list[2] for the length of ips, which is indeed equal to x.
so the function returns and the user is banned until the next flush happens.
just after I set my maxips count to 1 I noticed random disconnections, so I investigated further into 429 errors
Haproxy container logs showed a loop of connection - flush - disconnection
I'd share the log if anyone is interested
The text was updated successfully, but these errors were encountered: