Possible error messages you may encounter while using the mqtt() destination
While using the mqtt()
destination, you may encounter issues and corresponding error messages originating from the MQTT system. The following table contains the error messages you may encounter, the possible reasons behind them, and potential workaround methods.
Complete error message | Possible reason(s) | Possible solution(s) |
---|---|---|
ERROR, while init threaded dest. |
The AxoSyslog application will not start. |
You can try the following methods:
|
mqtt: the topic() argument is required for mqtt destinations. |
The |
Set the missing |
The mqtt destination does not support the batching of messages, ... |
Your configuration may contain the |
If your configuration contains the |
Disconnected during publish! |
The AxoSyslog application can not send the message, because AxoSyslog disconnected from the broker. By default, AxoSyslog attempts to reconnect to the broker and send the messages 3 times. |
If AxoSyslog fails all 3 attempts to reconnect to the broker and send the messages, you can try checking your configuration or restarting your MQTT system with AxoSyslog as a client. |
Max message inflight! (publish) |
The AxoSyslog application can not send the message due to the |
Wait until the broker can process the in-flight messages and AxoSyslog can attempt to resend the message. |
Failure during publishing! |
The AxoSyslog application can not send the message due to the |
N/A |
Error during publish! |
The AxoSyslog application can not send the message, and drops it. Possible reason: That is, the most probable reasons behind this issue are either that the topic name in your configuration is not correct, or that the message field is empty. |
You can try the following methods:
|
Disconnected while waiting the response! |
The AxoSyslog application has sent the message, but the client disconnected from the broker before AxoSyslog received the response. The AxoSyslog application will attempt to reconnect, or to resend the message. |
The AxoSyslog application will attempt to reconnect to the broker and send the in-flight message. If the reconnect attempt fails, AxoSyslog will resend the message. |
"Error while waiting the response!" | The AxoSyslog application can not get any response from the broker, due to the |
In this case, you will receive a further error message, depending on what the problem is. Wait for the second error message for more information about how you can proceed. |
"Error constructing topic ..." | Due to an issue with the configured topic template, the |
N/A |
mqtt dest: topic name is illegal, it can't be empty |
This error message is related to the |
N/A |
Error connecting mqtt client ... |
The AxoSyslog application can not connect to broker, and it will attempt to reconnect later. |
If the issue persists, you can try the following:
|
Error creat mqtt client ... |
The AxoSyslog application encountered an error while creating the MQTT client, and it will attempt to create it later. Possible reasons:
|
You can try the following methods:
|