Failed to determine server address (DNS issue B524 on DeviceOS 6.3.3)

I have multiple times seen the following message during connection (Particle.connect) - can anybody explain what circumstances typically leads to this?

0000019266 [system] WARN: Failed to load session data from persistent storage
0000027165 [system] ERROR: Failed to determine server address
0000027165 [system] WARN: Cloud socket connection failed: -230
0000031165 [system] ERROR: Failed to determine server address
0000031165 [system] WARN: Internet test failed: -170 DNS
0000031167 [system] WARN: Handling cloud error: 2
0000031269 [system] WARN: Failed to load session data from persistent storage
0000035165 [system] ERROR: Failed to determine server address
0000035165 [system] WARN: Cloud socket connection failed: -230
0000039165 [system] ERROR: Failed to determine server address
0000039165 [system] WARN: Internet test failed: -170 DNS
0000039167 [system] WARN: Handling cloud error: 2
0000039269 [system] WARN: Failed to load session data from persistent storage
0000043165 [system] ERROR: Failed to determine server address
0000043165 [system] WARN: Cloud socket connection failed: -230
0000047165 [system] ERROR: Failed to determine server address
0000047165 [system] WARN: Internet test failed: -170 DNS
0000047167 [system] WARN: Handling cloud error: 2
0000047269 [system] WARN: Failed to load session data from persistent storage
0000051165 [system] ERROR: Failed to determine server address
0000051165 [system] WARN: Cloud socket connection failed: -230
0000055165 [system] ERROR: Failed to determine server address
0000055165 [system] WARN: Internet test failed: -170 DNS
0000055167 [system] WARN: Handling cloud error: 2
0000055269 [system] WARN: Failed to load session data from persistent storage
0000059165 [system] ERROR: Failed to determine server address
0000059165 [system] WARN: Cloud socket connection failed: -230
0000063165 [system] ERROR: Failed to determine server address
0000063165 [system] WARN: Internet test failed: -170 DNS
0000063166 [system] WARN: Handling cloud error: 2
0000063269 [system] WARN: Failed to load session data from persistent storage
0000067165 [system] ERROR: Failed to determine server address
0000067165 [system] WARN: Cloud socket connection failed: -230
0000071165 [system] ERROR: Failed to determine server address
0000071165 [system] WARN: Internet test failed: -170 DNS
0000071167 [system] WARN: Handling cloud error: 2
0000071269 [system] WARN: Failed to load session data from persistent storage
0000075165 [system] ERROR: Failed to determine server address
0000075165 [system] WARN: Cloud socket connection failed: -230
0000079165 [system] ERROR: Failed to determine server address
0000079165 [system] WARN: Internet test failed: -170 DNS
0000079167 [system] WARN: Handling cloud error: 2
0000079269 [system] WARN: Failed to load session data from persistent storage
0000083165 [system] ERROR: Failed to determine server address
0000083165 [system] WARN: Cloud socket connection failed: -230
0000087165 [system] ERROR: Failed to determine server address
0000087165 [system] WARN: Internet test failed: -170 DNS
0000087167 [system] WARN: Handling cloud error: 2
0000087269 [system] WARN: Failed to load session data from persistent storage
0000091165 [system] ERROR: Failed to determine server address
0000091165 [system] WARN: Cloud socket connection failed: -230
0000095165 [system] ERROR: Failed to determine server address
0000095165 [system] WARN: Internet test failed: -170 DNS
0000095167 [system] WARN: Handling cloud error: 2
0000095269 [system] WARN: Failed to load session data from persistent storage
0000099165 [system] ERROR: Failed to determine server address
0000099165 [system] WARN: Cloud socket connection failed: -230
0000103165 [system] ERROR: Failed to determine server address
0000103165 [system] WARN: Internet test failed: -170 DNS
0000103167 [system] WARN: Handling cloud error: 2
0000103269 [system] WARN: Failed to load session data from persistent storage
0000107165 [system] ERROR: Failed to determine server address
0000107165 [system] WARN: Cloud socket connection failed: -230
0000111165 [system] ERROR: Failed to determine server address
0000111165 [system] WARN: Internet test failed: -170 DNS
0000111166 [system] WARN: Handling cloud error: 2
0000111269 [system] WARN: Failed to load session data from persistent storage
0000115165 [system] ERROR: Failed to determine server address
0000115165 [system] WARN: Cloud socket connection failed: -230
0000119165 [system] ERROR: Failed to determine server address
0000119165 [system] WARN: Internet test failed: -170 DNS
0000119167 [system] WARN: Handling cloud error: 2

This is normal behavior if the device has been power cycled, or it previously failed to connect and the persistent state was cleared (in case it was corrupted):

0000019266 [system] WARN: Failed to load session data from persistent storage

What were the messages before this?

0000027165 [system] ERROR: Failed to determine server address
0000027165 [system] WARN: Cloud socket connection failed: -230
0000031165 [system] ERROR: Failed to determine server address
0000031165 [system] WARN: Internet test failed: -170 DNS

What country? It looks like the device was able to connect to a tower but did not have IP connectivity so it failed to perform DNS, which is one of the first things to does once the PDP session (cellular data) opens.

It may be helpful if you enable LOG_LEVEL_TRACE.

2 Likes

It's in Denmark, it's a device in our office - but I'll try enabling LOG_LEVEL_TRACE and report back!

Apologies for the late reply - too many issues to fix, but finally got to this one due to a unit on my desk exhibiting the issue again:

Serial monitor opened successfully:
0000001768 [ncp.at] TRACE: > AT
0000001769 [ncp.at] TRACE: < OK
0000001770 [ncp.at] TRACE: > ATO
0000001772 [ncp.at] TRACE: < CONNECT 150000000
0000001774 [net.ppp.client] TRACE: PPP phase -> Initialize
0000001775 [net.ppp.client] TRACE: PPP phase -> Establish
0000001776 [lwip.ppp] TRACE: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x5851fae4> <pcomp> <accomp>]
0000001782 [lwip.ppp] TRACE: rcvd [LCP ConfReq id=0xf <asyncmap 0x0> <auth pap> <magic 0x2a8dcbfd> <pcomp> <accomp>]
0000001783 [lwip.ppp] TRACE: sent [LCP ConfAck id=0xf <asyncmap 0x0> <auth pap> <magic 0x2a8dcbfd> <pcomp> <accomp>]
0000001785 [lwip.ppp] TRACE: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x5851fae4> <pcomp> <accomp>]
0000001786 [lwip.ppp] TRACE: sent [LCP EchoReq id=0x0 magic=0x5851fae4]
0000001787 [net.ppp.client] TRACE: PPP phase -> Authenticate
0000001787 [lwip.ppp] TRACE: sent [PAP AuthReq id=0x1 user="" password=""]
0000001791 [lwip.ppp] TRACE: rcvd [LCP DiscReq id=0x10 magic=0x2a8dcbfd]
0000001793 [lwip.ppp] TRACE: rcvd [LCP EchoRep id=0x0 magic=0x2a8dcbfd 58 51 fa e4]
0000001795 [lwip.ppp] TRACE: rcvd [PAP AuthAck id=0x1 ""]
0000001795 [net.ppp.client] TRACE: PPP phase -> Network
0000001796 [lwip.ppp] TRACE: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <msdns1 8.8.8.8> <msdns2 8.8.4.4>]
0000001800 [lwip.ppp] TRACE: rcvd [IPCP ConfReq id=0x7]
0000001800 [lwip.ppp] TRACE: sent [IPCP ConfAck id=0x7]
0000001802 [lwip.ppp] TRACE: rcvd [IPCP ConfNak id=0x1 <addr 100.81.226.29>]
0000001803 [lwip.ppp] TRACE: sent [IPCP ConfReq id=0x2 <addr 100.81.226.29> <msdns1 8.8.8.8> <msdns2 8.8.4.4>]
0000001807 [lwip.ppp] TRACE: rcvd [IPCP ConfAck id=0x2 <addr 100.81.226.29> <msdns1 8.8.8.8> <msdns2 8.8.4.4>]
0000001810 [system.nm] INFO: State changed: IFACE_UP -> IFACE_LINK_UP
0000001811 [net.ppp.client] TRACE: PPP thread event UP data=0
0000001812 [net.ppp.client] TRACE: State CONNECTING -> CONNECTED
0000001813 [system.nm] INFO: State changed: IFACE_LINK_UP -> IP_CONFIGURED
0000001815 [net.ppp.client] TRACE: PPP phase -> Running
0000001816 [net.pppncp] TRACE: Negotiated MTU: 1500
0000001870 [system] INFO: Cloud: connecting
0000001873 [system] WARN: Failed to load session data from persistent storage
0000009065 [system] ERROR: Failed to determine server address
0000009065 [system] WARN: Cloud socket connection failed: -230
0000013065 [system] ERROR: Failed to determine server address
0000013065 [system] WARN: Internet test failed: -170 DNS
0000013065 [system] WARN: Handling cloud error: 2
0000013166 [system] INFO: Cloud: connecting
0000013169 [system] WARN: Failed to load session data from persistent storage
0000017065 [system] ERROR: Failed to determine server address
0000017065 [system] WARN: Cloud socket connection failed: -230
0000021065 [system] ERROR: Failed to determine server address
0000021065 [system] WARN: Internet test failed: -170 DNS
0000021065 [system] WARN: Handling cloud error: 2
0000021166 [system] INFO: Cloud: connecting
0000021169 [system] WARN: Failed to load session data from persistent storage

and later:

0000149169 [system] WARN: Failed to load session data from persistent storage
0000153065 [system] ERROR: Failed to determine server address
0000153065 [system] WARN: Cloud socket connection failed: -230
0000154776 [ncp.at] TRACE: < +CREG: 5,"36DA","282D26F",7
0000154875 [ncp.at] TRACE: < +CGREG: 5,"36DA","282D26F",7
0000154976 [ncp.at] TRACE: < +CEREG: 5,"36DA","282D26F",7
0000157065 [system] ERROR: Failed to determine server address
0000157065 [system] WARN: Internet test failed: -170 DNS
0000157067 [system] WARN: Handling cloud error: 2
0000161166 [system] INFO: Cloud: connecting
0000161169 [system] WARN: Failed to load session data from persis

After a while, the watchdog triggers, but boots up and returns to this mode.

Only a powercycle fixes the problem it seems (i.e. disconnect battery)

Which watchdog is triggering, and how long does it wait? You should make sure you wait at least 10 minutes if not every time, some of the time. The reason is that the SIM card will not immediately attempt an IMSI switch, so if you reset the device or modem too soon it will never switch and possibly never succeed.

I believe it's 5 minutes and the hardware watchdog timer. I'll try expanding it to min. 10 minutes!
I think I caught it starting to happen from the beginning prior to increasing the watchdog timer:

Serial monitor opened successfully:
0000011550 [net.pppncp] TRACE: NCP event 3
0000011550 [net.pppncp] TRACE: NCP power state changed: IF_POWER_STATE_UP
0000011550 [system.nm] TRACE: Interface 4 power state changed: UP
0000011551 [ncp.client] TRACE: Modem powered on
0000011606 [ncp.at] TRACE: > AT
0000011606 [ncp.at] TRACE: < RDY
0000011613 [ncp.at] TRACE: < OK
0000011614 [ncp.client] TRACE: NCP ready to accept AT commands
0000011614 [ncp.at] TRACE: > AT+CFUN?
0000011697 [ncp.at] TRACE: < +CFUN: 0
0000011697 [ncp.at] TRACE: < OK
0000011698 [ncp.at] TRACE: > AT+CFUN=1,0
0000011707 [ncp.at] TRACE: < OK
0000011708 [ncp.at] TRACE: > AT+QGMR
0000011715 [ncp.at] TRACE: < EG91EFBR06A07M4G_01.007.01.007
0000011715 [ncp.at] TRACE: < OK
0000011716 [ncp.at] TRACE: > AT+IFC=2,2
0000011724 [ncp.at] TRACE: < OK
0000011724 [ncp.at] TRACE: > AT
0000011728 [ncp.at] TRACE: < OK
0000011729 [ncp.at] TRACE: > AT+IPR=921600
0000011732 [ncp.at] TRACE: < OK
0000012733 [ncp.at] TRACE: > AT
0000012739 [ncp.at] TRACE: < OK
0000012741 [ncp.at] TRACE: > AT+CPIN?
0000012743 [ncp.at] TRACE: < +CPIN: READY
0000012743 [ncp.at] TRACE: < OK
0000012743 [ncp.at] TRACE: > AT+CCID
0000012744 [ncp.at] TRACE: < +CCID: 89883070000013184237
0000012745 [ncp.at] TRACE: < OK
0000012745 [ncp.at] TRACE: > AT+QDSIM=0
0000012746 [ncp.at] TRACE: < OK
0000012746 [ncp.at] TRACE: > AT+CMUX=0,0,8,1509,,,,,
0000012747 [ncp.at] TRACE: < OK
0000012748 [mux] INFO: Starting GSM07.10 muxer
0000012749 [mux] INFO: GSM07.10 muxer thread started
0000012749 [mux] INFO: Opening mux channel 0
0000012800 [mux] INFO: Opening mux channel 1
0000012852 [ncp.at] TRACE: > AT
0000012859 [ncp.at] TRACE: < OK
0000012859 [ncp.client] TRACE: NCP state changed: 1
0000012859 [net.pppncp] TRACE: NCP event 1
0000012860 [ncp.at] TRACE: > AT+QCFG="cmux/urcport",1
0000012863 [ncp.at] TRACE: < OK
0000012864 [ncp.at] TRACE: > AT+CGEREP=1,0
0000012865 [ncp.at] TRACE: < OK
0000012867 [net.ppp.client] TRACE: PPP thread event ADM_UP data=0
0000012867 [net.ppp.client] TRACE: State NONE -> READY
0000012870 [ncp.at] TRACE: > AT+CFUN=1,0
0000012872 [ncp.at] TRACE: < OK
0000012873 [ncp.at] TRACE: > AT+CCID
0000012875 [ncp.at] TRACE: < +CCID: 89883070000013184237
0000012875 [ncp.at] TRACE: < OK
0000012876 [ncp.at] TRACE: > AT+CGDCONT=1,"IP","super"
0000012879 [ncp.at] TRACE: < OK
0000012880 [ncp.at] TRACE: > AT+CFUN=1,0
0000012881 [ncp.at] TRACE: < OK
0000012882 [ncp.at] TRACE: > AT+CREG=2
0000012883 [ncp.at] TRACE: < OK
0000012883 [ncp.at] TRACE: > AT+CGREG=2
0000012885 [ncp.at] TRACE: < OK
0000012885 [ncp.at] TRACE: > AT+CEREG=2
0000012886 [ncp.at] TRACE: < OK
0000012887 [ncp.client] TRACE: NCP connection state changed: 1
0000012887 [net.pppncp] TRACE: NCP event 2
0000012887 [net.pppncp] TRACE: State changed event: 1
0000012889 [net.ppp.client] TRACE: PPP thread event LOWER_DOWN data=0
0000012890 [ncp.at] TRACE: > AT+COPS?
0000012890 [ncp.at] TRACE: < +COPS: 0
0000012891 [ncp.at] TRACE: < OK
0000012892 [ncp.at] TRACE: > AT+CEREG?
0000012893 [ncp.at] TRACE: < +CEREG: 2,2
0000012893 [ncp.at] TRACE: < OK
0000012894 [ncp.at] TRACE: > AT+CREG?
0000012895 [ncp.at] TRACE: < +CREG: 2,2
0000012896 [ncp.at] TRACE: < OK
0000012897 [ncp.at] TRACE: > AT+CGREG?
0000012899 [ncp.at] TRACE: < +CGREG: 2,2
0000012899 [ncp.at] TRACE: < OK
0000013199 [ncp.at] TRACE: < +QIND: SMS DONE
0000014199 [ncp.at] TRACE: < +QIND: PB DONE
0000015799 [ncp.at] TRACE: < +CREG: 5,"36DA","2AC1E0C",7
0000015800 [ncp.at] TRACE: > AT+CIMI
0000015800 [ncp.at] TRACE: < +CGREG: 5,"36DA","2AC1E0C",7
0000015801 [ncp.at] TRACE: < +CEREG: 5,"36DA","2AC1E0C",7
0000015803 [ncp.at] TRACE: < 234500029192019
0000015803 [ncp.at] TRACE: < OK
0000015904 [ncp.client] TRACE: NCP connection state changed: 2
0000015904 [mux] INFO: Opening mux channel 2
0000015939 [net.pppncp] TRACE: NCP event 100
0000015939 [net.pppncp] TRACE: New auth info
0000015942 [net.pppncp] TRACE: NCP event 2
0000015942 [net.pppncp] TRACE: State changed event: 2
0000015943 [net.ppp.client] TRACE: PPP thread event LOWER_UP data=0
0000015943 [net.ppp.client] TRACE: State READY -> CONNECT
0000015944 [ncp.at] TRACE: > AT+CIMI
0000015947 [ncp.at] TRACE: < 234500029192019
0000015947 [ncp.at] TRACE: < OK
0000015947 [net.ppp.client] TRACE: State CONNECT -> CONNECTING
0000017052 [ncp.at] TRACE: > AT
0000017053 [ncp.at] TRACE: < OK
0000017054 [ncp.at] TRACE: > ATO
0000017056 [ncp.at] TRACE: < NO CARRIER
0000017057 [ncp.at] TRACE: > ATD*99***1#
0000017076 [ncp.at] TRACE: < CONNECT 150000000
0000017076 [net.ppp.client] TRACE: PPP phase -> Initialize
0000017077 [net.ppp.client] TRACE: PPP phase -> Establish
0000017078 [lwip.ppp] TRACE: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x585236a8> <pcomp> <accomp>]
0000017083 [lwip.ppp] TRACE: rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth 0xc223 05> <magic 0x3f241afe> <pcomp> <accomp>]
0000017085 [lwip.ppp] TRACE: sent [LCP ConfNak id=0x0 <auth pap>]
0000017087 [lwip.ppp] TRACE: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x585236a8> <pcomp> <accomp>]
0000017090 [lwip.ppp] TRACE: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x3f241afe> <pcomp> <accomp>]
0000017090 [lwip.ppp] TRACE: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <magic 0x3f241afe> <pcomp> <accomp>]
0000017092 [lwip.ppp] TRACE: sent [LCP EchoReq id=0x0 magic=0x585236a8]
0000017093 [net.ppp.client] TRACE: PPP phase -> Authenticate
0000017093 [lwip.ppp] TRACE: sent [PAP AuthReq id=0x1 user="" password=""]
0000017097 [lwip.ppp] TRACE: rcvd [LCP DiscReq id=0x2 magic=0x3f241afe]
0000017100 [lwip.ppp] TRACE: rcvd [LCP EchoRep id=0x0 magic=0x3f241afe 58 52 36 a8]
0000017101 [lwip.ppp] TRACE: rcvd [PAP AuthAck id=0x1 ""]
0000017102 [net.ppp.client] TRACE: PPP phase -> Network
0000017102 [lwip.ppp] TRACE: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <msdns1 8.8.8.8> <msdns2 8.8.4.4>]
0000017127 [lwip.ppp] TRACE: rcvd [IPCP ConfReq id=0x0]
0000017127 [lwip.ppp] TRACE: sent [IPCP ConfAck id=0x0]
0000017130 [lwip.ppp] TRACE: rcvd [IPCP ConfNak id=0x1 <addr 100.71.14.37> <msdns1 8.8.4.4> <msdns2 8.8.8.8>]
0000017131 [lwip.ppp] TRACE: sent [IPCP ConfReq id=0x2 <addr 100.71.14.37> <msdns1 8.8.4.4> <msdns2 8.8.8.8>]
0000017135 [lwip.ppp] TRACE: rcvd [IPCP ConfAck id=0x2 <addr 100.71.14.37> <msdns1 8.8.4.4> <msdns2 8.8.8.8>]
0000017139 [system.nm] INFO: State changed: IFACE_UP -> IFACE_LINK_UP
0000017140 [net.ppp.client] TRACE: PPP thread event UP data=0
0000017140 [net.ppp.client] TRACE: State CONNECTING -> CONNECTED
0000017141 [system.nm] INFO: State changed: IFACE_LINK_UP -> IP_CONFIGURED
0000017143 [net.ppp.client] TRACE: PPP phase -> Running
0000017144 [net.pppncp] TRACE: Negotiated MTU: 1500
0000017179 [system] INFO: Cloud: connecting
0000017183 [system] INFO: Cloud socket connected
0000017183 [comm.protocol.handshake] INFO: Establish secure connection
0000017189 [comm.dtls] INFO: session has 1 uses
0000017205 [comm.dtls] INFO: (CMPL,RENEG,NO_SESS,ERR) restoreStatus=0
0000017207 [comm.dtls] INFO: out_ctr 0,1,0,0,0,0,0,114, next_coap_id=60
0000017207 [comm.dtls] INFO: restored session from persisted session data. next_msg_id=96
0000017209 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 2
0000017675 [ncp.at] TRACE: > AT+CFUN?
0000017677 [ncp.at] TRACE: < +CFUN: 1
0000017677 [ncp.at] TRACE: < OK
0000017678 [ncp.at] TRACE: > AT+CCID
0000017679 [ncp.at] TRACE: < +CCID: 89883070000013184237
0000017680 [ncp.at] TRACE: < OK
0000017681 [ncp.at] TRACE: > AT+CGSN
0000017682 [ncp.at] TRACE: < 868986062318556
0000017682 [ncp.at] TRACE: < OK
0000017683 [ncp.at] TRACE: > AT+CGMR
0000017684 [ncp.at] TRACE: < EG91EFBR06A07M4G
0000017685 [ncp.at] TRACE: < OK
0000017685 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 4
0000017687 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 3
0000017687 [comm.protocol.handshake] INFO: Sending HELLO message
0000017689 [comm.coap] TRACE: Sending CoAP message
0000017689 [comm.coap] TRACE: CON POST /h size=39 token= id=97
0000023571 [comm.coap] TRACE: Retransmitting CoAP message; ID: 97; attempt 1 of 3
0000023571 [comm.coap] TRACE: Sending CoAP message
0000023572 [comm.coap] TRACE: CON POST /h size=39 token= id=97
0000031385 [ncp.at] TRACE: < +CREG: 5,"36DA","282D26F",7
0000031485 [ncp.at] TRACE: < +CGREG: 5,"36DA","282D26F",7
0000031585 [ncp.at] TRACE: < +CEREG: 5,"36DA","282D26F",7
0000035086 [comm.coap] TRACE: Retransmitting CoAP message; ID: 97; attempt 2 of 3
0000035086 [comm.coap] TRACE: Sending CoAP message
0000035087 [comm.coap] TRACE: CON POST /h size=39 token= id=97
0000053929 [comm.coap] TRACE: Retransmitting CoAP message; ID: 97; attempt 3 of 3
0000053929 [comm.coap] TRACE: Sending CoAP message
0000053930 [comm.coap] TRACE: CON POST /h size=39 token= id=97
0000062285 [ncp.at] TRACE: < +CREG: 5,"36DA","282D20D",7
0000062385 [ncp.at] TRACE: < +CGREG: 5,"36DA","282D20D",7
0000062485 [ncp.at] TRACE: < +CEREG: 5,"36DA","282D20D",7
0000088429 [comm.coap] ERROR: CoAP message timeout; ID: 97
0000088430 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 0
0000088430 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 4
0000088434 [comm.protocol.handshake] ERROR: Could not send HELLO message: 10
0000094185 [ncp.at] TRACE: < +CREG: 5,"36DA","282D26F",7
0000094285 [ncp.at] TRACE: < +CGREG: 5,"36DA","282D26F",7
0000094385 [ncp.at] TRACE: < +CEREG: 5,"36DA","282D26F",7
0000096064 [system] ERROR: Failed to determine server address
0000096064 [system] WARN: Internet test failed: -170 DNS
0000096065 [system] WARN: Cloud handshake failed, code=-160
0000096316 [system] INFO: Cloud: disconnecting
0000096316 [system] INFO: Cloud: disconnected
0000096317 [system] INFO: Cloud: connecting
0000096322 [system] WARN: Failed to load session data from persistent storage
0000100064 [system] ERROR: Failed to determine server address
0000100064 [system] WARN: Cloud socket connection failed: -230