You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What were you trying to achieve?
Publishing of message from MQTT to NATS
What are the expected results?
Publishing of message from MQTT to NATS
What are the received results?
Message not published ,got the error message Error publishing to Mainflux nats: connection closed
What are the steps to reproduce the issue?
Kill the NATS connection and wait for some time,
Then try to publish via MQTT. The same goes for HTTP and other adapters. Nats auto-reconnect gets exhausted and the connection is permanently closed.
In what environment did you encounter the issue?
Docker 20.10.21, Docker Compose 2.14.1, Linux, Latest Mainflux version
Additional information you deem important:
Nats reconnect param can be configured to keep trying to re-establish connection indefinitely.
The text was updated successfully, but these errors were encountered:
arvindh123
changed the title
MQTT Error publishing to Mainflux nats: connection closed
MQTT failed to publish message to NATS , after NATS connection closed for long time
Dec 14, 2022
The NATS Golang library, will try to reconnect for some times.
We should use callback to handle connection close or we should try reconnect on publish error
arvindh123
changed the title
MQTT failed to publish message to NATS , after NATS connection closed for long time
MQTT failed to publish message to NATS , If NATS connection was lost and not restored for long time
Dec 14, 2022
dborovcanin
changed the title
MQTT failed to publish message to NATS , If NATS connection was lost and not restored for long time
Failed to reconnect to NATS
Dec 21, 2022
BUG REPORT
What were you trying to achieve?
Publishing of message from MQTT to NATS
What are the expected results?
Publishing of message from MQTT to NATS
What are the received results?
Message not published ,got the error message
Error publishing to Mainflux nats: connection closed
What are the steps to reproduce the issue?
Kill the NATS connection and wait for some time,
Then try to publish via MQTT. The same goes for HTTP and other adapters. Nats auto-reconnect gets exhausted and the connection is permanently closed.
In what environment did you encounter the issue?
Docker 20.10.21, Docker Compose 2.14.1, Linux, Latest Mainflux version
Additional information you deem important:
Nats reconnect param can be configured to keep trying to re-establish connection indefinitely.
The text was updated successfully, but these errors were encountered: