Skip to content

[Bug]: SQL login failure surfaces as Kestrel TaskCanceledException #3581

@JerryNixon

Description

@JerryNixon

Expected

Database connectivity failures during startup should appear clearly at default verbosity.

Example:

ERROR: Could not connect to database.
Login failed for user '<user>'.

Actual

The visible error is a Kestrel BindAsync TaskCanceledException, which looks like a port binding issue. The real Login failed message is only visible in verbose logs.

This sends users down the wrong troubleshooting path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions