Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to send message; connection to iot hub established #3

Open
OliverMartini opened this issue Jun 18, 2020 · 1 comment
Open

Unable to send message; connection to iot hub established #3

OliverMartini opened this issue Jun 18, 2020 · 1 comment

Comments

@OliverMartini
Copy link

OliverMartini commented Jun 18, 2020

Hi,

When I try to follow along the demo, the message is not sent to Azure IoT Hub.

  • I verified, connection string is correct.
  • hub.loop() is entered as I see telegramToJson being published to Particle Cloud
//loop returns true if connected to Azure IoT Hub
if (hub.loop())
{
  if (count++ % 25 == 0)
  {
    Log.info("  hub.publish, msgId [%u]", msgId);
    hub.publish(telemetryToJson());
    Particle.publish("keezer-metric", telemetryToJson(), TTL, PRIVATE);
  }
}

I am using a particle photon with the latest OS 1.5.2. Am I missing something?

@Willybood
Copy link

I've started seeing something similar as of a few days ago. I've logged a support ticket with Azure in case it's a change on their end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants