faststream icon indicating copy to clipboard operation
faststream copied to clipboard

Bug: startup hangs when cannot read nats credentials

Open swelborn opened this issue 1 month ago • 0 comments

Describe the bug When supplying user credentials that cannot be read by the user, faststream attempts to start but does not fail with a "permission denied" like underlying nats-py does.

How to reproduce https://github.com/swelborn/nats-creds-reproducer/tree/main

Expected behavior Failure if we cannot read the credentials, rather than hanging

Observed behavior Not failing.

Environment Reproducer above uses uv for environment (using uv run --with ...

swelborn avatar Nov 12 '25 04:11 swelborn