Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aspire dashboard doesn't start first time inside Dev Container #6829

Open
1 task done
erwinkramer opened this issue Nov 27, 2024 · 1 comment
Open
1 task done

Aspire dashboard doesn't start first time inside Dev Container #6829

erwinkramer opened this issue Nov 27, 2024 · 1 comment
Labels
untriaged New issue has not been triaged

Comments

@erwinkramer
Copy link

erwinkramer commented Nov 27, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Inside a dev container, when starting a debugging session. it opens http://localhost:15088/login?t=..., this one keeps loading and never actually completes loading. During the same session, if i open another tab in the browser and paste the same URL, it works (after about 2 minutes).

Looks related to #2422.

Expected Behavior

Should complete loading (or maybe wait before opening in the browser when it's really ready for it).

Steps To Reproduce

Clone https://github.com/erwinkramer/bank-api and run the dev container. Then start the launch config C#: App Host Debug (via Aspire).

Exceptions (if any)

No response

.NET Version info

.NET SDK:
Version: 9.0.100
Commit: 59db016f11
Workload version: 9.0.100-manifests.3068a692
MSBuild version: 17.12.7+5b8665660

Runtime Environment:
OS Name: debian
OS Version: 12
OS Platform: Linux
RID: linux-x64
Base Path: /usr/share/dotnet/sdk/9.0.100/

Anything else?

No response

@joperezr joperezr added the untriaged New issue has not been triaged label Dec 9, 2024
@m3nax
Copy link

m3nax commented Dec 12, 2024

Same here:

.devcontainer used:

{
    "name": "Supord devcontainer",
    "image": "mcr.microsoft.com/devcontainers/base:ubuntu24.04",
    "privileged": false,
    "features": {
        // Install the Dapr CLI
        // "ghcr.io/dapr/cli/dapr-cli:0": {},
        // Enable Docker (via Docker-in-Docker)
        "ghcr.io/devcontainers/features/docker-in-docker:2": {},
        // Alternatively, use Docker-outside-of-Docker (uses Docker in the host)
        //"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
        // Install net-tools
        "ghcr.io/devcontainers/features/dotnet:2": {
            "version": "9.0",
            "dotnetRuntimeVersions": "9.0",
            "aspNetCoreRuntimeVersions": "9.0",
            "workloads": "aspire,wasm-tools"
        },
        "ghcr.io/devcontainers/features/common-utils:2": {},
        "ghcr.io/devcontainers/features/node:1": {
            "version": "20.15.0"
        }
        // "ghcr.io/nikiforovall/devcontainer-features/dotnet-aspire:1": {}
    },
    "customizations": {
        "vscode": {
            "extensions": [
                "ms-dotnettools.csharp",
                "ms-dotnettools.csdevkit",
                "ms-dotnettools.vscode-dotnet-runtime",
                "ms-dotnettools.vscodeintellicode-csharp",  
                "ms-vscode.vs-keybindings"
            ]
        },
        "settings": {
            "files.eol": "\n"
        }
    },
    "remoteUser": "vscode",
    "containerUser": "vscode",
    "postCreateCommand": "dotnet restore && dotnet dev-certs https"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged New issue has not been triaged
Projects
None yet
Development

No branches or pull requests

3 participants