# RAK2245 RasPi3 Hat TTN Not Connected

**URL:** <https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633>\
**Category:** Raspberry Pi Gateways\
**Created:** [July 19, 2020, 9:06pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633 "2020-07-19T21:06:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpmackenna](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/mpmackenna/32/33609_2.png) [@mpmackenna](https://www.thethingsnetwork.org/forum/u/mpmackenna)\
**Post date:** [July 19, 2020, 9:06pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/1 "2020-07-19T21:06:40Z")

</div>

Issue: New installation from a kit purchased from Adafruit. Trying to get a gateway setup on TTN. Everything seemed to go fine but gateway shows as Not Connected in web interface console and in the ttnctl cli. I checked /var/log/syslog and I see what looks like valid communication information but gateway still shows Not Connected.

Setup: Downloaded the Raspbian Image from RAK that was listed in the guide. Followed the information for registering the Gateway.

Details: Including some log information and anything else I can think of that might be relevant. Please let me know what else I can provide that may be helpful.

> mike@tincan 03:01:33 0 :~$ ttnctl gateway status eui-b827ebfffeb39eb3  
> INFO Discovering Router…  
> INFO Connecting with Router…  
> INFO Connected to Router  
> FATAL Could not get status of gateway. GatewayID=eui-b827ebfffeb39eb3 error=Gateway eui-b827ebfffeb39eb3 not found

> **Excerpt from /var/log/syslog**
>
> ```plaintext
> Jul 18 15:21:01 tincan ttn-gateway[869]: ### [UPSTREAM] ###
> Jul 18 15:21:01 tincan ttn-gateway[869]: # RF packets received by concentrator: 0
> Jul 18 15:21:01 tincan ttn-gateway[869]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
> Jul 18 15:21:01 tincan ttn-gateway[869]: # RF packets forwarded: 0 (0 bytes)
> Jul 18 15:21:01 tincan ttn-gateway[869]: # PUSH_DATA datagrams sent: 1 (157 bytes)
> Jul 18 15:21:01 tincan ttn-gateway[869]: # PUSH_DATA acknowledged: 100.00%
> Jul 18 15:21:01 tincan ttn-gateway[869]: ### [DOWNSTREAM] ###
> Jul 18 15:21:01 tincan ttn-gateway[869]: # PULL_DATA sent: 6 (100.00% acknowledged)
> Jul 18 15:21:01 tincan ttn-gateway[869]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
> Jul 18 15:21:01 tincan ttn-gateway[869]: # RF packets sent to concentrator: 0 (0 bytes)
> Jul 18 15:21:01 tincan ttn-gateway[869]: # TX errors: 0
> Jul 18 15:21:01 tincan ttn-gateway[869]: # BEACON queued: 0
> Jul 18 15:21:01 tincan ttn-gateway[869]: # BEACON sent so far: 0
> Jul 18 15:21:01 tincan ttn-gateway[869]: # BEACON rejected: 0
> Jul 18 15:22:31 tincan ttn-gateway[869]: ### [JIT] ###
> Jul 18 15:22:31 tincan ttn-gateway[869]: # SX1301 time (PPS): 3060641490
> Jul 18 15:22:31 tincan ttn-gateway[869]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
> Jul 18 15:22:31 tincan ttn-gateway[869]: ### [GPS] ###
> Jul 18 15:22:31 tincan ttn-gateway[869]: # Valid time reference (age: 1 sec)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # GPS coordinates: latitude 41.56507, longitude -90.51246, altitude 143 m
> Jul 18 15:22:31 tincan ttn-gateway[869]: ##### END #####
> Jul 18 15:22:31 tincan ttn-gateway[869]: JSON up: {"stat":{"time":"2020-07-18 20:21:01 GMT","lati":41.56507,"long":-90.51246,"alti":143,"rxnb":0,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0}}
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [up] PUSH_ACK received in 60 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 59 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 60 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 59 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 59 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 59 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 59 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: Disabling GPS mode for concentrator's counter...
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: host/sx1301 time offset=(1595100600s:365857µs) - drift=-8µs
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: Enabling GPS mode for concentrator's counter.
> Jul 18 15:22:31 tincan ttn-gateway[869]: ##### 2020-07-18 20:21:31 GMT #####
> Jul 18 15:22:31 tincan ttn-gateway[869]: ### [UPSTREAM] ###
> Jul 18 15:22:31 tincan ttn-gateway[869]: # RF packets received by concentrator: 0
> Jul 18 15:22:31 tincan ttn-gateway[869]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
> Jul 18 15:22:31 tincan ttn-gateway[869]: # RF packets forwarded: 0 (0 bytes)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # PUSH_DATA datagrams sent: 1 (157 bytes)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # PUSH_DATA acknowledged: 100.00%
> Jul 18 15:22:31 tincan ttn-gateway[869]: ### [DOWNSTREAM] ###
> Jul 18 15:22:31 tincan ttn-gateway[869]: # PULL_DATA sent: 6 (100.00% acknowledged)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # RF packets sent to concentrator: 0 (0 bytes)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # TX errors: 0
> Jul 18 15:22:31 tincan ttn-gateway[869]: # BEACON queued: 0
> Jul 18 15:22:31 tincan ttn-gateway[869]: # BEACON sent so far: 0
> Jul 18 15:22:31 tincan ttn-gateway[869]: # BEACON rejected: 0
> Jul 18 15:22:31 tincan ttn-gateway[869]: ### [JIT] ###
> Jul 18 15:22:31 tincan ttn-gateway[869]: # SX1301 time (PPS): 3090641498
> Jul 18 15:22:31 tincan ttn-gateway[869]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
> Jul 18 15:22:31 tincan ttn-gateway[869]: ### [GPS] ###
> Jul 18 15:22:31 tincan ttn-gateway[869]: # Valid time reference (age: 1 sec)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # GPS coordinates: latitude 41.56505, longitude -90.51249, altitude 147 m
> Jul 18 15:22:31 tincan ttn-gateway[869]: ##### END #####
> Jul 18 15:22:31 tincan ttn-gateway[869]: JSON up: {"stat":{"time":"2020-07-18 20:21:31 GMT","lati":41.56505,"long":-90.51249,"alti":147,"rxnb":0,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0}}
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [up] PUSH_ACK received in 59 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 59 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 59 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 59 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 60 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 59 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 59 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: ##### 2020-07-18 20:22:01 GMT #####
> Jul 18 15:22:31 tincan ttn-gateway[869]: ### [UPSTREAM] ###
> Jul 18 15:22:31 tincan ttn-gateway[869]: # RF packets received by concentrator: 0
> Jul 18 15:22:31 tincan ttn-gateway[869]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
> Jul 18 15:22:31 tincan ttn-gateway[869]: # RF packets forwarded: 0 (0 bytes)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # PUSH_DATA datagrams sent: 1 (157 bytes)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # PUSH_DATA acknowledged: 100.00%
> Jul 18 15:22:31 tincan ttn-gateway[869]: ### [DOWNSTREAM] ###
> Jul 18 15:22:31 tincan ttn-gateway[869]: # PULL_DATA sent: 6 (100.00% acknowledged)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # RF packets sent to concentrator: 0 (0 bytes)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # TX errors: 0
> Jul 18 15:22:31 tincan ttn-gateway[869]: # BEACON queued: 0
> Jul 18 15:22:31 tincan ttn-gateway[869]: # BEACON sent so far: 0
> Jul 18 15:22:31 tincan ttn-gateway[869]: # BEACON rejected: 0
> Jul 18 15:22:31 tincan ttn-gateway[869]: ### [JIT] ###
> Jul 18 15:22:31 tincan ttn-gateway[869]: # SX1301 time (PPS): 3120641506
> Jul 18 15:22:31 tincan ttn-gateway[869]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
> Jul 18 15:22:31 tincan ttn-gateway[869]: ### [GPS] ###
> Jul 18 15:22:31 tincan ttn-gateway[869]: # Valid time reference (age: 1 sec)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # GPS coordinates: latitude 41.56504, longitude -90.51244, altitude 154 m
> Jul 18 15:22:31 tincan ttn-gateway[869]: ##### END #####
> Jul 18 15:22:31 tincan ttn-gateway[869]: JSON up: {"stat":{"time":"2020-07-18 20:22:01 GMT","lati":41.56504,"long":-90.51244,"alti":154,"rxnb":0,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0}}
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [up] PUSH_ACK received in 60 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 74 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 59 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 59 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 59 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 62 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: [down] PULL_ACK received in 59 ms
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: Disabling GPS mode for concentrator's counter...
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: host/sx1301 time offset=(1595100600s:365845µs) - drift=-12µs
> Jul 18 15:22:31 tincan ttn-gateway[869]: INFO: Enabling GPS mode for concentrator's counter.
> Jul 18 15:22:31 tincan ttn-gateway[869]: ##### 2020-07-18 20:22:31 GMT #####
> Jul 18 15:22:31 tincan ttn-gateway[869]: ### [UPSTREAM] ###
> Jul 18 15:22:31 tincan ttn-gateway[869]: # RF packets received by concentrator: 1
> Jul 18 15:22:31 tincan ttn-gateway[869]: # CRC_OK: 0.00%, CRC_FAIL: 100.00%, NO_CRC: 0.00%
> Jul 18 15:22:31 tincan ttn-gateway[869]: # RF packets forwarded: 0 (0 bytes)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # PUSH_DATA datagrams sent: 1 (157 bytes)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # PUSH_DATA acknowledged: 100.00%
> Jul 18 15:22:31 tincan ttn-gateway[869]: ### [DOWNSTREAM] ###
> Jul 18 15:22:31 tincan ttn-gateway[869]: # PULL_DATA sent: 6 (100.00% acknowledged)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # RF packets sent to concentrator: 0 (0 bytes)
> Jul 18 15:22:31 tincan ttn-gateway[869]: # TX errors: 0
> Jul 18 15:22:31 tincan ttn-gateway[869]: # BEACON queued: 0
> Jul 18 15:22:31 tincan ttn-gateway[869]: # BEACON sent so far: 0
> Jul 18 15:22:31 tincan ttn-gateway[869]: # BEACON rejected: 0
> Jul 18 15:22:31 tincan ttn-gateway[869]: ### [JIT] ###
> Jul 18 15:22:31 tincan ttn-gateway[869]: # SX1301 time (PPS): 3150641515
> Jul 18 15:22:31 tincan ttn-gateway[869]: src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty
> Jul 18 15:22:31 tincan ttn-gateway[869]: ### [GPS] ###
> Jul 18 15:22:31 tincan ttn-gateway[869]: # Valid time reference (age: 1 sec)
> 
> ```

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [July 19, 2020, 9:16pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/2 "2020-07-19T21:16:58Z")

</div>

I was answering in the RAK forum but I’ll move the answer here:

The web console is not reliably showing the connection status, the acid test is are your nodes getting data through your gateway, or is your gateway showing any traffic.

The log, to my less tutored eye than some others on here, looks OK

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [July 19, 2020, 9:32pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/3 "2020-07-19T21:32:22Z")

</div>

Found the link, it may have lost it’s sticky at the top of the forum:

> [@TTN V2 Console not working properly all the time](https://www.thethingsnetwork.org/forum/t/ttn-console-not-working-properly-all-the-time-console-gateway-not-connected-no-traffic-application-no-data/37915):
>
> The TTN Console is not working properly all the time The following issues can manifest: Gateway is shown in TTN Console as ‘not connected’ or e.g. ‘last seen 1 days ago’ while the gateway is actually connected. The disadvantage of this is that the TTN Console gateway status is unreliable and that the gateway Traffic cannot be monitored in the console. TTN Console shows no Data for an application and/or its devices, while the application actually does receive data from devices. The disadv…

My ttnctl currently reports the same as you for your eui but works for one of mine - can you cross-check it?

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [July 20, 2020, 6:48am UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/4 "2020-07-20T06:48:14Z")

</div>

Did you register the gateway in TTN Console? [Your TTN profile](https://www.thethingsnetwork.org/u/mpmackenna) and [the API](https://www.thethingsnetwork.org/gateway-data/user/mpmackenna) show none, but maybe it’s registered using another account?

Can you show what you see in the Gateway part in TTN Console?

Asides:

> [@descartes](#):
>
> I was answering in the RAK forum

@mpmackenna please report back here if someone answers there? I really dislike (hate is a better word) questions being posted in multiple places.

```plaintext
### [UPSTREAM] ###
# RF packets received by concentrator: 0
# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
# RF packets forwarded: 0 (0 bytes)
# PUSH_DATA datagrams sent: 1 (157 bytes)
# PUSH_DATA acknowledged: 100.00%

```

In your excerpt I don’t see any lines that say valid packets were received. But that’s unrelated to getting that error with `ttnctl gateway status eui-b827ebfffeb39eb3`.

> [@descartes](#):
>
> it may have lost it’s sticky at the top of the forum

It’s sticky until one reads or discards it; it’s still sticky when you log out (or try in some incognito window).

---

<div class="post-metadata">

**Author:** ![mpmackenna](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/mpmackenna/32/33609_2.png) [@mpmackenna](https://www.thethingsnetwork.org/forum/u/mpmackenna)\
**Post date:** [July 20, 2020, 12:44pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/5 "2020-07-20T12:44:07Z")

</div>

Thank you @arjanvanb and @descartes for your response. It is very much appreciated. I marked the other thread as solved. I am not a fan of cross-posting either. I only cross-posted after I received zero response in the other forum after 24 hours or so. Perhaps I was too impatient. I would have deleted that other post but I don’t have permission so I just marked it solved. I am not sure why my account shows zero gateways. It looks properly registered to me. I am including a screenshot. I am still working on configuring my node properly, so it makes sense that no valid packets have been received. I am reading the documentation on how to send test packets from my feather m0 RFM95. If you have links to documentation that you think may be helpful that would be appreciated. I did read the sticky about the console not working properly, that is when I downloaded and attempted to verify with the ttnctl cli. When I received an error with that tool as well I decided perhaps it was time to seek help as I could find no other method to verify my gateway was working. Since it is also my first time configuring a node, I was trying to limit the number of variables when I begin testing the node. Thank you again for your help!  
 ![TTN-Console](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/c/3/c3f25326cd0c118acb7e925fcb7d059b5245e0b7.jpeg)

---

<div class="post-metadata">

**Author:** ![mpmackenna](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/mpmackenna/32/33609_2.png) [@mpmackenna](https://www.thethingsnetwork.org/forum/u/mpmackenna)\
**Post date:** [July 20, 2020, 12:46pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/6 "2020-07-20T12:46:53Z")

</div>

> [@descartes](#):
>
> My ttnctl currently reports the same as you for your eui but works for one of mine - can you cross-check it?

I am not sure how to “cross-check” connectivity. I assume you mean run the ttnctl tool using your eui to verify that a working gateway responds properly in the ttnctl but I am not sure how to find your eui from your forum username. Thank you for your help!

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [July 20, 2020, 1:00pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/7 "2020-07-20T13:00:54Z")

</div>

First, don’t sweat the details above, main thing is we’ve only got one place to answer questions - but it was the weekend when we were off doing other things, sunny here, Sunday roast with bottle of Margaux on the patio!

Cross-check in this context was double extra check the EUI you have on the site / using at the command line, yours fails at my end as well, but feel free to check eui-de5ca70000000000.

But of more interest is the continued refusal of the website to show that your profiles has a gateway - particularly as the map on the TTN home page is showing your gateway. Something must have gone wrong with the setup, it may be simpler to add a new one and see if the console complains there is already one registered.

It may be worth re-installing the gateway firmware: [https://downloads.rakwireless.com/LoRa/RAK2245-Pi-HAT/Firmware/](https://downloads.rakwireless.com/LoRa/RAK2245-Pi-HAT/Firmware/) or [https://downloads.rakwireless.com/LoRa/Developer-LoRaWAN-Gateway-RAK7244%26RAK7244P/Firmware/](https://downloads.rakwireless.com/LoRa/Developer-LoRaWAN-Gateway-RAK7244%26RAK7244P/Firmware/) if you are using a Raspberry Pi 4

It will be flying blind, but it may help to get your Feather running as having something to talk to the gateway will assist with debugging.

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [July 20, 2020, 1:29pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/8 "2020-07-20T13:29:30Z")

</div>

> [@descartes](#):
>
> particularly as the map on the TTN home page is showing your gateway

Is it? Or is that [eui-b827ebfffe **e6cbe6**](https://www.thethingsnetwork.org/gateway-data/gateway/eui-b827ebfffee6cbe6) as per [the location](https://www.thethingsnetwork.org/gateway-data/location?latitude=41.56504&longitude=-90.51244&distance=100), rather than [eui-b827ebfffe **b39eb3**](https://www.thethingsnetwork.org/gateway-data/gateway/eui-b827ebfffeb39eb3)? (I did not check the map.)

> [@descartes](#):
>
> It will be flying blind, but it may help to get your Feather running as having something to talk to the gateway will assist with debugging.

Yes, very much agreed. While gateway Traffic in TTN Console is troublesome, using, e.g., [the MQTT API](https://www.thethingsnetwork.org/docs/applications/mqtt/quick-start.html) for the device’s data has been rock solid for me. You’ll then also see which gateway(s) received the data. You can test the MQTT setup by [simulating an uplink in TTN Console](https://www.thethingsnetwork.org/forum/t/how-can-i-test-my-application-by-means-of-seeing-the-data-at-my-http-integration/37334/2).

@mpmackenna, which URL is the gateway using?

---

<div class="post-metadata">

**Author:** ![mpmackenna](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/mpmackenna/32/33609_2.png) [@mpmackenna](https://www.thethingsnetwork.org/forum/u/mpmackenna)\
**Post date:** [July 20, 2020, 1:54pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/9 "2020-07-20T13:54:59Z")

</div>

@descartes Thank you for your reply. I realize now that I was most certainly too impatient. I should have followed your example and gone to the patio with a drink. My tastes are not as refined as yours are. My drink is more likely to be a Leinenkugel’s Summer Shandy this time of year. Now that we have that out of the way, I did test with your EUI and received positive confirmation that it is working. I was close to deleting my gateway from the TTN but stopped when the console warned me that I would never be able to register the EUI again. I wasn’t sure if EUI’s are generated or if they are hardware specific like a MAC address so I didn’t want to make matters worse if the EUI is specific to the hardware. I am currently using a Rasberry Pi 3 B+ as that is what came with the kit I ordered. I do have a 4 but thought the three was sufficient for the gateway. This is the image I used when I originally configured the Pi. RAK2245\_based\_on\_Raspbian\_OS\_for\_RPI3\_V4.1.0\_20191202.img I did verify the image on the sdcard before booting the pi to it. I could redo it and go through the registration again if you think that would be helpful. If so, should I delete my gateway first?

> [@arjanvanb](#):
>
> Yes, very much agreed. While gateway Traffic in TTN Console is troublesome, using, e.g., [the MQTT API](https://www.thethingsnetwork.org/docs/applications/mqtt/quick-start.html) for the device’s data has been rock solid for me. You’ll then also see which gateway(s) received the data. You can test the MQTT setup by [simulating an uplink in TTN Console](https://www.thethingsnetwork.org/forum/t/how-can-i-test-my-application-by-means-of-seeing-the-data-at-my-http-integration/37334/2).

I am going to try this process to see if I can use the MQTT API for testing as you suggested. I will also work on getting the Feather node running and try the simulating uplink step you linked to. I did try sending an uplink as you suggested in your post but not sure what I am looking for in the data. Perhaps I need to go through the documentation for MQTT API first. I am going to work on that and will let you know how that goes. Again I appreciate all the help.

> [@arjanvanb](#):
>
> @mpmackenna, which URL is the gateway using?

I am not sure I understand this question. I believe I need to test with the MQTT API to view this URL. I will post back once I get that going.

Here is a screenshot of the “dummy device” I created in an attempt to follow your second link on simulating an uplink.

 ![dummy-uplink](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/b/9/b90f2da2e6c8687667f16354c10b305c85e3c43f.jpeg)

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [July 20, 2020, 2:01pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/10 "2020-07-20T14:01:38Z")

</div>

> [@mpmackenna](#):
>
> > [@arjanvanb](#):
> >
> > @mpmackenna, which URL is the gateway using?
> 
> I am not sure I understand this question. I believe I need to test with the MQTT API to view this URL.

No, somewhere in the gateway configuration there is a setting for the URL to which the gateway sends the received packets, and its status messages like the following:

> [@mpmackenna](#):
>
> `JSON up: {"stat":{"time":"2020-07-18 20:21:01 GMT","lati":41.56507,"long":-90.51246,"alti":143,"rxnb":0,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0}}`

According to your logs, the above _does_ succeed. But: where is it sending it to?

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [July 20, 2020, 2:39pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/11 "2020-07-20T14:39:44Z")

</div>

> [@mpmackenna](#):
>
> Leinenkugel’s Summer Shandy

That’s for scorching hot days 😉

DO NOT delete your gateway!

The Pi3 is more than adequate (I’ve RAK Pi Zero gateways that work just fine).

It may be worth re-installing as the URL Arjan is referring to is the one the the gateway talks to TTN - it needs to match the one the console page.

However, as ever, I’ve learn’t a new URL to check things and it does look like there may be an EUI entry issue as the location report above reveals a different EUI from the one you quoted.

---

<div class="post-metadata">

**Author:** ![mpmackenna](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/mpmackenna/32/33609_2.png) [@mpmackenna](https://www.thethingsnetwork.org/forum/u/mpmackenna)\
**Post date:** [July 20, 2020, 2:41pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/12 "2020-07-20T14:41:26Z")

</div>

> [@arjanvanb](#):
>
> No, somewhere in the gateway configuration there is a setting for the URL to which the gateway sends the received packets, and its status messages like the following:

When I run _gateway-config_ on my gateway and choose “Edit packet forwarder config”, it references the file located at /opt/ttn-gateway/packet\_forwarder/lora\_pkt\_fwd/global\_conf.json. When I view the contents of that file there is a section at the bottom that has a couple of URLs in it. That section is as follows.

```
    "gateway_conf": {
            "gateway_ID": "B827EBFFFEB39EB3",
            "server_address": "router.us.thethings.network",
            "serv_port_up": 1700,
            "serv_port_down": 1700,
            "ref_latitude": 41.56032933,
            "ref_longitude": -90.51737891,
            "ref_altitude": 182,
            "gps": true,
            "gps_tty_path": "/dev/ttyAMA0",
            "fake_gps": false,
            "contact_email": "<redacted>@gmail.com",
            "servers": [ {
                    "server_address": "router.us.thethings.network",
                    "serv_port_up": 1700,
                    "serv_port_down": 1700,
                    "serv_enabled": true
            } ]

```

Is that the referenced URL to which you are referring? The [examples](https://www.thethingsnetwork.org/forum/t/how-can-i-test-my-application-by-means-of-seeing-the-data-at-my-http-integration/37334/2) seemed to indicate that the URL is from a node configuration. I don’t have that set up yet.

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [July 20, 2020, 2:59pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/13 "2020-07-20T14:59:31Z")

</div>

> [@mpmackenna](#):
>
> Is that the referenced URL to which you are referring? The [examples](https://www.thethingsnetwork.org/forum/t/how-can-i-test-my-application-by-means-of-seeing-the-data-at-my-http-integration/37334/2) seemed to indicate that the URL is from a node configuration. I don’t have that set up yet.

Yes and they appear correct - the examples you linked to are for the other end of the pipe - where your data comes out.

Can you confirm you are using the Legacy Semtech Packet forwarder on both the gateway and on the console.

---

<div class="post-metadata">

**Author:** ![mpmackenna](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/mpmackenna/32/33609_2.png) [@mpmackenna](https://www.thethingsnetwork.org/forum/u/mpmackenna)\
**Post date:** [July 20, 2020, 3:00pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/14 "2020-07-20T15:00:01Z")

</div>

> [@descartes](#):
>
> That’s for scorching hot days

It was pretty [hot here on Saturday](https://www.wunderground.com/history/daily/KMLI/date/2020-7-18). I would call it a scorcher in my book.

> [@descartes](#):
>
> However, as ever, I’ve learn’t a new URL to check things and it does look like there may be an EUI entry issue as the location report above reveals a different EUI from the one you quoted.

This is bizarre. These are my coordinates, but not my EUI. Not sure how that happened.

{“eui-b827ebfffee6cbe6”:{“id”:“eui-b827ebfffee6cbe6”,“location”:{“latitude”:41.56465148925781,“longitude”:-90.51200103759766,“altitude”:206},“country\_code”:“us”,“attributes”:{“brand”:“Raspberry Pi based”,“frequency\_plan”:“US\_902\_928”},“last\_seen”:“2020-07-20T14:52:32Z”}}

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [July 20, 2020, 3:02pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/15 "2020-07-20T15:02:38Z")

</div>

For here in the UK, that’s furnace level - I’d have spent the day in the bath.

If you try and create a new gateway using the EUI in your conf file, does the console complain about a duplicate?

---

<div class="post-metadata">

**Author:** ![mpmackenna](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/mpmackenna/32/33609_2.png) [@mpmackenna](https://www.thethingsnetwork.org/forum/u/mpmackenna)\
**Post date:** [July 20, 2020, 3:07pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/16 "2020-07-20T15:07:19Z")

</div>

> [@descartes](#):
>
> If you try and create a new gateway using the EUI in your conf file, does the console complain about a duplicate?

Yes it does.

 ![gateway-exists](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/a/3/a34ad91f033b5ea5afa2b01389c901c134b22612.jpeg)

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [July 20, 2020, 3:12pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/17 "2020-07-20T15:12:16Z")

</div>

Hmmm, the one in your conf file returns no info on the gateway-data url but there is that other one in the database for your location. Clearly the server has had a ‘moment’.

I think we need to get @arjanvanb to page the back room wizards to de-borf the entries so you can try again with a clean slate.

---

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [July 20, 2020, 3:22pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/18 "2020-07-20T15:22:21Z")

</div>

> [@descartes](#):
>
> get @arjanvanb to page the back room wizards

I’ve no more power than you mortals. 😉 Anyone can try to summon, [e.g.](https://www.thethingsnetwork.org/forum/about), @KrishnaIyerEaswaran2 or @htdvisser… 👻

Beware: we cannot be sure that eui-b827ebfffee6cbe6 is not someone else’s, especially as [it’s clearly connected](https://www.thethingsnetwork.org/gateway-data/gateway/eui-b827ebfffee6cbe6). But [eui-b827ebfffe **b39eb3**](https://www.thethingsnetwork.org/gateway-data/gateway/eui-b827ebfffeb39eb3) surely seems to be in some troubled state within TTN.

Did you restart the gateway recently? Does the 6cbe6 one go offline when you switch off yours? (Aside: its coordinates and altitude seem to be changing a bit over time, suggesting a GPS.)

---

<div class="post-metadata">

**Author:** ![mpmackenna](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/mpmackenna/32/33609_2.png) [@mpmackenna](https://www.thethingsnetwork.org/forum/u/mpmackenna)\
**Post date:** [July 20, 2020, 3:29pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/19 "2020-07-20T15:29:30Z")

</div>

> [@arjanvanb](#):
>
> Beware: we cannot be sure that eui-b827ebfffee6cbe6 is not someone else’s, especially as [it’s clearly connected](https://www.thethingsnetwork.org/gateway-data/gateway/eui-b827ebfffee6cbe6). But [eui-b827ebfffe **b39eb3**](https://www.thethingsnetwork.org/gateway-data/gateway/eui-b827ebfffeb39eb3) surely seems to be in some troubled state within TTN.
> 
> Did you restart the gateway recently? Does the 6cbe6 one go offline when you switch off yours? (Aside: its coordinates and altitude seem to be changing a bit over time, suggesting a GPS.)

Those GPS coordinates point to my house. That is one heck of a coincidence. I think I would know if someone was breaking into my house and setting up a TTN gateway. I will power mine down to see if that change is reflected in the console. Thank you!

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [July 20, 2020, 3:36pm UTC](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633/20 "2020-07-20T15:36:04Z")

</div>

> [@arjanvanb](#):
>
> I’ve no more power than you mortals

Now I have the power - if you’ve got a cheat sheet on the URLs you use for diagnosis, it would save me trawling through previous posts to make sure I’ve got them all!

[Next page](https://www.thethingsnetwork.org/forum/t/rak2245-raspi3-hat-ttn-not-connected/38633.md?page=2)
