since a long time, i am trying to bring up a mqtt secure-connection between a KEPServer EX6 an the HiveMQ Cloud, but i get always the message ‘TCP/TLS connect failure’ and i don’t kno why.
TLS/SSL is active, Port is 8883, Firewall is down. I trieded to generate a certifacte and imported that, with any results.
A connection to the public hive, without secure, works.
Perhaps someone has experience with this software.
The -s or --secure flag indicates to use TLS, the -uuser and -pwpassword are needed to authorise the client to your cluster.
In case if your client device requires a server certificate, you can get one with openssl s_client tool as described in our FAQ here: Frequently Asked Questions
I hope this helps, if you are further questions please let me know.
i have tried your suggestions, without success.
I always get this fault message:
Datum Zeit Ebene Quelle Ereignis
08.02.2022 09:47:27 Warnung MQTT Client Fehler bei Verbindungsherstellung zum MQTT-Server. | Kanal = ‘MQTT’, Server = ‘ssl://969334f7758940b68647532c8b86c46a.s1.eu.hivemq.cloud:8883’, Grund = ‘TCP/TLS connect failure’.
after many attempts, i came to the conclusion that you have to use the IoT-Gateway-Function.
Looks like the Connectivity-Function only works with a local mqtt-broker.
Nice to see your interest in MQTT and HiveMQ, welcome to our community!
Do you have any security extension (authentication, authorization) installed for your HiveMQ broker or any client can connect?
Please share the screenshot with the settings that Kepserver is using to connect to the HiveMQ broker: hostname, port, protocol, client id, client MQTT version, the topic you subscribe to.?
If the Kepserver has logs or indicates the connection error via alert, please share the exact error message or a screenshot of the alert.
Check the event.log of your HiveMQ – which events do you see in the log, when your Kepserver is trying to connect. If there are no events at , when your Kepserver is trying to connect?
Looking forward to get more info for analysis from you,
Regards,
Dasha from HIveMQ team