Azure-docs: No D2C message uploaded

Created on 20 Oct 2018  Â·  12Comments  Â·  Source: MicrosoftDocs/azure-docs

Hi,
i have set up all correctly. On my Raspberry Pi everything all containers are running.
However when i start to monitor D2C message from VS Code i only see:

[IoTHubMonitor] Start monitoring D2C message for [myRPiDevice] ...
[IoTHubMonitor] Created partition receiver [1] for consumerGroup [$Default]
[IoTHubMonitor] Created partition receiver [0] for consumerGroup [$Default]

Shouldn't the device upload messages to the IoT Hub?

thanks


Document Details

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

cxp doc-provided iot-edgsvc triaged

All 12 comments

@smoms Thank you for the detailed feedback. We are actively investigating and will get back to you soon.

looking into the log of the python module i see lot of lines like:

Error: Time:Sat Oct 20 16:43:19 2018 File:/usr/sdk/src/c/umqtt/src/mqtt_client.c Func:mqtt_client_connect Line:1000 Error: io_open failed
Error: Time:Sat Oct 20 16:43:19 2018 File:/usr/sdk/src/c/iothub_client/src/iothubtransport_mqtt_common.c Func:SendMqttConnectMsg Line:2122 failure connecting to address raspberrypi.

And here the OS version:

pi@pibanto:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Hello @smoms just want to make sure that you followed the two articles below successfully with no issues:

1- Install Azure IoT Edge runtime on Linux (ARM32v7/armhf)
2- Deploy Azure IoT Edge modules from the Azure portal

With the second article I want to be sure that you could successfully send messages from your Raspberry Pi device using only the tempSensor?

Thanks!

@sergaz-msft thanks for your reply. I have followed point 1. About point 2, it was not my intent but i will try and let you know.

@sergaz-msft so by running that example i can see RPi is indeed uploading D2C messages.

Thanks for following it @smoms . Can we proceed and close this issue now?

please close the issue. thanks

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.

I am having the same issue. I did follow -

1- Install Azure IoT Edge runtime on Linux (ARM32v7/armhf)
2- Deploy Azure IoT Edge modules from the Azure portal

This portion works. However, once I have deployed the PythonModule step-by-step as per the above instructions the communications stops. With the only ...

[IoTHubMonitor] Start monitoring D2C message for [myRPiDevice] ...
[IoTHubMonitor] Created partition receiver [1] for consumerGroup [$Default]
[IoTHubMonitor] Created partition receiver [0] for consumerGroup [$Default]

Tagging @sergaz-msft to flag @baharw post above.

@baharw can you please open a new issue and reference this one there? I believe your situation is slightly different.

In the meantime can you provide us the error message that you see? That seems to be the normal behavior on VS Code, it is waiting for messages to arrive.

Thank you!

@sergaz-msft this is the same error i had. No difference in my opinion.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paulmarshall picture paulmarshall  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

jebeld17 picture jebeld17  Â·  3Comments

Favna picture Favna  Â·  3Comments

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments