Skip to content

[Critical] Server Hangs Due to Blocking Network Calls #22

@DereC4

Description

@DereC4

Have you searched the wiki and looked for existing issues for this?

  • This is not a common issue or cannot be fixed by the solutions provided
  • This issue has not been reported yet

What's happening

The RealTimeWeather plugin is causing the server to hang and become unresponsive. The server's main thread gets stuck while the plugin is making a network request to sync the weather. This causes the server to stop processing other tasks, leading to "Can't keep up!" messages and eventually a server crash

What's supposed to happen

Plugin does not block the server when checking weather updates

Server Software

Purpur

Minecraft version

1.21.8

Server log

https://pastebin.com/6ECmZgzs

RTW configuration

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions