# TTN GATEWAY central

**URL:** <https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976>\
**Category:** TTKG - The Things Kickstarter Gateway\
**Created:** [December 5, 2017, 2:51pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976 "2017-12-05T14:51:24Z")\
**Posts on this page:** 1\
**Showing post:** 105

<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:** [January 18, 2018, 7:17pm UTC](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/105 "2018-01-18T19:17:38Z")

</div>

No luck registering for me. I’m seeing it fetching the configuration:

```plaintext
CNFG: Load online user config state change to 6
FREQ: APP_URL_Buffer: https://account.thethingsnetwork.org/api/v2/frequency-plans/EU_863_870
HTTP: Starting connection
HTTPS: Connection Opened: Starting TLS Negotiation
HTTP: Wait for TLS Connect
MON: SYS Stack size: 2855
MON: heap usage: 227KB (233KB), free: 111KB
HTTP: TLS Connection Opened: Starting Clear Text Communication
HTTP: Got 1232 bytes
HTTP: Connection Closed
HTTP: Close active socket 1

```

…but then it logs `LORA: Configuration failed, retry` (like it did for @mongoose and @mschelter [two weeks ago](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976/92)), and seems to restart with `Reboot reason: 0x13`:

```plaintext
CNFG: Load online user config state change to 7

CNFG: Configuring LoRa module
LORA: Changing state from 2 to 4
LORA: Starting reconfiguration
LORA: version: 01
LORA: Configuration failed, retry
LORA: Starting reconfiguration
LORA: version: 01
LORA: Configuration failed, retry
LORA: Starting reconfiguration
MON: SYS Stack size: 2855
MON: heap usage: 151KB (233KB), free: 188KB
LORA: version: 01
LORA: Configuration failed, retry
LORA: RESET MODULE
LORA: ChaSNTP: State change from 0 to 0
SNTP: State change from 0 to 0

```

> **Click for full log**
>
> ```plaintext
> **************************
> * The Things Network *
> * G A T E W A Y *
> **************************
> Firmware name: AmazingAckermann, type: 0, version: 1.0.0, commit: 917719b9, timestamp: 1498499973
> Bootloader revision: 1, commit: 7167873a, timestamp: 1496411298
> Build time: Jun 26 2017 19:59:53
> Reboot reason: 0x13
> BOOT: (persisted info) 6F 72 72 65 01 03 83 2C E7 16 05 49 92 3A 54 B7 
> 
> WIFI: Entering state 0
> WIFI: Entering SCAN state 0
> 
> MAIN: Initialisation complete
> LORA: Changing state from 0 to 0
> 
> MAIN: Leaving state 0
> MAIN: Entering state 1
> FLASH: Magic bytes found: wifi config present
> FLASH: Magic bytes found: activation data present
> FLASH: Magic bytes not found: no stored FOTA data present
> FLASH: Loading Firmware Data
> CNFG: (Firmware HASH (sha256)) FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
> FLASH: Loading WiFi Data
> CNFG: WiFi SSID: redacted
> CNFG: WiFi key: redacted
> CNFG: WiFi conn_type: 1
> CNFG: WiFi sec_type: 4
> FLASH: Loading Activation Data
> CNFG: Gateway ID: arjanvanb-gw-1
> CNFG: Gateway Key: ttn-account-v2.W4...redacted...GLyDA
> CNFG: Account Server URL: https://account.thethingsnetwork.org
> CNFG: Locked: true
> CNFG: Locked first time: false
> 
> MAIN: Leaving state 1
> MAIN: Entering state 2
> INET: State change to 0
> LORA: Initialisation complete
> LORA: Changing state from 0 to 1
> WIFI: Entering state 1
> ETH: IP Address: 0.0.0.0 
> WIFI: Entering state 4
> WIFI: Entering SCAN state 1
> SNTP: State change from 0 to 1
> Scan is completed successfully
> WIFI: Entering SCAN state 2
> WIFI: Entering SCAN state 5
> WIFI: Entering SCAN state 0
> WIFI: Entering state 2
> WIFI: Disabling modules
> Head magic match void: trying to free an already freed block, ignore
> SNTP: State change from 1 to 1
> WIFI: Entering state 3
> WIFI: Enabling modules for client
> WIFI: Entering state 6
> 
> >WIFI: IP Address: 0.0.0.0 
> CB: INET: Gateway has WiFi
> INET: State change to 2
> INET: Connected to a network, waiting for DHCP lease, checking validity with ping
> SNTP: State change from 1 to 2
> WIFI: IP Address: 192.168.178.53 
> LORA: Wait init complete, waiting for application.
> LORA: Changing state from 1 to 2
> MON: SYS Stack size: 3961
> MON: heap usage: 147KB (156KB), free: 192KB
> INET: State change to 3
> INET: Ping probe
> INET: Error sending probe on Eth
> INET: Ping response from MRF24WN, set as default
> INET: State change to 4
> SNTP: State change from 2 to 3
> SNTP: State change from 3 to 4
> SNTP: State change from 4 to 5
> SNTP: State change from 5 to 6
> SNTP: State change from 6 to 7
> INET: State change to 5
> 
> MAIN: Leaving state 2
> MAIN: Entering state 3
> 
> CNFG: Load online user config state change to 4
> HTTP: Close active socket 0
> HTTP: Starting connection
> HTTPS: Connection Opened: Starting TLS Negotiation
> HTTP: Wait for TLS Connect
> HTTP: TLS Connection Opened: Starting Clear Text Communication
> HTTP: Got 1280 bytes
> HTTP: Connection Closed
> HTTP: Close active socket 1
> CONF: Parsing response token: HTTP/1.1 200 OK
> CONF: ROUTER URL: mqtts://bridge.eu.thethings.network:8883
> 
> CNFG: Load online user config state change to 6
> FREQ: APP_URL_Buffer: https://account.thethingsnetwork.org/api/v2/frequency-plans/EU_863_870
> HTTP: Starting connection
> HTTPS: Connection Opened: Starting TLS Negotiation
> HTTP: Wait for TLS Connect
> MON: SYS Stack size: 2855
> MON: heap usage: 227KB (233KB), free: 111KB
> HTTP: TLS Connection Opened: Starting Clear Text Communication
> HTTP: Got 1232 bytes
> HTTP: Connection Closed
> HTTP: Close active socket 1
> 
> CNFG: Load online user config state change to 7
> 
> CNFG: Configuring LoRa module
> LORA: Changing state from 2 to 4
> LORA: Starting reconfiguration
> LORA: version: 01
> LORA: Configuration failed, retry
> LORA: Starting reconfiguration
> LORA: version: 01
> LORA: Configuration failed, retry
> LORA: Starting reconfiguration
> MON: SYS Stack size: 2855
> MON: heap usage: 151KB (233KB), free: 188KB
> LORA: version: 01
> LORA: Configuration failed, retry
> LORA: RESET MODULE
> LORA: ChaSNTP: State change from 0 to 0
> SNTP: State change from 0 to 0
> 
> ```

TTN Console shows:

 ![image](https://www.thethingsnetwork.org/forum/uploads/default/original/2X/e/e1bae4a0967f6e2b367717b12996c702ab34a0ed.png)

Before this loop, I easily got to Step 2 “Connect” and moved on to Step 3, “Configure” while still connected to gateway’s AP. Next, when connected to the internet again in Step 4, “First message” the LEDs loop until 3 continous lights (“Activated”) and I see some LEDs flashing on the LoRaWAN board. I’ve repeated a few times by holding down the reset button while powering up.

> [@rish](#):
>
> While on step 2 of the activation process - “Connect to the gateways WiFi access point Things-Gateway-XXXX”, make sure to forget the WiFi access point from your computer once you move to step 3. Otherwise it will keep interfering with the gateway.

…@rish, but Step 3 needs this connection, doesn’t it? So, one should only connect to the internet after Step 3?

> [@Leondegeling](#):
>
> The lora board seemed to be well in place but I found that with a little force I could wiggle it around slightly and push it in just a bit further.

Did you do all that by only removing the white cover, or did you also remove part of the black casing?

> [@Leondegeling](#):
>
> Can you push gently the LoRa module into it’s socket? En then power cycle the gateway. Maybe even keep a little force on it while running. Just to check if it might be cause by a bad connection.

Any specific place or direction to apply that force?

In my case [http://things-gateway/info](http://things-gateway/info) is accessible on my WiFi network and [says](http://www.thethingsnetwork.org/forum/uploads/default/original/2X/5/516716e056b6e1e054e3d002d8daf5d28ffc757e.jpg) `Gateway Card: 868Mhz` and I see LEDs flashing, so it’s surely (partly) connected.

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/ttn-gateway-central/10976)._
