Gateway already registered

Hi Team,

greeting and Good day,

I recently deleted my RAK Wireless (RAK-7249) LoRaWAN Gateway from the legacy console.
I am creating the same gateway on v3, however while registering the gateway, i encountered the error message as listed below.

I believed related data needs to be purged from the legacy system. can someone please advise how to complete the Gateway registration process on v3.

A gateway with EUI AC1F09FFFE014970 is already registered as ac1f09fffe014970

{
“code”: 6,
“message”: “error:pkg/identityserver:gateway_eui_taken (a gateway with EUI AC1F09FFFE014970 is already registered as ac1f09fffe014970)”,
“details”: [
{
@type”: “type.googleapis.com/ttn.lorawan.v3.ErrorDetails”,
“namespace”: “pkg/identityserver”,
“name”: “gateway_eui_taken”,
“message_format”: "a gateway with EUI {gateway_eui} is already registered as {gateway_id}",
“attributes”: {
“gateway_eui”: “AC1F09FFFE014970”,
“gateway_id”: “ac1f09fffe014970”
},
“correlation_id”: “2f596b5efe3e4f20af1c3b4bca503ab7”,
“code”: 6
}
],
“request_details”: {
“url”: “/users/avishek/gateways”,
“method”: “post”,
“request_id”: “4508a99e-0218-4825-a5a7-f663cf7c544e”,
“stack_component”: “is”
}
}

Many thanks,
Best Regards,

Dear @Avishek – do you use the same Gateway_ID in v3 as used before in v2 ? Yes – you did … And that will not work as spoken many times about here … so there is no Error at all, as deleted Gateway_IDs will not be purged out of the system. Can you register a new Gateway in v3 but with different ID ? I guess this will work well …

It looks like @rez20004 already registered a gateway with that EUI.

@rez20004 please double check that you really own a gateway with EUI AC1F09FFFE014970 and if you registered it by mistake, please delete it so that @Avishek can register theirs.

Hello Jensileinchen,

Thanks for your swift response, Yes I am using the same gateway_ID on V3.

So basically, the Gateway_ID is supposed to be globally unique being MAC address which is embedded in the Gateway itself if not mistaken, adding FFFE between the 3rd and 4th position of the MAC address to make it EUI.

We are not supposed to change the Gateway_ID on the Gateway itself or even the console “Correct me if I am wrong”. otherwise if we can by mistake register someone else Gateway_id…

Many thanks,

Hi Hyle,

trust you are doing good and thanks for your swift response.

Infact, this is a RAK7249 Gateway having EUI AC1F09FFFE014970 and the owner is me and you can clearly see from the logs, but i have a question, how come this Gateway-ID is under Rez20004 account?.

“request_details”: {
“url”: “/users/avishek/gateways”,
“method”: “post”,
“request_id”: “4508a99e-0218-4825-a5a7-f663cf7c544e”,
“stack_component”: “is”
}

@rez20004 grateful if you could please release/deprovision EUI from your side.

Many thanks again for your help.
Best Regards,

As I understand it the EUI is considered immutable (often derived from MAC add as you say - ok some GW’s allow a reprogramming of EUI as well but thats a complication here) and the EUI identifies GW to LNS for registration and data exchange, but Gateway-ID is a ‘label’ and can be anything you like or that is convenient (as long as using right character limits) but should not be too obvious as others in same cluster may use same name - ‘mygateway’ likley to be picked by others - hence you get error saying GW ID already in use. e.g. I could go for ‘jeffs-brilliant-ttn-gw’, but another Jeff might choose same (ok unlikely) before me but then I could use ‘jeffs-brilliant-ttn-gw2’ and be ok (assuming another Jeff has’t… you get my drift) in many cases I’ve seen people adopt the eui for ID also (as in this case) but given that is just a convenient label it could be finger trouble and a mis-type of id from similar model leads to situation like this with same GW ID under different account… just thinking… or there could be situations of prior ownership/registration, mischievous claiming (seen recently in Greece?) etc.

1 Like

Hi Jeff and all,

Greetings and Good day, trust you all are doing good.

Yes, I followed the provided steps as stated above, its all working fine now…
Thanks a lot for your help and guidance.

image

Best Regards,

No. The system cannot delete the ID. I have experienced the same issue.

ID is not EUI. So which one are you referring to? This topic is about someone (accidentally?) using the EUI of someone else’s gateway.