This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

date_time: getaddrinfo, error: -11' in asset_trackerconnecting via NB-IoT

nrf9160-DK to NB-IOT service at vodafore UK

```

[00:00:00.322,479] [0m<inf> asset_tracker: Connecting to LTE network.
[0m[00:00:00.329,193] [0m<inf> asset_tracker: This may take several minutes.[0m
[00:00:00.350,250] [0m<inf> lte_lc: PDP Context: AT+CGDCONT=0,"IP","lpwa.vodafone.iot"[0m
+CEREG: 2,"1BE8","0029FF0B",9,0,0,"11100000","11100000"
[00:00:06.384,826] [0m<inf> asset_tracker: LTE cell changed: Cell ID: 2752267, Tracking area: 7144[0m
[00:00:06.394,073] [0m<inf> asset_tracker: PSM parameter update: TAU: -1, Active time: -1[0m
+CSCON: 1

[00:00:08.505,737] [0m<inf> asset_tracker: Connected to LTE network.
[0m[00:00:08.512,573] [0m<inf> asset_tracker: Network registration status: Connected - roaming[0m
[00:00:08.521,209] [0m<inf> asset_tracker: PSM parameter update: TAU: 28800, Active time: -1[0m
[00:00:09.051,940] [1;33m<wrn> date_time: getaddrinfo, error: -11[0m
[00:00:09.596,008] [1;33m<wrn> date_time: getaddrinfo, error: -11[0m
[00:00:10.076,019] [1;33m<wrn> date_time: getaddrinfo, error: -11[0m
[00:00:10.556,030] [1;33m<wrn> date_time: getaddrinfo, error: -11[0m
[00:00:11.012,207] [1;33m<wrn> date_time: getaddrinfo, error: -11[0m
[00:00:11.018,554] [1;33m<wrn> date_time: Not getting time from any NTP server[0m
[00:00:11.026,031] [0m<inf> asset_tracker: DATE_TIME_NOT_OBTAINED[0m

```

After this it shuts down the modem and reboots.

My question is where is it trying to get the time from?

Apparently there are several possible sources.  If I knew where it was looking I could maybe figure out what's happening.

Related