I can't connect to cloud services using MQTT
Unsolved
Mobile and Embedded
-
I have successfully compiled MQTT and added it to the project, but cannot connect to the cloud service and can only use local tests
That is, the address is 127.0.0.1, and none of the cloud services are allowed. There is no response after I click connect -
@XinMouRen said in I can't connect to cloud services using MQTT:
but cannot connect to the cloud service
Please show some code snippet.
Assuming you're using a QMqttClient object as MQTT client, have you connected the errorChanged() signal to some slot to check what could be going on?In addition, have you captured network traffic to see exactly what your application is sending to/receiving from the "cloud"?