WinCC OA MQTT to Azure IoT Hub
Posted: Mon Feb 03, 2020 12:28 pm
Hi Guys
Has anyone tried to connect to Azure IoT Hub?
I tried to connect to a IoT Hub directly with the MQTT driver. But I always get
As describet in de Microsoft Doc's I used the following. For the Password I used a SAS token, generated with Visual Studio Code.
Firewall, Ports ect. are open.
Anyone an idea what could be wrong?
best regards
Aleks
Has anyone tried to connect to Azure IoT Hub?
I tried to connect to a IoT Hub directly with the MQTT driver. But I always get
Code: Select all
SocketSslHandshakeFailedError
Driver communication failure, failure condition on HmiConnection
- Port: 8883
- Username: {iothubhostname}/{device_id}/?api-version=2018-06-30
- Password: SharedAccessSignature sig={signature-string}&se={expiry}&sr={URL-encoded-resourceURI}
Firewall, Ports ect. are open.
Anyone an idea what could be wrong?
best regards
Aleks