TheThingsNetwork / lorawan-stack

The Things Stack, an Open Source LoRaWAN Network Server
https://www.thethingsindustries.com/stack/
Apache License 2.0
979 stars 308 forks source link

Register end device is reporting: No DevEUI specified when generating or entering manually #6337

Closed jrepp closed 1 year ago

jrepp commented 1 year ago

Summary

I am attempting to register a new device manually. This process worked last week, but now the form doesn't accept the DevEUI. I have tried manually entering a DevEUI and generating one. Both attempts failed.

This is all random data but you can see a sample registration

Screenshot 2023-06-22 at 17 30 34 image

Steps to Reproduce

Register a device manually. Use a all zeros app ID or generate a unique one Enter a unique DevEUI or generate one with the form. Note that 1/X is incremented. Fill in all form fields. Register new device

Fails with:

{ "code": 3, "message": "error:pkg/joinserver:no_dev_eui (no DevEUI specified)", "details": [ { "@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails", "namespace": "pkg/joinserver", "name": "no_dev_eui", "message_format": "no DevEUI specified", "correlation_id": "c7917c1f74d04be2a580ceff65628bfd", "code": 3 } ] }

Current Result

An error occurs that the DevEUI is not specified

{ "code": 3, "message": "error:pkg/joinserver:no_dev_eui (no DevEUI specified)", "details": [ { "@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails", "namespace": "pkg/joinserver", "name": "no_dev_eui", "message_format": "no DevEUI specified", "correlation_id": "c7917c1f74d04be2a580ceff65628bfd", "code": 3 } ] }

Expected Result

The device should be registered.

This worked adequately last week with multiple devices.

Relevant Logs

{
  "code": 3,
  "message": "error:pkg/joinserver:no_dev_eui (no DevEUI specified)",
  "details": [
    {
      "@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails",
      "namespace": "pkg/joinserver",
      "name": "no_dev_eui",
      "message_format": "no DevEUI specified",
      "correlation_id": "c7917c1f74d04be2a580ceff65628bfd",
      "code": 3
    }
  ]
}

URL

https://eu1.cloud.thethings.network/console/applications/css-facility-poc/devices/add

Deployment

The Things Stack Community Edition

The Things Stack Version

3.26.1

Client Name and Version

No response

Other Information

Worked last week.

Proposed Fix

No response

Contributing

Code of Conduct

johanstokking commented 1 year ago

@jrepp this has been fixed. This is a regression in https://github.com/TheThingsNetwork/lorawan-stack/pull/6335 that was unfortunately already deployed.

jrepp commented 1 year ago

Thank you @johanstokking!