http_client network error on thingy91

Hello,

I am trying to use http requests on Thingy91 and therefore I tried with the sample from zephyr/samples/net/sockets/http_client.

I can build the project without any problem but when I try to run it, I get the following error when I open a putty terminal:

I did not change anything in the code, and I was supposing it was not a network problem since I activated my SIM card and I can run the asset_tracker and see the data in nrFcloud without any issue.

I am using the nrfConnectSDK 2.0.0, and the SIM is from twilio.

Best regards,

C

Parents
  • Hello Carole, 

    rupcar said:
    So I talked with Twilio and their guess is that I am close to the border between Switzerland and France, and IoT devices are more sensible to different networks and it produces interferences.

    Without knowing the details around their statement, I honestly have to say that this is quite a poor judgement by Twilio considering the fact that it is the network who is sending the detach request and not the UE.

    rupcar said:
    Therefore I was wondering it there was a way on the Thingy to get when attempting connection the list of the different networks available, and maybe choose which one to use ?

    Anyway, the nRF9160 modem can search for available PLMNs using the test command of +COPS (normal search) or %COPS (priority search). PLMN selection can then be performed manually using the set command of +COPS.

    Cheers, 

    Markus 

Reply
  • Hello Carole, 

    rupcar said:
    So I talked with Twilio and their guess is that I am close to the border between Switzerland and France, and IoT devices are more sensible to different networks and it produces interferences.

    Without knowing the details around their statement, I honestly have to say that this is quite a poor judgement by Twilio considering the fact that it is the network who is sending the detach request and not the UE.

    rupcar said:
    Therefore I was wondering it there was a way on the Thingy to get when attempting connection the list of the different networks available, and maybe choose which one to use ?

    Anyway, the nRF9160 modem can search for available PLMNs using the test command of +COPS (normal search) or %COPS (priority search). PLMN selection can then be performed manually using the set command of +COPS.

    Cheers, 

    Markus 

Children
No Data
Related