grafana / mqtt-datasource

MQTT Datasource for Grafana allows streaming data from any MQTT broker running either locally or remotely.
Apache License 2.0
168 stars 49 forks source link

Streaming channel error: Subscription to the channel already exists #64

Open OlivierGre opened 1 year ago

OlivierGre commented 1 year ago

I'm trying to use Grafana to display MQTT data coming from The Things Network (a LoRaWAN network).

I have added the MQTT plugin and launched the dashboard. In the setting gear (on left side), I have clicked on Data sources and selected MQTT. I have provided the credentials. When I click on "Save & Test", Grafana says that the MQTT connection is OK.

I have then created a new Dashboard and added a new panel. In the Data Source I have selected MQTT and I have filled the "Topic". However nothing gets displayed. In the Query inspector I get the following error: "Streaming channel error: Subscription to the channel 1/ds/zTPvjx2Vk/30s/v3/my-mqtt-test-app@ttn/devices/eui-0080e115000ad609/join already exists"

Independently of that, I have installed a MQTT Client on my mobile (MyMQTT). I have here also provided the credentials and the Topic. Here it works, it properly received the MQTT notifications.

Would you have some advices to help me to understand why I have the above error in Grafana? Thank you

piercus commented 1 year ago

I'm facing the same issue here

EricZeiberg commented 1 year ago

This should be fixed in version 9.3.4 of Grafana

OlivierGre commented 1 year ago

I can see that the version 9.3.5 of Grafana is available on Grafana Cloud. I don't see anymore the error 'Streaming channel error: Subscription to the channel already exists' but for the moment I don't succeed to get MQTT data.