My Gateway was showing a disconnected state although it had been working seemingly fine about a month ago (new install).
In the end after a couple of resets and not knowing what else to do I decided to delete and unclaim it to try again from scratch.
But I’m getting the error as shown in the title and I haven’t been able to find any reference to it in the forum or using Google.
The full error is:
{
"code": 10,
"message": "error:pkg/deviceclaimingserver:claim gateway (claim gateway)",
"details": [
{
"@type": "type.googleapis.com/ttn.lorawan.v3.ErrorDetails",
"namespace": "pkg/deviceclaimingserver",
"name": "claim gateway",
"message_format": "claim gateway",
"correlation_id": "48b4f93dcb2a45fc.........",
"cause": {
"message_format": "gateway subscription not attached and active",
"correlation_id": "5f43b1a8977041.......",
"code": 9
},
"code": 10
}
]
}
I also tried following the instructions from The Things Indoor Gateway | The Things Stack for LoRaWAN but the command (after installing, configuring and logging in) gives me the following error when trying to run ttn-lw-cli gateways claim authorize my-existing-gateway-id
:
WARN Multiple EUIs found in arguments, considering the first
error:cmd/ttn-lw-cli/commands:invalid_gateway_eui (invalid gateway EUI)
correlation_id=72204fc1cdc344.......
--- error:pkg/types:invalid_eui (invalid EUI)
correlation_id=7f017eee567946......
--- encoding/hex: invalid byte: U+0075 'u'
(This is on Windows, I get the exact same error on Linux).
As you can see it complains about an invalid EUI, I tried that as well but without effect.
But I think the instructions are simply out-of-date, because running ttn-lw-cli gateways claim --help
doesn’t mention an authorize
option, it does mention ttn-lw-cli claim authorize
which also doesn’t exist.
So I’m stuck. Can anybody help me out? Thanks!