itzg / mc-monitor

Monitor the status of Minecraft servers and provides Prometheus exporter and Influx line protocol output
MIT License
224 stars 29 forks source link

Connection reset spam on legacy versions #77

Open KweezyCode opened 6 months ago

KweezyCode commented 6 months ago

image 1.5.2 spam in log using mc-monitor. Minecraft client doesn't spam while pinging

itzg commented 6 months ago

Thanks for reporting this.

KweezyCode commented 6 months ago

image also it sometimes says server is offline :/

itzg commented 6 months ago

That helped jog my memory. For that version you need to use the arg --use-server-list-ping like this

https://github.com/itzg/docker-minecraft-server/blob/master/scripts/start-finalExec#L225

KweezyCode commented 6 months ago

image i am already using it. Program doesn't work without it

itzg commented 6 months ago

Thank you for clarifying. Please add --debug and provide that output.