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

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

Open
justinreddick opened this issue May 2, 2022 · 2 comments

Comments

@justinreddick
Copy link

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
@wallyqs wallyqs changed the title Calling stream_info() returns a nats.errors.TimeoutError: nats: timeout Calling stream_info() returns a nats.errors.TimeoutError: nats: timeout (invalid stream name issue) May 3, 2022
@pkit
Copy link

pkit commented Nov 18, 2022

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

@baughmann
Copy link

baughmann commented Jul 22, 2024

Can this be documented anywhere? Would've been nice to know that . is not valid in stream names. Even NATS server wasn't throwing an error, even with -DV

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants