Skip to content

Race Condition? / Round Robin? / Seemingly Random Routing  #32

Open
@AugusDogus

Description

@AugusDogus

Connecting to the servers works as intended, however when adding each server to the server list on the multiplayer tab I've found that they share a motd and player count.

I previously thought that connecting to the servers worked as intended and that the motd/playercount was using a different protocol for fetching that information and that's why it was failing, but on further inspection it appears that whichever motd/playercount is displayed is the server the client will connect to, regardless of subdomain/host.

This looks a lot like a race condition. Maybe I've improperly configured my mc-router container?

docker run -d --name minecraft-router -p 0.0.0.0:25565:25565/tcp --network=cloudbox itzg/mc-router --mapping=mc.example1.com=minecraft:25565,mc.example2.gg=minecraft-test:25565

Where example1.com and example2.com are different TLDs.

By the logs it looks like it's working, but ¯\(ツ)

image

Refreshing the list will often leave one server with a motd and the other will timeout

image

On a second refresh the motd and player count display properly, but the server-icon.png displays as a black image still.

image

Then all subsequent refreshes will sometimes be correct and sometimes show the same errors as above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions