Connecting to cluster problem

Hi,

I’m trying to connect to my own cluster using an embedded system that uses a SIM800C. This component works with AT commands.

To start the connection I’m using AT+CIPSTART=“TCP”,“xxxxxxx.s2.eu.hivemq.cloud”,8883
where the first address is found on “Manage cluster —> Host Name”.
With this command I can not estabilish the connection.
If I try to estabilish the connection with an other custom server everything goes ok.

I’m using AT+CIPSTART=“TCP”,“…cloud”,“8883” but I can’t connect. I need to enter a username and password to connect, but there is no field to enter them in the AT+CIPSTART command. How can I solve my problem. I have no problem connecting to the public server, but I have a problem with the cloud server.

Thanks,

Hi @eyelessjack ,

Great to see your interest in MQTT and HiveMQ, welcome to the community!

For HiveMQ cloud we require the TLS-SNI extension to be available and used by your device. Can you confirm that SIM800C module supports Server Name Indication (SNI)?

I hope this helps.
Kind regards,
Dasha from HiveMQ Team