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

MySQL connection error caused chat to stop working #3682

Closed
FaultyFunctions opened this issue Jun 30, 2024 · 4 comments
Closed

MySQL connection error caused chat to stop working #3682

FaultyFunctions opened this issue Jun 30, 2024 · 4 comments
Labels
Bug Issues that contain unintended behavior

Comments

@FaultyFunctions
Copy link

Describe the issue

The plugin ran into a MySQL connection error and then chat in-game did not work and would not send to anyone. DiscordSRV still worked in the background and in-game chat messages were being sent to Discord but weren't showing up in game because of this error. I messaged my server support and they said the MySQL database went down but I'm not sure why chat stopped working because Plan couldn't connect to the MySQL database.

Exceptions & Other Logs

https://mclo.gs/pHCAeaK

Plugin versions

Plan-5.6-build-2883

Additional information

N/A

@FaultyFunctions FaultyFunctions added the Bug Issues that contain unintended behavior label Jun 30, 2024
@AuroraLS3
Copy link
Collaborator

Logs say that InteractiveChat was trying to do a placeholder replacement for Plan which failed due to database connection being down, so it threw error instead of replacing the placeholder and InteractiveChat logged the error rather than send the chat message

@AuroraLS3
Copy link
Collaborator

I think a fix on Plan side is to catch more errors on placeholder request and show Error rather than throwing it to the other plugin that doesn't know to expect it

@AuroraLS3
Copy link
Collaborator

Fixed build will appear here in 10 minutes https://github.com/plan-player-analytics/Plan/actions/runs/9739796493

This doesn't fix your database issue though, just the chat not working when database is down.

@FaultyFunctions
Copy link
Author

Awesome thank you so much! Yeah the database issue isn't Plan's fault at all. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues that contain unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants