Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. I can't connect to cloud services using MQTT

I can't connect to cloud services using MQTT

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 232 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    XinMouRen
    wrote on last edited by
    #1

    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

    Pablo J. RoginaP 1 Reply Last reply
    0
    • X XinMouRen

      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

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @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"?

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved