-
Notifications
You must be signed in to change notification settings - Fork 1
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
Problem with IoT Hub #1
Comments
@ikivela the usual reason for this sort of error message is that Azure IoT Hub device ids are case sensitive. Double check DevceID "dragino1" in you IoT Hub I also just noticed in the code this could occur if the Azure IoT Hub connection string "_azureIoTSettings.IoTHub.IoTHubConnectionString" was missing/invalid. Will patch and test later this AM currently NZT (UTC+13) |
Ran code up in debugger, I'm caching the Azure IoT Hub DeviceClients and the failure is getting cached. If you could look in the logging there should have been a failure the first time the LoRaWAN device uplinked. That will tell you what went wrong. In application Insights try searching "no TTI Application settings configured" Most probably the last one. I will have a think about to handle this better. |
Fixes to uplink function checked in branch. Considering same approach for other functions Will test some more. then merge back into master. Also planning to do .NET 6 upgrade Blog post at https://blog.devmobile.co.nz to follow about going back to application code (had been running reliably for ages and not touched it) after so long. |
@KiwiBryn thanks for debugging Did you already push another branch to git? I can't see it. |
Hi
Pushed now, had forgotten
@***@***.***>
From: Ilkka Kivelä ***@***.***>
Sent: Tuesday, 15 November 2022 12:22 AM
To: KiwiBryn/TTIV3AzureIoTConnector ***@***.***>
Cc: Bryn Lewis ***@***.***>; Mention ***@***.***>
Subject: Re: [KiwiBryn/TTIV3AzureIoTConnector] Problem with IoT Hub (Issue #1)
@KiwiBryn<https://github.com/KiwiBryn> thanks for debugging
Did you already push another branch to git? I can't see it.
—
Reply to this email directly, view it on GitHub<#1 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADB7JOLZQA7JMY5REKRE5FLWIIOD3ANCNFSM6AAAAAAR5S7IOE>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
I found out that the problem is with this setting
How this variable should be configured? There no explanation of it hackster guide. |
@ikivela I'm assuming your settings file looks something like this
If "scip" is is your TTN application id try adding
It was added so a DTDL model ID could be configured for an application. Will make more "optional" |
I have problem getting started...I tried to follow your hackster.io guide, created azure functions, iot hub, but ttn webhook receives error code 422.
I followed the logs from TTIV3WebHookAzureIoTHubIntegration1. It seems that there is no error, but connection to IoT Hub is broken? How can debug this?
The text was updated successfully, but these errors were encountered: