TheThingsProducts / gateway

The Things Kickstarter Gateway
https://www.thethingsindustries.com/docs/gateways/models/thethingskickstartergateway
54 stars 20 forks source link

SNTP Reboot Loop #24

Closed htdvisser closed 5 years ago

htdvisser commented 6 years ago

This is a bug report

What do you want to do? What do you expect?

I expect my gateway to stay online

What steps did you take? (Give as many details as possible so that we can reproduce it)

What went wrong? What is missing?

What firmware is running on your gateway?

Firmware version: 1.0.3, commit: 2c56ce09
Bootloader revision: 2, commit: c463e87e

What do the logs show?

**************************
*   The Things Network   *
*      G A T E W A Y     *
**************************
Firmware name: AmazingAckermann, type: 0, version: 1.0.3, commit: 2c56ce09, timestamp: 1521721252
Bootloader revision: 2, commit: c463e87e, timestamp: 1519396960
Build time: Mar 22 2018 12:21:52
Reboot reason: 0x10
BOOT: (persisted info) 6F 72 72 65 01 10 2F 0B 9D 30 2F 0B 9D F5 D0 F0

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 found: FOTA data present
FLASH: Loading Firmware Data
CNFG: (Firmware HASH (sha256)) 14 3E 99 52 CC 5B 11 E1 A2 21 8A 04 06 AA 73 1D 1D D8 25 CE FF BD C3 28 34 1E FB 0B B2 AC 9B 56
FLASH: Loading WiFi Data
CNFG: WiFi SSID:      MAIN@ROCKSTART
CNFG: WiFi key:       ***
CNFG: WiFi conn_type: 1
CNFG: WiFi sec_type:  4
FLASH: Loading Activation Data
CNFG: Gateway ID:         htdvisser-dev
CNFG: Gateway Key:        ***
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
SNTP: State change from 0 to 0
SNTP: State change from 0 to 0

**************************
*   The Things Network   *
*      G A T E W A Y     *
**************************
Firmware name: AmazingAckermann, type: 0, version: 1.0.3, commit: 2c56ce09, timestamp: 1521721252
Bootloader revision: 2, commit: c463e87e, timestamp: 1519396960
Build time: Mar 22 2018 12:21:52
Reboot reason: 0x10
BOOT: (persisted info) 6F 72 72 65 01 10 2F 0B 9D 30 2F 0B 9D F5 D0 F0

Any Screenshots or Photos?

https://drive.google.com/file/d/1BI0YL7rZbLgAlekEVQbl_csQGo1OgYGK/view?usp=sharing

Do you think you can try to fix this yourself and submit a pull request?

Unfortunately no.

KrishnaIyer commented 5 years ago

fixed in #38. Feel free to re-open it if anyone else faces this issue again.