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

nRF9160 system gets stuck in "getaddrinfo" function

Hi,

I am using NCS v1.1.0 and modem fw 1.1.0.

We had prepared our application in NCS v1.0.0 and now i have moved it to v1.1.0. 

In new sdk v1.1.0 ,When i try to get Address of the server using "getaddrinfo" system gets stuck in that function. 

I debugged it and found that it gets stuck in "nrf_getaddrinfo" function inside "getaddrinfo". 

I found below similar case on developer zone. 

https://devzone.nordicsemi.com/f/nordic-q-a/55840/getaddrinfo-in-can-block-indefinitely-after-lte-connect/226889#226889

As mentioned in the case , I verified the LTE connection. I always call "getaddrinfo" after LTE connection.

Can you help me in resolving this issue ?

Regards,

Smitesh Mali

Related