The issue occurs sporadically—some messages are successfully posted, while others fail. Notably, our lower environments (Dev and UAT) are functioning without any issues.
Details:
ERROR - 140164478696248 - ThreadPoolExecutor-1_0] Exception publish_to_stream.nats: no response from stream
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/nats/js/client.py", line 181, in publish
msg = await self._nc.request(
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/nats/aio/client.py", line 1026, in request
raise errors.NoRespondersError
nats.errors.NoRespondersError: nats: no responders available for request
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/svc/Common/common/components/message_broker.py", line 151, in publish_to_stream
await js.publish(subject, message.encode("utf-8"))
File "/usr/local/lib/python3.12/site-packages/nats/js/client.py", line 188, in publish
raise nats.js.errors.NoStreamResponseError
nats.js.errors.NoStreamResponseError: nats: no response from stream.
-------------
Could you please help us identify the root cause of this issue? Your guidance would be greatly appreciated.
Thanks & Regards,
Shahir
--
You received this message because you are subscribed to the Google Groups "nats" group.
To unsubscribe from this group and stop receiving emails from it, send an email to natsio+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/natsio/f51d6f7f-1991-426d-afc6-0c2aa81caffbn%40googlegroups.com.