question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`NATS: Subject must be supplied` when `msg.ack`

See original GitHub issue

I am getting this very weird situation in which sometimes I get NATS: Subject must be supplied when ack’ing a message. It goes away after restart. The weird part is that the connection is stable and I do receive messages on the subscription. But when this happens the instance cannot ack a message any longer, it always fail with this until I restart it. Any idea what my be causing this?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:27 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
nazar-pccommented, Sep 3, 2019

Hm… we observe this on subscriptions that were active and running for days without issues, but suddenly we starte getting those errors that do not go away unless restarting.

0reactions
aricartcommented, Dec 3, 2019

@nazar-pc looks like there has not been a resurgence of this issue. If you see it happening again, please reopen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Client Protocol - NATS Docs
The wire protocol used to communicate between the NATS server and clients is a simple, text-based publish/subscribe style protocol.
Read more >
Connection (java-nats-streaming 0.2.1 API) - javadoc.io
Publishes the payload specified by data to the subject specified by subject and asynchronously processes the ACK or error state via the supplied...
Read more >
Network.Nats.Message.Message - Hackage
The PUB message publishes the message payload to the given subject name. If a reply subject is supplied, it will be delivered to...
Read more >
NATS Messaging - ThinkMicroservices.com
This wildcard must be the last character in the subject. ... nats bench --ack --msgs 10000 ORDERS.bench # benchmark core nats publish and ......
Read more >
Modules - NATS Docs
async def subscribe_handler(msg): subject = msg.subject reply = msg.reply data = msg.data.decode() ... ack acknowledges a message delivered by JetStream.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found