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

  • Here is also some more log data:
    I used 2 differend sim cards from 1nce. both from the same batch. only one of them gets a IP in AT-Modem Example

  • Here are the latest response from 1NCE to the DNS issue:

    Dear Mr. Daniel Böber,

    thank you for your feedback regarding your DNS resolution.

    As already suspected by you, the results of the performed tests confirm a possible challenge with DNS resolution by your devices.

    Please note that the DNS settings are not specified or stored by the SIM card itself. Instead, the DNS server settings are the responsibility of your device.

    Please let us know how your Nordic devices retrieve and/or process DNS server information (e.g. manual DNS configuration, ePCO or PCO) and, if necessary, find out by contacting Nordic.

    We have checked our network and can confirm that the DNS settings are transmitted correctly and as intended to your device as soon as the data connection is accepted. You can see this in the attached trace file for e.g. your SIM card with the IMSI 901405102318267 under the PCO values.

    However, we cannot verify whether these values are actually still contained in the Deutsche Telekom signaling at the location of your device. Therefore, we ask you to connect the device to the mobile network of Vodafone on a test basis, to test the DNS resolution for a connection to your server afterwards and to inform us about the result of this test.

    If this test is successful, our technical specialists will need the following information for an internal analysis with Deutsche Telekom:

    How your Nordic device retrieves the DNS server dataLog files of your device showing the connection setup including the exact times of the operations.
    We thank you in advance for your cooperation

  • Hello,

    I will have the modem team look at the trace file.

  • I got a statement today from 1nce its a network wide issue with telekom. So it seems its not a nordic case anymore.

Related