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

Can not create two inputs for the same MQTT Server #10

Open
autoantwort opened this issue Dec 9, 2022 · 1 comment · May be fixed by #11
Open

Can not create two inputs for the same MQTT Server #10

autoantwort opened this issue Dec 9, 2022 · 1 comment · May be fixed by #11

Comments

@autoantwort
Copy link

I guess the client id used by the plugin in the same for every source. So the mqtt broker disconnects the connection constantly.

2022-12-09T01:57:28.872+01:00 WARN  [xenqtt] Connection to broker lost; scheduling a reconnect attempt for channel: MqttClientChannel[localAddress:N/A,remoteAddress:N/A]
2022-12-09T01:57:28.872+01:00 DEBUG [ClientListener] Disconnected MQTT client
2022-12-09T01:57:28.924+01:00 WARN  [xenqtt] Connection to broker lost; scheduling a reconnect attempt for channel: MqttClientChannel[localAddress:N/A,remoteAddress:N/A]
2022-12-09T01:57:28.924+01:00 DEBUG [ClientListener] Disconnected MQTT client
2022-12-09T01:57:28.975+01:00 WARN  [xenqtt] Connection to broker lost; scheduling a reconnect attempt for channel: MqttClientChannel[localAddress:N/A,remoteAddress:N/A]
2022-12-09T01:57:28.975+01:00 DEBUG [ClientListener] Disconnected MQTT client
2022-12-09T01:57:29.027+01:00 WARN  [xenqtt] Connection to broker lost; scheduling a reconnect attempt for channel: MqttClientChannel[localAddress:N/A,remoteAddress:N/A]
2022-12-09T01:57:29.027+01:00 DEBUG [ClientListener] Disconnected MQTT client
2022-12-09T01:57:29.079+01:00 WARN  [xenqtt] Connection to broker lost; scheduling a reconnect attempt for channel: MqttClientChannel[localAddress:N/A,remoteAddress:N/A]
2022-12-09T01:57:29.079+01:00 DEBUG [ClientListener] Disconnected MQTT client
2022-12-09T01:57:29.130+01:00 WARN  [xenqtt] Connection to broker lost; scheduling a reconnect attempt for channel: MqttClientChannel[localAddress:N/A,remoteAddress:N/A]
2022-12-09T01:57:29.130+01:00 DEBUG [ClientListener] Disconnected MQTT client
2022-12-09T01:57:29.182+01:00 WARN  [xenqtt] Connection to broker lost; scheduling a reconnect attempt for channel: MqttClientChannel[localAddress:N/A,remoteAddress:N/A]
2022-12-09T01:57:29.182+01:00 DEBUG [ClientListener] Disconnected MQTT client

If I stop one of the sources the problem disappears.

@autoantwort autoantwort changed the title Connect create two inputs for the same MQTT Server Can not create two inputs for the same MQTT Server Dec 9, 2022
autoantwort added a commit to autoantwort/graylog-plugin-mqtt that referenced this issue Dec 9, 2022
@autoantwort autoantwort linked a pull request Dec 9, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant