Closed ajarmoszuk closed 4 months ago
I've provided a fix for this issue inside pull request #2832. Once pulled it will allow to you to set MC_HEALTH_EXTRA_ARGS to "--use-proxy" which will allow for mc-monitor to monitor servers that have proxy-protocol set to true.
For future reference, leave the issue open and allow Github to auto-close the issue when the linked PR is merged. I'll go ahead and add the linkage.
Describe the problem
When proxy-protocol is set to true inside config/paper-global.yml the autostop functionality is no longer working, once set to false we get "[Autostop loop] MC Server listening for connections - stopping in 600 seconds" inside the logs, otherwise it does not appear and does not seem to be working as designed.
Server version is Paper 1.20.4. Using newest available docker image. I've also tested with the newest Paper version and the same issue appears.
Container definition
Container logs