Azure / connectthedots

Connect tiny devices to Microsoft Azure services to build IoT solutions
http://connectthedots.io
MIT License
399 stars 274 forks source link

Raspberry Pi 3 as a Gateway Device unable to connect IoT Hub #247

Closed bunpotth closed 7 years ago

bunpotth commented 7 years ago

I am building the Connect The Dots Project with Arduino UNO + Sparkfun Weather Shield and using Raspberry Pi as a Gateway by connect Arduino to RPi3 with USB.

I followed the instruction strictly but it still not work. In RPi3, Gateway service is running but unable to connect to Azure IoT Hub.

I have ensure that IoT Hub is work by using the sample Node.js code to send the message to the IoT Hub.

Could you please help guide on how to diagnose the issue on RPi3?

olivierbloch commented 7 years ago

Hi @bunpotth Sorry for the late response, I was out on vacation the last 2 weeks :-) Here are a few things to try and dentify what's going wrong. Are you building the gateway project in debug or release? try debug if you were using release. Also, search for the logs subfolder in the gateway app folder on the device to see if you can see any relevant info in there.

bunpotth commented 7 years ago

Thank you very for your advice. I will try this on this weekend.

On Tuesday, 23 August 2016, Olivier Bloch notifications@github.com wrote:

Hi @bunpotth https://github.com/bunpotth Sorry for the late response, I was out on vacation the last 2 weeks :-) Here are a few things to try and dentify what's going wrong. Are you building the gateway project in debug or release? try debug if you were using release. Also, search for the logs subfolder in the gateway app folder on the device to see if you can see any relevant info in there.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Azure/connectthedots/issues/247#issuecomment-241773069, or mute the thread https://github.com/notifications/unsubscribe-auth/AA52_e6-NvsMhZs8tWPRrg-jnhfRAX0Nks5qixL7gaJpZM4JefYv .

olivierbloch commented 7 years ago

hi @bunpotth Any success? I'd like to narrow this issue down and any input would be helpful Thanks

olivierbloch commented 7 years ago

Closing because stale. reopen if needed