element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Azure Sphere Starter Kit
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Azure Sphere Starter Kit
  • More
  • Cancel
Azure Sphere Starter Kit
Forum IOT Central doesn't receive telemetry / events?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Azure Sphere Starter Kit to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 4 replies
  • Answers 1 answer
  • Subscribers 46 subscribers
  • Views 827 views
  • Users 0 members are here
  • azurespherech
  • azure sphere
  • azuresphkt
Related

IOT Central doesn't receive telemetry / events?

alexpawlak
alexpawlak over 6 years ago

Hey there!

I tried to follow Azure IOT Central blog by @bwilless to get started with Avnet Azure Sphere, but seemingly something's wrong with what I did and I have no idea how to troubleshoot it.

 

First off - the device get's provisioned - so the connectivity is there. Wifi is connected, all working fine, IOTHubClient is accepting the message but never sends it to Azure IOT central...


[Info] Sending telemetry: {"gX":"95.8920", "gY":"-6.9540", "gZ":"1003.5720", "pressure": "997.65", "aX": "-0.07", "aY": "-0.07", "aZ": "0.00"}
[Azure IoT Hub client] INFO: IoTHubClient accepted the message for delivery

LSM6DSO: Acceleration [mg]  : 96.0140, -6.7100, 1003.3280
LSM6DSO: Angular rate [dps] : -0.07, 0.00, 0.00
LSM6DSO: Temperature  [degC]: 37.30
LPS22HH: Pressure     [hPa] : 997.67
LPS22HH: Temperature  [degC]: 35.64

[Info] Sending telemetry: {"gX":"96.0140", "gY":"-6.7100", "gZ":"1003.3280", "pressure": "997.67", "aX": "-0.07", "aY": "0.00", "aZ": "0.00"}
[Azure IoT Hub client] INFO: IoTHubClient accepted the message for delivery

On one of the screenshots there is a step: "[INFO] Connection to IOT Hub has been established" - I think I've never seen it in the output.

Any idea how to troubleshoot Azure IOT Central connectivity ?

Thanks for any help!

Alex Pawlak




Avnet's Azure Sphere Starter-Kit (Out of Box Demo) Part 3 of 3




  • Sign in to reply
  • Cancel

Top Replies

  • bwilless
    bwilless over 6 years ago +2 verified
    Hi Alex, There are a couple of tools that you can use to see data going to Azure. For IoT Central you can use the iotc-explorer utility. Details on the tool and how to use it are here: https://github.com…
  • bwilless
    bwilless over 6 years ago +2 suggested
    Some other thoughts . . . Did you update your "allowed connections" entry in the app_manifest.json file with the IoT Hub FQDN? The OS will not allow any data to an FQDN that's not listed in this section…
  • alexpawlak
    alexpawlak over 6 years ago in reply to bwilless +1
    Hey! I'm quite sure it has been network-related. For some reason my ISP has been blocking the connection. I have created a new Wifi profile for my mobile hotspot and the app started running perfectly fine…
Parents
  • bwilless
    0 bwilless over 6 years ago

    Hi Alex,

     

    There are a couple of tools that you can use to see data going to Azure.  For IoT Central you can use the iotc-explorer utility.  Details on the tool and how to use it are here:  https://github.com/Azure/iotc-explorer

     

    From Visual Studio you can also use the Visual Studio Cloud Explorer to see data going to/from Azure.  Details here:  https://docs.microsoft.com/en-us/visualstudio/azure/vs-azure-tools-resources-managing-with-cloud-explorer?view=vs-2019

     

    You mention that you see that the device gets provisioned, do you see the debug output stating that the IoT Hub connection has been established?

     

    Brian

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • alexpawlak
    0 alexpawlak over 6 years ago in reply to bwilless

    Hey!

    I'm quite sure it has been network-related. For some reason my ISP has been blocking the connection. I have created a new Wifi profile for my mobile hotspot and the app started running perfectly fine as expected. It made me think there's something wrong with networking as I tried to follow IOT Hub scenario and failed in similar fashion. I'm not sure about networking with IoT but it seems this has been something my ISP has been blocking for reasons they only know.

    It's ALWAYS network fault :-)

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bwilless
    0 bwilless over 6 years ago in reply to alexpawlak

    Hi Alex,

     

    I just posted a new blog focused on troubleshooting IoT Hub connection issues.  There's a section on verifying that the required network ports are open.  Can you try these steps and report back on which port(s) were blocked by your ISP?

     

    Troubleshooting Azure IoT Hub Connection Issues

     

    Thanks,

     

    Brian

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • bwilless
    0 bwilless over 6 years ago in reply to alexpawlak

    Hi Alex,

     

    I just posted a new blog focused on troubleshooting IoT Hub connection issues.  There's a section on verifying that the required network ports are open.  Can you try these steps and report back on which port(s) were blocked by your ISP?

     

    Troubleshooting Azure IoT Hub Connection Issues

     

    Thanks,

     

    Brian

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube