Azure / iot-edge-v1

Azure IoT Edge
http://azure.github.io/iot-edge/
Other
524 stars 258 forks source link

running simulated_device_cloud_upload_sample gets run-time errors #658

Open prashantbadgujar opened 5 years ago

prashantbadgujar commented 5 years ago

I am using - Azure/iot-edge-v1 and bulding the application with - tools/build.sh --disable-native-remote-modules. But when I tried to run the application with below command - ./samples/simulated_device_cloud_upload/simulated_device_cloud_upload_sample ../samples/simulated_device_cloud_upload/src/simulated_device_cloud_upload_lin.json

I am getting following errors - Error: Time:Mon Oct 29 12:24:02 2018 File:/home/prashant/azure-edge-iot-sdk-c/iot-edge/v1/deps/c-utility/adapters/socketio_berkeley.c Func:socketio_open Line:627 Failure: getaddrinfo failure -2. Error: Time:Mon Oct 29 12:24:02 2018 File:/home/prashant/azure-edge-iot-sdk-c/iot-edge/v1/deps/c-utility/src/tlsio_openssl.c Func:on_underlying_io_open_complete Line:746 Invalid tlsio_state. Expected state is TLSIO_STATE_OPENING_UNDERLYING_IO. Error: Time:Mon Oct 29 12:24:02 2018 File:/home/prashant/azure-edge-iot-sdk-c/iot-edge/v1/deps/c-utility/src/tlsio_openssl.c Func:tlsio_openssl_open Line:1246 Failed opening the underlying I/O. Error: Time:Mon Oct 29 12:24:02 2018 File:/home/prashant/azure-edge-iot-sdk-c/iot-edge/v1/deps/umqtt/src/mqtt_client.c Func:mqtt_client_connect Line:980 Error: io_open failed Error: Time:Mon Oct 29 12:24:02 2018 File:/home/prashant/azure-edge-iot-sdk-c/iot-edge/v1/deps/iot-sdk-c/iothub_client/src/iothubtransport_mqtt_common.c Func:SendMqttConnectMsg Line:1786 failure connecting to address device-iothub-eus-01.azure-devices.net.azure-devices.net.

Please help me with analysis and solution to the problem.