locked
Send telemetry from a device to an IoT hub Problem RRS feed

  • Question

  • i try to run this tutorial : https://docs.microsoft.com/en-us/azure/iot-hub/quickstart-send-telemetry-python

    i want to use python to sent message to iot hub from windows device. but i get this Problem :

    Sending message: {"temperature": 23.46,"humidity": 64.09}
    Error: Time:Mon Jul  8 10:48:16 2019 File:C:\Release\iot-sdks-internals\release\python\automation\aziotsdk_pytools\src\c
    \c-utility\adapters\socketio_win32.c Func:connect_socket Line:261 Failure: connect failure 10060.
    Error: Time:Mon Jul  8 10:48:16 2019 File:C:\Release\iot-sdks-internals\release\python\automation\aziotsdk_pytools\src\c
    \c-utility\adapters\socketio_win32.c Func:socketio_open Line:390 lookup_address_and_connect_socket failed
    Error: Time:Mon Jul  8 10:48:16 2019 File:C:\Release\iot-sdks-internals\release\python\automation\aziotsdk_pytools\src\c
    \c-utility\adapters\tlsio_schannel.c Func:tlsio_schannel_open Line:1248 xio_open failed
    Error: Time:Mon Jul  8 10:48:16 2019 File:C:\Release\iot-sdks-internals\release\python\automation\aziotsdk_pytools\src\c
    \umqtt\src\mqtt_client.c Func:mqtt_client_connect Line:1001 Error: io_open failed
    Error: Time:Mon Jul  8 10:48:16 2019 File:C:\Release\iot-sdks-internals\release\python\automation\aziotsdk_pytools\src\c
    \iothub_client\src\iothubtransport_mqtt_common.c Func:SendMqttConnectMsg Line:2151 failure connecting to address testpyt
    honhub.azure-devices.net.


    can you help me

    Monday, July 8, 2019 9:56 AM

All replies