MQTT Look Up Error: Siemens Cloud Connect 712 With Azure Iot Hub

Spencer Ignatieff 6 Reputation points
2022-02-09T22:44:14.75+00:00

I have been trying to connect my Siemens Cloud Connect device to the IOT hub. I have been following the documentation provided here:

https://cache.industry.siemens.com/dl/files/675/109766675/att_1018364/v1/109766675_CloudConnect_Azure_DOC_en_V20.pdf

I have tried and restarted from scratch several times, and I have always ended up with a look up error. The diagnostics of the device says there is an established cloud connection, but also gets the following error.

[ERROR]: Connecting to MQTT broker host=Demo-Hub1.azure-devices.net; port=8883: Lookup error.

My hub is named "Demo-Hub1", and I have also made sure port 8883 is open on my network.

Does anyone know why I am getting this error?

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
381 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,120 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Spencer Ignatieff 6 Reputation points
    2022-02-14T23:45:39.87+00:00

    After playing with IP and network settings, I was now able to get rid of the error just for another to take its place. I now get a "Unauthorized Access" error, despite following all steps to generate the proper sas key. I am wondering if this is an internal iot hub issue or further complications of port 8883 not being completely accessible.

    1 person found this answer helpful.

  2. AshokPeddakotla-MSFT 27,401 Reputation points
    2022-02-16T16:19:18.66+00:00

    @Spencer Ignatieff "Unauthorized Access" could occur for multiple reasons. Could you please confirm if you have required permissions to create resources such as Azure IoT Hub in the subscription? Which authentication type you have chosen while adding a device?

    1 person found this answer helpful.
    0 comments No comments

  3. houda armaili 0 Reputation points
    2024-04-17T09:12:20.07+00:00

    It appears that the connection to the server failed due to incorrect IP address or port. I've double-checked the connection information I provided, but I'm still unable to resolve the issue.

    0 comments No comments