Ok I just found the logs option - its says "log.le...
# umh-support
l
Ok I just found the logs option - its says "log.level":"fatal","@timestamp":"2023-02-28T19:13:02.135Z","log.origin":{"file.name":"sensorconnect/mqtt.go","file.line":29},"message":"Failed to load client certificate: x509: malformed certificate","ecs.version":"1.6.0"}
j
can you try to disable MQTT and use use Kafka?
otherwise, the message suggests that the MQTT certificate is malformed
or can you set MQTT_CERTIFICATE_NAME in the environment variable to NO_CERT?
but in general, the MQTT functionality is not needed as messages send to kafka are also automatically bridged to MQTT
l
Hi Jermuk, thanks for the reply, where is the environment set ? Still trying to find my way around UMHLens
d
Go to helm chart / releases and choose update united manufacturing hub, ther you will find the helmchart
l
Thanks Daniel for the reply, If I go to Helm -> Releases, I can see a upgrade option. Also all the values are displayed. I actually found this before, but there are over 3000 lines in the chart. If I search for MQTT_CERTIFICATE_NAME its not present, so I assume its using a default if not present, what I need to know is where exactly it goes
j
you could search for sensorconnect and then look out for mqtt enabled / kafka enabled
l
Thanks Jermuk, I have tried enabling both of those earlier in week, but still not working, here is my SensorConnect settings
sensorconnect: enableKafka: true enableMQTT: true enabled: true iprange: 192.168.1.1/24
j
can you set enableMQTT to false?
l
I've also tried that combination and same issue
j
do you have time at the moment to take a look at it live? i am free atm
l
yes please
j
in 15 minutes?
l
yes that would be great
Do u use microsoftteams
j
let me send you a google meets link in a coupl of minutes
l
ok perfect
j
l
cheers
j
The solution was to set enableMQTT to false and then restart the pod. Additionally, we encountered the microservice error, which we fixed with this tutorial: https://knowledge-3.ghost.io/course/how-to-fix-failed-to-send-kafka-message-microservice-name-is-empty-sensorconnect/
2 Views