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

nrf9160DK: https_client out of the box (No local changes whatsoever) fails with Connecting to google.com connect() failed, err: 45

nrf connect sdk 1.4.0 and nrf9160 DK

I have made no changes whatsoever.. just opened the project, built using segger and flashed.. fails with "Connecting to google.com connect() failed, err: 45"  I have tried running multiple times with same error, did board reset and 100% sure that there are ZERO local changes.

I also noticed (From LTE link monitor) that after the error, system seems to hang as  can not run any AT commands.

Please note that out of the box asset tracker works on the same board and mqtt_simple (TLS disabled by default) works as well with no issues whatsoever.

  • sshenoy105 said:
    is there a way to copy from log with new lines intact.. it's a nightmare to copy it to a editor  without new lines intact:-)

     That depends on what terminal emulator you use.

    If you are using the LTE Link Monitor, there is a button you can press to see the log file (which also contains the communication over UART):

    Based on those AT commands, I can't see anything wrong. The certificate seems to have been written correctly.

    Without a modem trace, it is very hard to say anything else.

Related