Hi,
I'm facing two issues when trying out the HTTPS Client sample from NCS 2.5.2 with build target nrf7002dk_nrf5340_cpuapp. After calling function conn_mgr_all_if_connect(true) and then waiting for the semaphore to be given once the on_net_event_l4_connected is called, the program never gets it. I've waited for over 1 minute and I also don't get a timeout error which would happen if the credentials are wrong (i've tested this). The weird thing is that it sometimes works. If I keep resetting the board it will connect eventually but then I face the second problem.
When try connect tp "example.com" I get two types of errors:
- getaddrinfo() failed, err 0
- connect() failed, err: 113
I get the second one more often that the first one. The error code 113 is defined as ECONNABORTED with description "Software caused connection abort". What does this mean? Attached is the logs of when I got this issue. I've tried other sites like the "nytimes.com" or "google.com" and I don't get this error. With other sites I sometimes get the error 116 (ETIMEDOUT). I've only gotten this sample to work with the "nytimes.com" hostname.
I have also tried the sample out-of-the-box in NCS 2.5.0 and I get the same issues. Can you please help me with this issue? Thanks
Best,
Ale