nats.py icon indicating copy to clipboard operation
nats.py copied to clipboard

Calling `stream_info()` returns a `nats.errors.TimeoutError: nats: timeout` (invalid stream name issue)

Open justinreddick opened this issue 3 years ago • 2 comments

I have been able to run the NATS server, with the -js option for streams. I try to create a stream if one does not already exist and I get the timout error, as per the issue. Not sure what this is happening.

# Persist messages on the subjects.
await self.nc.add_stream(
    name=STREAM_NAME,
    subjects=[SUBSCRIPTION_SUBJECT, PUBLISH_SUBJECT],
    retention=RetentionPolicy.WORK_QUEUE
)

raise errors.TimeoutError
nats.errors.TimeoutError: nats: timeout

justinreddick avatar May 02 '22 16:05 justinreddick

Seems like it's totally broken. All streams kv and other js operations are timing out...

pkit avatar Nov 18 '22 13:11 pkit