AuthMe / AuthMeReloaded

The best authentication plugin for the Bukkit/Spigot API!
https://www.spigotmc.org/resources/authmereloaded.6269/
GNU General Public License v3.0
628 stars 516 forks source link

Delay problem. #1600

Closed NeximaOzi closed 6 years ago

NeximaOzi commented 6 years ago

Hello,

When joined on server just waiting 10 20 second and after login message coming. If you not see this message can't join with "/login password" command. This issue was no problem but now have. Why like this im really don't know.

Video link: https://vk.com/video246456789_456239017

Version: AuthMeReloaded v5.5.0-SNAPSHOT (build: 2094)

Plugin list: AntiWDL, ViaVersion, Skript, ScoreboardHotfix, BungeeBlockProxy, ViaBackwards, HideAchievements, PlayerReset, ProtocolLib, NoCheatPlus, AuthMe

Server status; Bungeecord, Mysql

config.yml https://hastebin.com/xudotosoma.bash

Server log; https://hastebin.com/zubagopiso.md

Authme log; https://hastebin.com/faraliqapu.md

Spigot version: 1.12.2

krusic22 commented 6 years ago

This is not really a AuthMe problem. This happens when chunks are being send to the client and/or the server is lagging to the point where it delays other commands/plugins. You could drop the server view-distance to fix this issue or find out whats keeping the server busy.

NeximaOzi commented 6 years ago

It is not about view-distance or etc. I'm pretty sure. Because i will not any changes in my bukkit or spigot.yml or server-properties folders. Maybe this problem in bungeecord settings ?

krusic22 commented 6 years ago

In your video you can see the world loading. After it finished loading, you got your position reset and received your first login message.

NeximaOzi commented 6 years ago

Yes but i'm try bukkit and spigot.yml folders reset. Also try view-distance to set 5-6 etc. But nothing change :(

NeximaOzi commented 6 years ago

Also have another problem. Sometimes login succesfully but not teleported still stay in fakelobby. Not always just sometimes. https://prnt.sc/k7fowb

krusic22 commented 6 years ago

Might be a Bungee issue 🤔 What version are you using?

NeximaOzi commented 6 years ago

My bungeecord version this; https://ci.md-5.net/job/BungeeCord/1332/

And authme reloaded version this (latest); https://ci.codemc.org/job/AuthMe/job/AuthMeReloaded/2094/

"Also have another problem. Sometimes login succesfully but not teleported still stay in fakelobby. Not always just sometimes. https://prnt.sc/k7fowb"

This problem too many players living. Some players try join 25-26 times.

krusic22 commented 6 years ago

Try using WaterFall instead of BungeeCord it might help with the teleportation bug.

NeximaOzi commented 6 years ago

I don't know anything about waterfall. Can i not fixed this teleportation problem with not changed bungeecord ? :)

NeximaOzi commented 6 years ago

Because im using last 4 years bungeecord. And no performance problem. Just in fakelobby so in authme server have a problem as i said sometimes login succesfull but not teleported :(

NeximaOzi commented 6 years ago

Because also i use redisbungee.

krusic22 commented 6 years ago

WaterFall is compatible with every Bungee plugin (since its just a performance oriented fork). It's worth a shot since the only other issue could be that the login server is slow (might as well send /timings ).

NeximaOzi commented 6 years ago

Here is the timings; https://timings.spigotmc.org/?url=bemuwaleje

sgdc3 commented 6 years ago

Maybe your db connection is slow?

NeximaOzi commented 6 years ago

I don't think so i have 10+ servers in same bungeecord too many plugins website etc connect mysql no problem anything plugins.

But i can check if there is a way.

NeximaOzi commented 6 years ago

@krusic22 im try now Waterfall also i change my Authmebungee to Authmebridge but my problem still continue :( What can i do for this ?

krusic22 commented 6 years ago

You should keep using AuthMeBungee. But the issue must be somewhere else. Do you have spawn chunks loaded?

NeximaOzi commented 6 years ago

no

krusic22 commented 6 years ago

You should keep them loaded.

NeximaOzi commented 6 years ago

What you mean exacly i can't understand.

krusic22 commented 6 years ago

The server should keep the spawn chunks loaded in ram. That enables them to be send faster to the client.

NeximaOzi commented 6 years ago

i got it the delay problem with in bungee config "network_compression_threshold: -1" this settings was -1 i change to 256 and now delay problem fixed. But still i have sometimes not teleported when players join succesfull.

sgdc3 commented 6 years ago

Please open another issue.