Server with no bridge in the login path sits silent and never sends a LoginRequest
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- cpp, yaml
- Domain
- backend, testing-qa
Research direction
Start in boot.cpp around line 495 and trace how services.socket_uri and direct URLs from _local/config.json determine whether ws_bridge starts. Read docs/reference/xpid.md and the local Nakama and Windows VM system-test references, then run just test-winvm. Done means server mode clearly fails nonzero, or reports an actionable error, when it cannot start the bridge and therefore cannot send LoginRequest.
Written by the indexing model from the issue text.
Description
Symptom: a dedicated server starts, connects its login WebSocket, and then does nothing: no LoginRequest is ever sent, so it never logs in or registers. The engine log goes silent, hook_liveness ... ReceiveLocalEvent entries=0 and CAPTURED ZERO GAME LINES follow.
Evidence (production nakama log): three staggered instances from one host connected to /ws and sat there: connect, no messages, closed minutes later when killed. Instances that worked send a LoginRequest ~85 ms after connect. Nakama logged no rejection; it never received a request. The client console showed the game connecting directly to ws://<service>:80/login?... instead of the local bridge (ws://127.0.0.1:<port>), i.e. the bridge was not in the path. The same instances registered fine ~15 minutes later after a config change. Same signature as the 2026-09-13 finding in docs/reference/xpid.md.
Root cause class: the login LoginRequest is injected by ws_bridge. If the bridge is not started (no services.socket_uri in config.yaml, boot.cpp:495) or direct URLs from _local/config.json win over the redirect, nothing sends it. Today that is a warn and the server runs on, silent and useless.
Proposed: in server mode, treat "bridge not started" as fatal (like a missing _local/config.json already is), or at minimum error with the fix. A server that cannot log in should exit nonzero so a fleet manager notices, not idle.
Related: the just test-winvm system test (docs/reference/windows-vm-system-test.md) can assert this once it logs in against the local nakama (docs/reference/local-nakama.md).
- Dominant language
- C++
- Stars
- 2
- Forks
- 5
- Avg merge
- 5h 8m
- Merged PRs (30d)
- 911
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EchoTools/nevr-runtime
-
backlog test-gap
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
EchoTools/nevr-runtime#1718 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
EchoTools/nevr-runtime#1679 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
EchoTools/nevr-runtime#1538 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
EchoTools/nevr-runtime#1537 ·
Maintainers usually reply within 1 day
-
quest(log): the login the login-prompt fallback starts is logged without an XPID (logging.md Rule 2)Openbacklog
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
EchoTools/nevr-runtime#1397 ·
Maintainers usually reply within 1 day
All issues in EchoTools/nevr-runtime
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
pocoproject/poco#5626 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Issue-Bug Needs-Triage
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
microsoft/winget-cli#6645 ·
Maintainers usually reply within 2 days
-
cleanup help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ESPresense/ESPresense#2602 ·
Maintainers usually reply within 1 day
-
devex good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day