Troubleshooting
Logs to look at
Section titled “Logs to look at”| Where | What it tells you |
|---|---|
| The emulator’s console | link: lines with timestamps: link starting, linked, partner stopped answering, closed and why. Also Loaded '...' for each ROM and RAM dump: paths |
| The server’s console | Match … hosts …, Match … ended: <reason> by <account> (<how>), <bytes>, bans, relay failures, hub errors (Failed to invoke hub method … with the reason) |
| The admin dashboard | Matches → a match: the timeline (who ended it, when), results and whether both emulators agreed. Audit log: staff actions |
Link cable
Section titled “Link cable”| Symptom | Likely cause and fix |
|---|---|
| “X is in the menu; waiting…” / “X paused the game” | The other player opened the menu or paused; linked games run together. The chat (T) doesn’t pause |
| “X is not responding (Ns)” | No message from the other emulator for 4 s or more (frozen window, network problem). After 20 s the link closes on its own |
| One side shows “Linked” and the other doesn’t | Check both consoles’ link: lines and the server’s Match … ended line; they show who unplugged and why |
| Game freezes or shows garbage in a link menu (e.g. Pokémon’s “PLEASE WAIT!”) | Make sure both players run the same AcidBoy version (link protocol 5; an older one is refused with a message). Don’t reset or reload a game while linked |
| “The other player runs an incompatible AcidBoy” | Different link protocol versions; update both |
| Direct link: “Connection refused” | The host isn’t hosting, a firewall blocks port 5738, or the port isn’t forwarded. Use AcidBoy Online instead to avoid port forwarding |
| Can’t challenge a player | They must be in your channel or room (or be a friend), and neither of you may already be linked. Unplug first: Online → Unplug link cable |
Signing in
Section titled “Signing in”| Symptom | Likely cause and fix |
|---|---|
| Only “Sign in with Developer” is offered | No OAuth provider is configured on the server (Auth:Providers:*), or the server isn’t in Development for the developer option |
| “Sign-in failed or expired. Start again from AcidBoy.” | The browser step took too long or was opened twice; start again |
| GitHub says the redirect URI doesn’t match | The OAuth app’s callback must be exactly <server>/auth/callback/github |
| “This account is banned until …” | A moderator banned the account; it can sign in again when the ban ends or is lifted |
| “Your sign-in expired; please sign in again” | The refresh token expired (60 days) or was revoked |
Admin dashboard
Section titled “Admin dashboard”| Symptom | Likely cause and fix |
|---|---|
| “The dashboard only accepts GitHub sign-in.” | Sign in from the dashboard’s own Sign in with GitHub button; other providers don’t open the dashboard |
| “GitHub sign-in is not configured” | Set Auth:Providers:github:ClientId and ClientSecret and restart |
| Access denied after signing in | The account isn’t staff. Add its GitHub identity to Admin:Bootstrap, or have an Admin grant a role |
| “The connection to the dashboard was lost” | The server restarted or the network dropped; reload the page |
| Unstyled pages | The CSS wasn’t generated: build without AcidBoySkipTailwind, with network access, once per Tailwind version |
Server
Section titled “Server”| Symptom | Likely cause and fix |
|---|---|
| Won’t start: “Auth:SigningKey must be …” | Set a base64 key of 32+ bytes |
| Can’t connect to the database | Start PostgreSQL (docker compose -f src/server/docker-compose.yml up -d) and check ConnectionStrings:AcidBoy |
| Port 5280 (or 5000) already in use | Another app uses it; change applicationUrl in Properties/launchSettings.json or --urls |
dotnet build can’t copy files: “used by another process” |
The server is running from that build; stop it first |
| “Failed executing DbCommand” once on a new database | EF probing for its migrations table; harmless |
Results and leaderboards
Section titled “Results and leaderboards”| Symptom | Likely cause and fix |
|---|---|
| A match has no winner | Only games with a tracker report results (Win detection); a result also needs both emulators to report the same thing |
| “One side only” / “Reports differ” on a result | One emulator missed it (e.g. it joined late) or saw something else; such results never count |
| A leaderboard doesn’t show a new result | It updates as soon as the match is decided. A match without a set result is decided when it ends |
