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

MQTT config. #2869

Open
Ammar-1998 opened this issue Aug 11, 2023 · 1 comment
Open

MQTT config. #2869

Ammar-1998 opened this issue Aug 11, 2023 · 1 comment

Comments

@Ammar-1998
Copy link

hello all,
i am trying to create a connection between MultiTech gateway MQTT and MQTT explorer but iam confused caus i didnt have any result

actually i receive this message from the MQTT log and i dont know whats that mean:
2023-08-11T06:38:25.215859+00:00 192 mosquitto[4102]: Connecting bridge (step 1) bridge_to_external_broker (192.168.2.5:1883)
2023-08-11T06:38:25.316940+00:00 192 mosquitto[4102]: Connecting bridge (step 2) bridge_to_external_broker (192.168.2.5:1883)
2023-08-11T06:39:25.191179+00:00 192 mosquitto[4102]: Socket error on client local.mqtt-explorer-b495ec46, disconnecting.
2023-08-11T06:39:40.254684+00:00 192 mosquitto[4102]: Connecting bridge (step 1) bridge_to_external_broker (192.168.2.5:1883)
2023-08-11T06:39:40.355780+00:00 192 mosquitto[4102]: Connecting bridge (step 2) bridge_to_external_broker (192.168.2.5:1883)
2023-08-11T06:40:40.171545+00:00 192 mosquitto[4102]: Socket error on client local.mqtt-explorer-b495ec46, disconnecting.
2023-08-11T06:40:59.189321+00:00 192 mosquitto[4102]: Connecting bridge (step 1) bridge_to_external_broker (192.168.2.5:1883)
2023-08-11T06:40:59.291687+00:00 192 mosquitto[4102]: Connecting bridge (step 2) bridge_to_external_broker (192.168.2.5:1883)
2023-08-11T06:41:59.169388+00:00 192 mosquitto[4102]: Socket error on client local.mqtt-explorer-b495ec46, disconnecting.

i cant catch the issue is it in the gateway or in the MQTT explorer
please i need your expertise in this issue
thanks alot

@NorbertHeusser
Copy link
Contributor

NorbertHeusser commented Aug 28, 2023

Hi,

I am not sure, how to help you with your problem. There are different type of error messages in your log:
2023-08-11T06:38:25.215859+00:00 192 mosquitto[4102]: Connecting bridge (step 1) bridge_to_external_broker (192.168.2.5:1883) 2023-08-11T06:38:25.316940+00:00 192 mosquitto[4102]: Connecting bridge (step 2) bridge_to_external_broker (192.168.2.5:1883)
are related to an outgoing bridge connection from the Mosquitto connecting to an external other MQTT broker.

The other error message
023-08-11T06:39:25.191179+00:00 192 mosquitto[4102]: Socket error on client local.mqtt-explorer-b495ec46, disconnecting.
are normally related to a client connection not working as expected. Looking at this error message the Mosquitto version used on this device seems to be very old as there were first improvements in the 1.6.5 version reducing the number of error messages.

Perhaps you are able to increase the log level of the broker. Normally using log_type all in the mosquitto.conf configuration file to get more information, whats going on.

In any way it would be helpfull to know which version of the broker is used (normally at the beginning of the log file) and the config file used to start the broker.

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

2 participants