Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to update metrics (player) #2

Open
mr190e opened this issue Feb 1, 2025 · 1 comment
Open

Failed to update metrics (player) #2

mr190e opened this issue Feb 1, 2025 · 1 comment
Labels
question Further information is requested

Comments

@mr190e
Copy link

mr190e commented Feb 1, 2025

since the last update (I pulled it more or less accidently via docker because I changed some settings), I get these errors:

2025-02-01T22:27:05Z ERR Failed to send 'players' command error="connection to server is down, need reconnect"

2025-02-01T22:27:05Z ERR Error updating metrics error="connection to server is down, need reconnect" context=player

2025-02-01T22:27:05Z FTL Failed to update metrics (player)

It almost looks to me like either RCON is down, but this would be really weird as it just worked until before the update. I think I came from version 0.1.1

Has there been a change in the config maybe?

@WoozyMasta
Copy link
Owner

Probably just the logs became more detailed

If you had problems with the configuration, the exporter would not start at all, since the first thing it does is check the connection and try to initialize the metrics. You would simply get the error "Failed to establish connections to RCON" when starting.

According to the description, it looks more like your server is being restarted according to a schedule. And while the DayZ server is off, an attempt is made to collect metrics.

And if this is so, then this is normal behavior, because the server is currently off, you can just forget about it, and let the exporter also restart with the server shutdown. Or if you want a correct termination, then stop and start the exporter yourself along with the server restart.

@WoozyMasta WoozyMasta added the question Further information is requested label Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants