Skip to content

Use hot reload with ws only #55190

@lonix1

Description

@lonix1

Originally from SO, without resolution.

Hot reload tries to connect with two websockets: wss, and if that fails, ws.

The ws connection succeeds and hot reload works. But I'm not using HTTPS in my local development environment, so the wss connection fails and the script always spams my devtools console with:

Firefox can’t establish a connection to the server at wss://localhost:50005/.
WebSocket failed to connect.

That is very annoying. Please allow us to configure hot reload to use ws only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-commandlinetoolsIncludes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPIfeature-hot-reloadThis issue is related to the Hot Reload feaature

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions