Hi Support Team
I try to run the http_client sample based on ncs1.2.0, and I use the following configs because only NB-Iot available in our location:
CONFIG_BSD_LIBRARY=y CONFIG_BSD_LIBRARY_SYS_INIT=n CONFIG_NETWORKING=y CONFIG_NET_SOCKETS=y CONFIG_NET_NATIVE=n CONFIG_HEAP_MEM_POOL_SIZE=4096 CONFIG_MAIN_STACK_SIZE=4096 CONFIG_MODEM_KEY_MGMT=y CONFIG_LTE_LINK_CONTROL=y CONFIG_LTE_NETWORK_MODE_NBIOT=y CONFIG_LTE_LEGACY_PCO_MODE=y CONFIG_LTE_PSM_REQ_RPTAU="00000110" CONFIG_LTE_PSM_REQ_RAT="00000000"
when start running the sample, the terminal prints as:
*** Booting Zephyr OS build v2.1.99-ncs1 *** HTTPS client sample started Provisioning certificate Waiting for network.. OK Connecting to google.com connect() failed, err: 60
I try to find solutions from devzone; and find this tickets:
https://devzone.nordicsemi.com/f/nordic-q-a/58556/basic-http-get-example/237525#237525, according to the suggestions in the ticket, I try to use "216.58.208.174" replace "google.com" but it didn't work( I think it's not the root cause for my case, for my getaddinfo() is always ok ); I also tested the mqtt_simple demo, whether use the defalut code directly or add the configure 'CONFIG_MQTT_BROKER_HOSTNAME="137.135.83.217"', the sample can runs well...
So I still have no idea to deal with the "connect error 60" of the http_client sample. Can you give some suggestions?
BR
Smile