Skip to content

Browser stuck on white screen when accessing dev server before compilation finishes #191957

Closed

Description

@goderbauer

Run run -d web-server --web-port 5000 and then immediately go to http://localhost:5000 in your browser. The browser will attempt to load the flutter app (I see the blue loading indicator), but then the loading indicator disappears, nothing happens and I am stuck with a white screen. I can see in the chrome inspector that it correctly loaded the index.html of the flutter app, but it doesn't show any kind of error or anything. Just a blank page. I have to refresh the page to actually see my app.

Underlying problem is probably that at the time I hit http://localhost:5000 in my browser compilation hasn't finished yet in the dev server. However, that shouldn't leave me stuck with a white page. Either while the server is not ready yet it should return some kind of 5xx error HTTP status code or - even better - it should continue to show the blue loading indicator until compilation is done and then show me the app. The latter would probably be preferred.

Activity

  1. added
    in triagePresently being triaged by the triage team
    platform-webWeb applications specifically
    team-webOwned by Web platform team
    has reproducible stepsThe issue has been confirmed reproducible and is ready to work on
    and removed
    in triagePresently being triaged by the triage team
    on Aug 28, 2026
  2. mbcorona commented on Aug 28, 2026

    @mbcorona
    Member

    Hi @goderbauer, thanks for the report.

    Reproduced on macOS: loading the page during the "Waiting for connection from debug service" phase shows the loader briefly, then a blank white screen with no automatic recovery once compilation finishes (a manual refresh is required).

    Routing to the web team for evaluation.

  3. github-actions commented on Sep 12, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  4. locked as resolved and limited conversation to collaborators on Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyteam-webOwned by Web platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions