Can't register Gateway - EUI is still in use

Eeek indeed… From the FAQ:

Q. I want to delete and re-create (re-register) TTIG. Can I do that?

This is definitely not recommended since you cannot recreate a gateway with the same EUI on the same network. We do this to prevent violation of uniqueness on the EUI.

Sacha, any chance you can tell if the package was already opened before you got it? Anyway, whether the actual device was used before or not, I’m afraid you’ll need to return it, after you triple-checked the EUI.

The EUI you mentioned is indeed actively used:

{
   "id":"eui-58a0cbfffe800edb",
   "description":"Utfort_LoraWAN",
   "owners":[
      ""
   ],
   "location":{
      "latitude":51.47060054,
      "longitude":6.62278706,
      "altitude":0
   },
   "country_code":"de",
   "attributes":{
      "brand":"The Things Industries",
      "frequency_plan":"EU_863_870",
      "model":"The Things Indoor Gateway",
      "placement":"indoor"
   },
   "last_seen":"2019-12-18T19:29:08Z"
}

If you see that timestamp change when you’ve not plugged-in your TTIG, then surely triple-checking the EUI should help, as then the above refers to a different TTIG.

Thank you for quick response. That is the name of my gateway. But I cant see the gateway in my account. Maybe there is an issue with my second account, private, which I have deleted earlier this evening. Can someone delete the device?

See Borroz’s posts from Aug/Oct above - you need to PM the team…

Many thanks for your help.
I hope, that TTN will delete the device or something like that.

We have had the same problem with a gateway we migrated between 2 accounts. It is not possible to deregister gateways with TTN. The Staff will have to do that. Afer that you can you can re-register it to the same or another account. Very confusing.

Aside: while awaiting the response from a PM to the team, you can still use the gateway, though you cannot see it in TTN Console. You can see its last status timestamp and counters at http://noc.thethingsnetwork.org:8085/api/v2/gateways/eui-58a0cbfffe800edb

{
   "timestamp":"2019-12-18T21:23:22.499520241Z",
   "uplink":"32",
   "downlink":"16",
   "location":{

   },
   "frequency_plan":"EU_863_870",
   "gps":{

   },
   "time":"1576704202499520241",
   "rx_ok":32,
   "tx_in":16
}

You should also receive data in your applications just fine.

(When clicking that URL, some browsers tend to change it to use https, which won’t work. Right-clicking and opening in a new incognito window often works for me then.)

Surely that is no help as wont that be the previously registered GW not his own? And he wont see data handled by his GW if it is not registered into the system, right?! Or does the NOC allow presentation of 2 GW’s with same EUI even if 2nd not registered correctly? (I note from the two posts above one has location the data the other not so is this the two different versions?)

It’s just like when traffic of your nodes is received by someone else’s gateway. In this case the gateway has no owners at all anymore*, as seen in the first JSON output. Of course, this is not ideal, but better than nothing while waiting to get back full control?

The differences you see is just the difference in the output of the NOC, and the output of some gateways API. The latter is used for https://www.thethingsnetwork.org/map or the like. So, it’s the very same gateway with a single registration without an owner.

*) or never had?

Ok, understood :slight_smile:
Actually a bit worrying that TTN will accept data and pass on to an app where the sending GW isnt actually formally registered into the network and fully authentcated, mind! Though as TTIG’s only work with TTI/TTN then low risk I guess. Does same apply to other models…could someone copy an EUI from a legit GW (say picked at random from the NOC listings) and use that to ‘clone add’ another with EUI set to match and have that pass traffic without controls?

For non-TTIGs, TTN needs some additional information such as frequency plan, at least if downlinks are needed. (Maybe it accepts uplinks no matter what?) But today, the TTIG is a bit special in the V2 backend, it being auto-assigned the frequency plan:

Q. Is registration in TTN Console required?

Yes the registration is mandatory. For now, these gateways are identified as US915/EU868 based on their EUIs and a default frequency plan is sent out. But, with the official V3 support, you can select other supported frequency plans while you register your gateways as you would do with other gateways currently.

That’s all I know. :slight_smile:

While true, it seems one can transfer ownership from its settings page.

Can you give me the contact address of someone who can help me? I contact the TTN people with the following address and they couldn’t help me: ask_us_anything@thethingsnetwork.org

I have the same issue with two applications which I couldn’t register. I think the most problem is, that I have deleted my account with registeres devices. But now I need a contact person who can hanlde this.

Thank you again for your help!

Hi, I’m getting the same message.

eui-58a0cbfffe801734 already exists. My gateway wasn’t connecting, I think I must have deleted it from my account…

Please could eui-58a0cbfffe801734 be placed back into my account? Sorry I’m new to TTN and unsure about support and configuration.

Cheers,
Gerran

I did the same mistake for GW with ID 3338333047005300.
I deleted the GW and want to register it again but tet this message “a gateway with id 3338333047005300 already exists”
Can anyone help me with that, so I can register it again.

You ignore the clear warning not to delete the gateway because you will not be able to use the same ID again and now you want someone else to solve the issue? Why o why don’t people take that warning seriously?

The problem is there are multiple records regarding that gateway still in databases, removing them manually is a lot of work and TTN personnel is busy maintaining the existing stack and working on the new one. Removing gateways people ‘accidentally’ removed takes time away from those activities that serve the community as a whole.

What kind of hardware are you using? Could you instruct the hardware to use another unique ID so you can register that?

The Gateway is n-fuse concentrator Card LRWCCx-MPCIE in Raspberry Pi.

I deleted it because I forgot to check the “I’m using the legacy packet forwarder” check box and I did not find it possible to change it afterwards. The warning did not say anything about the GW could not be recreated. …at least I did not see it.
Is there any way I can reuse my GW?

The software you are running should be using a file local_conf.json which contains the unique ID. Just use the MAC address of the RPis ethernet port to generate a new ID and insert that in the file.
(A MAC address has six hex pairs, insert FFFE between pair three and four, so for 01:02:03:04:05;06 use 010203FFFE040506 as your unique ID).

The exacte warning is: “You will not be able to restore the gateway or re-use its ID.”
What is unclear about not being able to recreate a gateway using that same ID for a new gateway given this message?

1 Like

global_conf.json is the name of the file. I followed your guidlines and I’m rocking. Thank you!
Yea yea rub it in… I’m just a darn software developer and electrical engineer. And as you know we never read such messages. Delete means “delete”, but not “dealet but …” :rofl: :innocent:
Again thank you a lot for your quick an excellent response.

The warning even makes you type the gateway’s id to make you understand you’re doing something quite destructive…

confirmation

2 Likes

I have a similar problem. My gateway EUI is a840411bbe4c4150. It is a new, previously unused (AFAIK) hardware. I am pretty sure I added it as a gateway via the console, but it never appeared in the list of gateways. I definitely did not delete it as I never saw the “confirm deletion by typing the ID of the gateway” as shown in an earlier message.
But when I try to add the g/w now, i get this message:
Could not register gateway
a gateway with eui-a840411bbe4c4150 already exists

What can I do?

After some research, I’ve managed to extract the following definition using:
curl http://noc.thethingsnetwork.org:8085/api/v2/gateways/eui-a840411bbe4c4150

{
    "frequency_plan": "AU_915_928",
    "gps": {
        "altitude": 235,
        "latitude": -33.707066,
        "longitude": 151.09764
    },
    "location": {
        "altitude": 235,
        "latitude": -33.707066,
        "longitude": 151.09764
    },
    "rx_ok": 464,
    "time": "1600422409134418531",
    "timestamp": "2020-09-18T09:46:49.134418531Z",
    "uplink": "464"
}

This is definitely the entry I created and want to keep. But it does not appear in my list of gateways… I am very confused.

Maybee look here: Cannot register a new TTIG - "the gw already exists"
If your Gateway all ready exit, bring it online. Send with a Node some message/data to the TTN. And look if the data arrive in your application.
If that work you can try with the TTI/TTN to get your Gateway back in your account.