SpigotMC / BungeeCord

BungeeCord, the 6th in a generation of server portal suites. Efficiently proxies and maintains connections and transport between multiple Minecraft servers.
https://www.spigotmc.org/go/bungeecord
Other
1.57k stars 1.1k forks source link

[Internal Exception: java.net.SockException: Connection reset] for all players at the same time randomly. #3404

Open JJBZ03 opened 1 year ago

JJBZ03 commented 1 year ago

Bungeecord version

git:BungeeCord-Bootstrap:1.19-R0.1-SNAPSHOT:511017a:1670

Server version

3608-Spigot-6198b5a-b5aa0be (MC: 1.19.2)

Client version

1.19.2

Bungeecord plugins

I put a download link below because some of my plugins are commissioned and/or altered.

https://dl.dropboxusercontent.com/s/9asdk16k32c5unt/plugins.zip?dl=1

The bug

Every once in a while (like once or twice every day) at random every player at the same time disconnects with the error Internal Exception: java.net.SockException: Connection reset, and you aren't able to connect for like five seconds. When players try joining during those five seconds they get the error Internal Exception: java.net.SockException: Connection reset again.

Log output (links)

proxy.log.0 proxy.log.1 proxy.log.0.lck

Checking

Janmm14 commented 1 year ago

Such problems are in 99% of cases not related to bungeecord, but related to your hosting / firewall / ddos protection or your player's internet connection.

What is special about your log files, is that thery do not contain the shutdown. It seems some minecraft managing software tries to send "stop" command to bungeecord, although bungee needs the "end" command and no "stop", and that you didn't set it up as a bungeecord, but as a spigot server.

Maybe the problem actually happened when the server was scheduled for a restart by this software?

Geyser doesn't like you having set up two listeners btw.

In the future please don't provide full logs, but only log sections clearly showing the problem of disconnects "of all players at the same time". I couldn't find any such problem of mass disconnects in your first log file by scrolling through it rapidly. Maybe your "all players" were too little for me to notice?