Skip to content

docs: troubleshoot port-8000 shadowing in the local-mode quickstart - #57

Closed
markadams31 wants to merge 1 commit into
mainfrom
docs/port-shadow-troubleshooting
Closed

docs: troubleshoot port-8000 shadowing in the local-mode quickstart#57
markadams31 wants to merge 1 commit into
mainfrom
docs/port-shadow-troubleshooting

Conversation

@markadams31

Copy link
Copy Markdown
Owner

Summary

Documents the first real-world failure of the zero-Azure quickstart (hit within an hour of #56 merging): a leftover native process bound to 127.0.0.1:8000 coexists silently with Docker's wildcard publish on Windows, so docker compose up succeeds but localhost:8000 serves the shadow process — an entra-mode backend whose 401s bounce the SPA to /.auth/login/aad, which 404s locally.

Adds a callout to the quickstart with the symptom, the one-liner to diagnose (Get-NetTCPConnection / lsof), the identity sanity check (curl localhost:8000/me"sa (local)"), and both remedies (stop the shadow, or AUTOCRUD_PORT=8080).

🤖 Generated with Claude Code

A leftover native process bound to 127.0.0.1:8000 (e.g. a forgotten uvicorn
from the hosted dev loop) coexists silently with Docker's wildcard publish on
Windows — compose starts cleanly, but localhost resolves to the native
process, so the browser lands on an entra-mode backend whose 401s bounce the
SPA to the (locally nonexistent) EasyAuth login route. Hit within an hour of
the feature merging; document the symptom, the diagnosis one-liner, and both
remedies (stop the shadow or AUTOCRUD_PORT).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@markadams31

Copy link
Copy Markdown
Owner Author

Not needed - closing.

@markadams31 markadams31 closed this Jul 5, 2026
@markadams31
markadams31 deleted the docs/port-shadow-troubleshooting branch July 5, 2026 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant