MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.31k stars 21.5k forks source link

error of showing messsage data #19394

Closed khaleephant closed 6 years ago

khaleephant commented 6 years ago

Scanning dependencies of target app [ 16%] Building C object CMakeFiles/app.dir/main.c.o [ 33%] Building C object CMakeFiles/app.dir/wiring.c.o [ 50%] Linking C executable app [100%] Built target app pi@raspberrypi:~/iot-hub-c-raspberrypi-client-app $ cmake . && make -- Configuring done CMake Error: Unable to open check cache file for write. /home/pi/iot-hub-c-raspberrypi-client-app/CMakeFiles/cmake.check_cache pi@raspberrypi:~/iot-hub-c-raspberrypi-client-app $ sudo cmake . && make -- Configuring done -- Generating done -- Build files have been written to: /home/pi/iot-hub-c-raspberrypi-client-app Built target app pi@raspberrypi:~/iot-hub-c-raspberrypi-client-app $ sudo ./app 'HostName=idp-test-hub.azure-devices.net;DeviceId=myDeviceId;SharedAccessKey=key\' Info: Sending message: { "deviceId": "Raspberry Pi - C", "messageId": 1, "temperature": 24.540001, "humidity": 60.189999 } Info: Message sent to Azure IoT Hub Error: Time:Fri Nov 23 07:27:53 2018 File:/root/Source/azure-iot-sdk-c/c-utility/adapters/socketio_berkeley.c Func:wait_for_connection Line:370 Failure: select failure.

what should I do? only the first message is sent


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

mimckitt commented 6 years ago

Thanks for the feedback! We are currently investigating and will update you shortly.

asergaz commented 6 years ago

Hello @khaleephant, can you open a new issue on Azure IoT C SDK repo and reference this one there? I believe that the issue you are facing may be related with this one: https://github.com/Azure/azure-iot-sdk-c/issues/746

Thank you so much!

asergaz commented 6 years ago

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

tynevi commented 5 months ago

@khaleephant A comment in this issue contained an Azure IoT Device Connection String which was flagged in secret scanning. I have replaced it with "key-value" in the comment. We recommend that you revoke existing connection strings and replace with new ones.