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
Plugin version: AntiVPN-Bungee-6.4.18
Server type: Waterfall
Server version: Build 395
Describe the bug
Whenever a player logs in, the login takes a while because PreLoginEvent is taking long to process (about 500ms to over 2000ms). Seems to be caused by AntiVPN, since removing the plugin resolves the issue. Other users have also reported the issue in the Discord server.
[18:24:55 WARN]: Event PreLoginEvent(cancelled=false, cancelReasonComponents=null, connection=[/123.45.678.9:1234|Kopo942] <-> InitialHandler) took 1,360ms to process!
Anti-VPN isn't magic and relies on external APIs/services to determine VPN/proxy usage.
Web requests take a little time to happen. Async login event is used to ensure that those times don't affect server performance.
Additionally, results are cached in databases as well as in-memory (both are configurable) to ensure that those long requests don't happen too often assuming a consistent playerbase.
If you find that some services are slower to respond than others, you can configure the plugin to use services that are faster before or instead of the slower ones.
There's nothing more I can do to "speed up" Anti-VPN response times because everything else relies on the services used.
Plugin version:
AntiVPN-Bungee-6.4.18
Server type:
Waterfall
Server version:
Build 395
Describe the bug
Whenever a player logs in, the login takes a while because PreLoginEvent is taking long to process (about 500ms to over 2000ms). Seems to be caused by AntiVPN, since removing the plugin resolves the issue. Other users have also reported the issue in the Discord server.
Plugins
AntiVPN, LuckPerms, Maintenance, NuVotifier, Plan, ServerListPlus
The text was updated successfully, but these errors were encountered: