DNS Issue with nrf9160 and 1NCE Network and AWS IoT

Hi,

we are using the NRF9160 with AWS IoT MQTT. SDK is 1.8.0 and Modem is 1.3.1

Our devices stopped working one day to another (first realized 28.04.2022). The device connects to 1nce network but can not resolve to the aws cloud via mqtt.

Some other strange behaviour came up: The same SIM Card works in another device with the same firmware. The not working device also works with a different sim card.

We checked SIM Lock and did a sim reset at 1nce. Non of them worked. After more investigation I could reproduce the non working devices responde to an IP but not to a URL (AWS IoT is URL). We used to check: 

err = getaddrinfo("google.de", NULL, &hints, &res);
err = getaddrinfo("8.8.8.8", NULL, &hints, &res);

In the non working device-sim combination only second works. In a working device-sim combination both work.

1nce can see we connect but they see 0Bytes of data traffic for non working devices. 
I attached a log and a trace (trace v1) from a non connecting device


Thanks for your help here. We need to find a solution here, because this kind of scenario would be a big issue in production. In a conclusion our devices stopped working without our implact. This should not happen again.

I am also in contact with 1nce with the same case. I think aws can be excluded as the source of the issue

PS: I also added some information in another thread (https://devzone.nordicsemi.com/f/nordic-q-a/87467/nrf9160-dk-aws-iot-cloud-connection-issue) but I think our case is a different issue thats why I opened new here

best regards

Daniel

Parents Reply Children
Related