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

Fix RCON errors during startup #450

Merged
merged 1 commit into from
Feb 26, 2024
Merged

Conversation

thijsvanloef
Copy link
Owner

Context

Fix cli: execute: auth: rcon: dial tcp 127.0.0.1:25575: connect: connection refused during startup

Choices

Poll the rcon port with netcat untill the rcon port is open and listening, after that start the player polling

Test instructions

Start the server, check if the cli: execute: auth: rcon: dial tcp 127.0.0.1:25575: connect: connection refused error stops showing but instead displaying: Waiting for RCON port to open to show player logging...

Checklist before requesting a review

  • I have performed a self-review of my code
  • I've added documentation about this change to the README.
  • I've not introduced breaking changes.

@thijsvanloef thijsvanloef added the bug Something isn't working label Feb 26, 2024
@thijsvanloef thijsvanloef self-assigned this Feb 26, 2024
@thijsvanloef thijsvanloef merged commit 668fd61 into main Feb 26, 2024
10 checks passed
@thijsvanloef thijsvanloef deleted the fix-rcon-error-on-startup branch February 26, 2024 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cli: execute: auth: rcon: dial tcp 127.0.0.1:25575: connect: connection refused Player logging RCON Error
1 participant