Azure / iot-edge-v1

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

HTTPAPI_ExecuteRequest failed on Raspbian / Raspberry pi 3. #408

Open ahidaka opened 6 years ago

ahidaka commented 6 years ago

The latest Raspbian on Raspberry pi 3 made this error when starting. I tested "simulated_device_cloud_upload sample". On bash on Windows, it worked well.

Error: Time:Fri Nov 10 16:33:47 2017 File:/home/pi/iot-edge/deps/c-utility/adapters/httpapi_curl.c Func:HTTPAPI_ExecuteRequest Line:552 curl_easy_perform() failed: Out of memory

Error: Time:Fri Nov 10 16:33:47 2017 File:/home/pi/iot-edge/deps/c-utility/adapters/httpapi_curl.c Func:HTTPAPI_ExecuteRequest Line:554 (result = HTTPAPI_OPEN_REQUEST_FAILED) Error: Time:Fri Nov 10 16:33:47 2017 File:/home/pi/iot-edge/deps/c-utility/src/httpapiex.c Func:HTTPAPIEX_ExecuteRequest Line:475 unable to recover sending to a working state Error: Time:Fri Nov 10 16:33:47 2017 File:/home/pi/iot-edge/deps/iot-sdk-c/iothub_client/src/iothubtransporthttp.c Func:DoMessages Line:2073 unable to HTTPAPIEX_SAS_ExecuteRequest Error: Time:Fri Nov 10 16:33:47 2017 File:/home/pi/iot-edge/deps/c-utility/adapters/httpapi_curl.c Func:HTTPAPI_ExecuteRequest Line:552 curl_easy_perform() failed: Out of memory

Error: Time:Fri Nov 10 16:33:47 2017 File:/home/pi/iot-edge/deps/c-utility/adapters/httpapi_curl.c Func:HTTPAPI_ExecuteRequest Line:554 (result = HTTPAPI_OPEN_REQUEST_FAILED) Error: Time:Fri Nov 10 16:33:47 2017 File:/home/pi/iot-edge/deps/c-utility/src/httpapiex.c Func:HTTPAPIEX_ExecuteRequest Line:475 unable to recover sending to a working state Error: Time:Fri Nov 10 16:33:47 2017 File:/home/pi/iot-edge/deps/iot-sdk-c/iothub_client/src/iothubtransporthttp.c Func:DoMessages Line:2073 unable to HTTPAPIEX_SAS_ExecuteRequest Error: Time:Fri Nov 10 16:33:47 2017 File:/home/pi/iot-edge/deps/c-utility/adapters/httpapi_curl.c Func:HTTPAPI_ExecuteRequest Line:552 curl_easy_perform() failed: Out of memory ...

jongio commented 6 years ago

This issue is being tracked here: https://github.com/Azure/azure-iot-sdk-python/issues/80

If you need to upload files from Raspberry Pi, then please use this script - https://github.com/jonbgallant/azure-iot-rest#file-upload

@zolvarga