#1
“Failed to connect: disconnected”
From outside the server appeared in the list with its player count, but joining said “Failed to connect to the server: disconnected”. On the home network, with bots, everything worked.
What do you think was going on?
Show the fix
- Cause
- The new DMZ container inherited the home DNS as its first resolver. The DMZ can't reach it (by design), so every lookup waited 5 s before trying the next one. The server list doesn't ask Mojang, but joining does: it was too late and got cut off.
- Fix
- Public DNS for the DMZ container, in Terraform (not by hand), plus a note in the docs. The impersonation tests were rerun: before, they only “passed” because Mojang never answered.
- Lesson
- A test that passes for the wrong reason is worse than one that fails. Look at why it passes.