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

Bug: Failed to execute LoRaWAN Command #1458

Closed
kbeaugrand opened this issue Oct 26, 2022 · 0 comments · Fixed by #1459
Closed

Bug: Failed to execute LoRaWAN Command #1458

kbeaugrand opened this issue Oct 26, 2022 · 0 comments · Fixed by #1459
Assignees
Labels
bug Something isn't working
Milestone

Comments

@kbeaugrand
Copy link
Member

kbeaugrand commented Oct 26, 2022

Expected Behavior

After migrating to v3, device commandes should be executable.

Current Behavior

Failed to execute the command.
I suspect the backend to check the model command from the storage tables. However, it should be now present in the database instead !

Steps to Reproduce

  1. Go to LoRaWAN device
  2. Send a new command to the device

Context (Environment)

Portal version: 3.3.0
LoRaWAN Stack version: 2.2

Logs

Additional Information

image

Link: https://portal.azure.com/#blade/AppInsightsExtension/DetailsV2Blade/ComponentId/%7B%22SubscriptionId%22:%222ce61caf-883c-424a-868d-e94683afc99a%22,%22ResourceGroup%22:%22cgi-iot-portal%22,%22Name%22:%22cgigeiotdemoinsight%22%7D/DataModel/%7B%22eventId%22:%2210c47e37-5554-11ed-b47b-4f38503d54e1%22,%22timestamp%22:%222022-10-26T17:31:26.1603256Z%22%7D

Operation Name: POST LoRaWANDevices/ExecuteCommand [commandId/deviceId]

Result Code: 400

Timestamp: 2022-10-26T17:31:26.1603256Z

Duration (ms): 522.0892

Country or region: France

State or province: Loire

City: Rochetaillee

@kbeaugrand kbeaugrand added the bug Something isn't working label Oct 26, 2022
@developer-companion developer-companion bot moved this to 📝 Todo in IoT Hub Portal Oct 26, 2022
@kbeaugrand kbeaugrand self-assigned this Oct 27, 2022
@kbeaugrand kbeaugrand added this to the S44 milestone Oct 27, 2022
@kbeaugrand kbeaugrand moved this from 📝 Todo to 🚧 In Progress in IoT Hub Portal Oct 27, 2022
kbeaugrand added a commit that referenced this issue Oct 27, 2022
@kbeaugrand kbeaugrand moved this from 🚧 In Progress to 🚀 Ready in IoT Hub Portal Oct 27, 2022
lucas-mrq added a commit to lucas-mrq/IoT-Hub-Portal that referenced this issue Mar 12, 2024
kbeaugrand pushed a commit to lucas-mrq/IoT-Hub-Portal that referenced this issue Apr 16, 2024
kbeaugrand pushed a commit that referenced this issue Apr 16, 2024
* Fix command issue

Fix #1458

* Fix Command frame encoding

* fix-command/update unit test

* fix-command/add KeyManagementApiVersion

* fix-command/Delete Http issue

* fix-command/change-public to internal

* fix-command/add a new test for the payload

* Change test to make it use the real Service
Metal-Mighty pushed a commit that referenced this issue Aug 23, 2024
Metal-Mighty pushed a commit that referenced this issue Aug 23, 2024
Metal-Mighty pushed a commit that referenced this issue Aug 26, 2024
Metal-Mighty pushed a commit that referenced this issue Aug 26, 2024
Metal-Mighty pushed a commit that referenced this issue Aug 26, 2024
Metal-Mighty pushed a commit that referenced this issue Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🚀 Ready
Development

Successfully merging a pull request may close this issue.

1 participant