Electron no longer connecting after setup

I have setup an Electron today, it connected and all was good. I then flashed it OTA with a program that I am currently using on an existing Electron, with no changes. It never reconnected to the cloud. I have tried then flashing it again from the CLI, I have tried safe mode, I have tried flashing it via the CLI with Tinker and update and then flash again. Nothing seems to work. I have also deactivated the sim and reactivated it.

I also tried particle keys doctor followed by particle keys server, this has not worked either. Lastly I flashed it with a Tinker Debug program and have the following log:

   259.223 AT read OK    6 "\r\nOK\r\n"
   259.223 AT send      12 "AT+CGREG=2\r\n"
   259.233 AT read OK    6 "\r\nOK\r\n"
   259.233 AT send      11 "AT+CREG=2\r\n"
   259.243 AT read OK    6 "\r\nOK\r\n"
   259.243 AT send      10 "AT+CREG?\r\n"
   259.253 AT read  +   14 "\r\n+CREG: 2,0\r\n"
   259.263 AT read OK    6 "\r\nOK\r\n"
   259.263 AT send      11 "AT+CGREG?\r\n"
   259.273 AT read  +   15 "\r\n+CGREG: 2,0\r\n"
   259.283 AT read OK    6 "\r\nOK\r\n"
   274.283 AT send      10 "AT+CREG?\r\n"
   275.843 AT read  +   12 "\r\n+CREG: 4\r\n"
   275.853 AT read  +   13 "\r\n+CGREG: 4\r\n"
   275.863 AT read  +   14 "\r\n+CIEV: 3,0\r\n"
   275.873 AT read  +   14 "\r\n+CIEV: 7,0\r\n"
   275.883 AT read  +   14 "\r\n+CIEV: 9,0\r\n"
CIEV matched: 9,0
   275.893 AT read  +   14 "\r\n+CREG: 2,4\r\n"
   275.903 AT read OK    6 "\r\nOK\r\n"
   275.903 AT send      11 "AT+CGREG?\r\n"
   278.383 AT read  +   15 "\r\n+CGREG: 2,4\r\n"
   278.393 AT read OK    6 "\r\nOK\r\n"
   293.393 AT send      10 "AT+CREG?\r\n"
   293.393 AT read  +   14 "\r\n+CIEV: 2,1\r\n"
   293.403 AT read  +   31 "\r\n+CREG: 5,\"5250\",\"2DD073C\",2\r\n"
   293.413 AT read  +   37 "\r\n+CGREG: 5,\"5250\",\"2DD073C\",2,\"01\"\r\n"
   293.424 AT read  +   14 "\r\n+CIEV: 3,1\r\n"
   293.434 AT read  +   14 "\r\n+CIEV: 7,1\r\n"
   293.444 AT read  +   14 "\r\n+CIEV: 9,2\r\n"
CIEV matched: 9,2
   294.944 AT read  +   33 "\r\n+CREG: 2,5,\"5250\",\"2DD073C\",2\r\n"
   294.954 AT read OK    6 "\r\nOK\r\n"
   294.954 AT send      11 "AT+CGREG?\r\n"
   294.964 AT read  +   39 "\r\n+CGREG: 2,5,\"5250\",\"2DD073C\",2,\"01\"\r\n"
   294.975 AT read OK    6 "\r\nOK\r\n"
   294.975 AT send      10 "AT+COPS?\r\n"
   295.015 AT read  +   33 "\r\n+COPS: 0,0,\"Telstra Mobile\",2\r\n"
   295.025 AT read OK    6 "\r\nOK\r\n"
   295.025 AT send       9 "AT+CNUM\r\n"
   295.065 AT read OK    6 "\r\nOK\r\n"
   295.065 AT send       8 "AT+CSQ\r\n"
   295.075 AT read  +   13 "\r\n+CSQ: 7,6\r\n"
   295.085 AT read OK    6 "\r\nOK\r\n"

[ Modem::join ] = = = = = = = = = = = = = = = =
   295.085 AT send      12 "AT+CGATT=1\r\n"
   295.096 AT read OK    6 "\r\nOK\r\n"
   295.096 AT send      14 "AT+UPSND=0,8\r\n"
   295.106 AT read  +   17 "\r\n+UPSND: 0,8,0\r\n"
   295.116 AT read OK    6 "\r\nOK\r\n"
   295.116 AT send      23 "AT+UPSD=0,7,\"0.0.0.0\"\r\n"
   295.126 AT read OK    6 "\r\nOK\r\n"
   295.126 AT send      36 "AT+UPSD=0,1,\"spark.telefonica.com\"\r\n"
   295.137 AT read OK    6 "\r\nOK\r\n"
   295.137 AT send      15 "AT+UPSD=0,6,0\r\n"
   295.147 AT read OK    6 "\r\nOK\r\n"
   295.147 AT send      14 "AT+UPSDA=0,3\r\n"
   306.787 AT read ERR  39 "\r\n+CME ERROR: PDP activation rejected\r\n"
   306.787 AT send      15 "AT+UPSD=0,6,1\r\n"
   306.788 AT read  +   14 "\r\n+CIEV: 2,0\r\n"
   306.799 AT read  +   12 "\r\n+CREG: 2\r\n"
   306.809 AT read  +   13 "\r\n+CGREG: 2\r\n"
   306.819 AT read  +   14 "\r\n+CIEV: 3,0\r\n"
   306.829 AT read  +   14 "\r\n+CIEV: 7,0\r\n"
   306.839 AT read  +   14 "\r\n+CIEV: 9,0\r\n"
CIEV matched: 9,0
   306.849 AT read OK    6 "\r\nOK\r\n"
   306.849 AT send      14 "AT+UPSDA=0,3\r\n"
   379.319 AT read OK    6 "\r\nOK\r\n"
   379.319 AT send      14 "AT+UPSND=0,0\r\n"
   379.319 AT read  +   12 "\r\n+CREG: 0\r\n"
   379.330 AT read  +   13 "\r\n+CGREG: 0\r\n"
   379.340 AT read  +   12 "\r\n+CREG: 2\r\n"
   379.350 AT read  +   13 "\r\n+CGREG: 2\r\n"
   379.360 AT read  +   12 "\r\n+CREG: 0\r\n"
   379.370 AT read  +   13 "\r\n+CGREG: 0\r\n"
   379.380 AT read  +   12 "\r\n+CREG: 2\r\n"
   379.390 AT read  +   13 "\r\n+CGREG: 2\r\n"
   379.400 AT read  +   31 "\r\n+CREG: 5,\"5250\",\"2DD073C\",2\r\n"
   379.410 AT read  +   37 "\r\n+CGREG: 5,\"5250\",\"2DD073C\",2,\"01\"\r\n"
   379.421 AT read  +   14 "\r\n+CIEV: 3,1\r\n"
   379.431 AT read  +   14 "\r\n+CIEV: 7,1\r\n"
   379.441 AT read  +   14 "\r\n+CIEV: 9,2\r\n"
CIEV matched: 9,2
   379.451 AT read  +   14 "\r\n+CIEV: 2,1\r\n"
   379.461 AT read  +   29 "\r\n+UPSND: 0,0,\"10.44.11.63\"\r\n"
   379.471 AT read OK    6 "\r\nOK\r\n"
0000379471 [system] INFO: ARM_WLAN_WD 2
0000379471 [system] INFO: ARM_WLAN_WD 2
000030000379472 [system] INFO: Cloud: connecting
0000379472 [system]0000379472 [system] TRACE0000379473 [system] INFO: Read Server Address = type:1,domain:$i   379.474 AT send      56 "AT+UDNSRN=0,\"280054000951343334363138.udp.particle.io\"\r\n"
   409.486 AT send      56 "AT+UDNSRN=0,\"280054000951343334363138.udp.particle.io\"\r\n"
   439.498 AT send      56 "AT+UDNSRN=0,\"280054000951343334363138.udp.particle.io\"\r\n"
   442.909 AT read ERR   9 "\r\nERROR\r\n"
0000442910 [system] ERROR: Cloud: unable to resolve IP for 280054000951343334363138.0000442911 [system] TRACE: Internet test socket
socketSocket(TCP)
   442.912 AT send      12 "AT+USOCR=6\r\n"
   442.912 AT read  +   12 "\r\n+CREG: 2\r\n"
   442.923 AT read  +   13 "\r\n+CGREG: 2\r\n"
   442.933 AT read  +   12 "\r\n+CREG: 0\r\n"
   442.943 AT read  +   13 "\r\n+CGREG: 0\r\n"
   442.953 AT read  +   31 "\r\n+CREG: 5,\"5250\",\"2DD073F\",2\r\n"
   442.963 AT read  +   37 "\r\n+CGREG: 5,\"5250\",\"2DD073F\",2,\"01\"\r\n"
   442.974 AT read  +   12 "\r\n+CREG: 2\r\n"
   442.984 AT read  +   13 "\r\n+CGREG: 2\r\n"
   442.994 AT read  +   31 "\r\n+CREG: 5,\"5250\",\"2DD073C\",2\r\n"
   443.004 AT read  +   37 "\r\n+CGREG: 5,\"5250\",\"2DD073C\",2,\"01\"\r\n"
   443.015 AT read  +   12 "\r\n+CREG: 2\r\n"
   443.025 AT read  +   13 "\r\n+CGREG: 2\r\n"
   443.035 AT read  +   14 "\r\n+CIEV: 2,0\r\n"
   443.045 AT read  +   14 "\r\n+CIEV: 3,0\r\n"
   443.055 AT read  +   14 "\r\n+CIEV: 7,0\r\n"
   443.065 AT read  +   14 "\r\n+CIEV: 9,0\r\n"
CIEV matched: 9,0
0000443065 TRACE: GPRS WD Set 15000
   443.075 AT read  +   14 "\r\n+CIEV: 3,1\r\n"
   443.085 AT read  +   14 "\r\n+CIEV: 7,1\r\n"
   443.095 AT read  +   14 "\r\n+CIEV: 9,2\r\n"
CIEV matched: 9,2
0000443095 TRACE: GPRS WD Cleared, was 0
   443.105 AT read  +   14 "\r\n+CIEV: 2,1\r\n"
   443.115 AT read  +   14 "\r\n+CIEV: 3,0\r\n"
   443.125 AT read  +   14 "\r\n+CIEV: 7,0\r\n"
   443.135 AT read  +   14 "\r\n+CIEV: 9,0\r\n"
CIEV matched: 9,0
0000443135 TRACE: GPRS WD Set 15000
   443.145 AT read  +   14 "\r\n+CIEV: 3,1\r\n"
   443.155 AT read  +   14 "\r\n+CIEV: 7,1\r\n"
   443.165 AT read  +   14 "\r\n+CIEV: 9,2\r\n"
CIEV matched: 9,2
0000443165 TRACE: GPRS WD Cleared, was 0
   443.175 AT read  +   14 "\r\n+CIEV: 3,0\r\n"
   443.185 AT read  +   14 "\r\n+CIEV: 7,0\r\n"
   443.195 AT read  +   14 "\r\n+CIEV: 9,0\r\n"
CIEV matched: 9,0
0000443195 TRACE: GPRS WD Set 15000
   443.205 AT read  +   13 "\r\n+USOCR: 0\r\n"
   443.215 AT read OK    6 "\r\nOK\r\n"
Socket 0: handle 0 was created
0000443215 [system] TRACE: socketed testSocket=0
0000443215 [system] TRACE: Connect Attempt
socketConnect(0,port:53)
   443.216 AT send      25 "AT+USOCO=0,\"8.8.8.8\",53\r\n"
0000453226 [system] TRACE: socket_connect()=fail
0000453226 [system] TRACE: Close
socketClose(0)
   453.226 AT send      12 "AT+USOCL=0\r\n"
   461.767 AT read ERR   9 "\r\nERROR\r\n"
   461.767 AT send       9 "AT+CEER\r\n"
0000461767 TRACE: GPRS WD Cleared, was 0
0000461768 [system] INFO: ARM_WLAN_WD 3
0000461768 [system] INFO: ARM_WLAN   461.778 AT read  +   32 "\r\n+CEER: \"No report available\"\r\n"
   461.788 AT read OK    6 "\r\nOK\r\n"
socketFree(0)
0000461788 [system] WARN: Internet available, Cloud not reachable!
0000461788 [system] WARN: Intern0000461789 [system] WARN: Ha0000461789 [system] INFO: Sim Ready
0000461789 [system] INFO: Sim Ready
0000461790 [system] INFO: ARM_WLAN_WD 1
0000461790 [s
[ Modem::init ] = = = = = = = = = = = = = = =
   461.790 AT send       9 "AT+CGSN\r\n"
   461.811 AT read UNK  19 "\r\n353162071300355\r\n"
   461.821 AT read OK    6 "\r\nOK\r\n"
   461.821 AT send       9 "AT+CGMI\r\n"
   461.841 AT read UNK  10 "\r\nu-blox\r\n"
   461.851 AT read OK    6 "\r\nOK\r\n"
   461.851 AT send       9 "AT+CGMM\r\n"
   461.851 AT read  +   31 "\r\n+CREG: 5,\"5250\",\"2DD073F\",2\r\n"
   461.862 AT read  +   37 "\r\n+CGREG: 5,\"5250\",\"2DD073F\",2,\"01\"\r\n"
   461.873 AT read  +   14 "\r\n+CIEV: 3,1\r\n"
   461.883 AT read  +   14 "\r\n+CIEV: 7,1\r\n"
   461.893 AT read  +   14 "\r\n+CIEV: 9,2\r\n"
CIEV matched: 9,2
   461.903 AT read UNK  13 "\r\nSARA-U260\r\n"
   461.913 AT read OK    6 "\r\nOK\r\n"
   461.913 AT send       9 "AT+CGMR\r\n"
   461.923 AT read UNK   9 "\r\n23.20\r\n"
   461.933 AT read OK    6 "\r\nOK\r\n"
   461.933 AT send       9 "AT+CCID\r\n"
   461.943 AT read  +   30 "\r\n+CCID: 8934076500002735330\r\n"
   461.953 AT read OK    6 "\r\nOK\r\n"
   461.953 AT send      11 "AT+UPSV=1\r\n"
   461.963 AT read OK    6 "\r\nOK\r\n"
   461.963 AT send      11 "AT+CMGF=1\r\n"
   461.973 AT read OK    6 "\r\nOK\r\n"
   461.973 AT send      13 "AT+CNMI=2,1\r\n"
   461.983 AT read OK    6 "\r\nOK\r\n"
   461.983 AT send       9 "AT+CIMI\r\n"
   461.993 AT read UNK  19 "\r\n214074300563929\r\n"
   462.003 AT read OK    6 "\r\nOK\r\n"

[ Modem::register ] = = = = = = = = = = = = = =
   462.003 AT send      10 "AT+CREG?\r\n"
   462.014 AT read  +   33 "\r\n+CREG: 2,5,\"5250\",\"2DD073F\",2\r\n"
   462.024 AT read OK    6 "\r\nOK\r\n"
   462.024 AT send      11 "AT+CGREG?\r\n"
   462.034 AT read  +   39 "\r\n+CGREG: 2,5,\"5250\",\"2DD073F\",2,\"01\"\r\n"
   462.045 AT read OK    6 "\r\nOK\r\n"
   462.045 AT send      10 "AT+COPS?\r\n"
   462.045 AT read  +   14 "\r\n+UUSOCL: 0\r\n"
Socket -1: handle 0 closed by remote host
   462.086 AT read  +   33 "\r\n+COPS: 0,0,\"Telstra Mobile\",2\r\n"
   462.097 AT read OK    6 "\r\nOK\r\n"
   462.097 AT send       9 "AT+CNUM\r\n"
   462.137 AT read OK    6 "\r\nOK\r\n"
   462.137 AT send       8 "AT+CSQ\r\n"
   462.147 AT read  +   13 "\r\n+CSQ: 8,6\r\n"
   462.157 AT read OK    6 "\r\nOK\r\n"

[ Modem::join ] = = = = = = = = = = = = = = = =
   462.157 AT send      12 "AT+CGATT=1\r\n"
   462.168 AT read OK    6 "\r\nOK\r\n"
   462.168 AT send      14 "AT+UPSND=0,8\r\n"
   462.178 AT read  +   17 "\r\n+UPSND: 0,8,1\r\n"
   462.188 AT read OK    6 "\r\nOK\r\n"
   462.188 AT send      14 "AT+UPSND=0,0\r\n"
   462.198 AT read  +   29 "\r\n+UPSND: 0,0,\"10.44.11.63\"\r\n"
   462.208 AT read OK    6 "\r\nOK\r\n"
0000462208 [system] INFO: ARM_WLAN_WD 2
0000462208 [system] INFO: ARM_WLAN_WD 2
0000462208 [system] INFO: C0000462209 [system] INFO: Cloud: connecting
0000462209 [system]0000462209 [system] TRACE: sparkSocket Now =-1
0000462210 [system] INFO: Read Server Address = type:1,domain:$id.u   462.211 AT send      56 "AT+UDNSRN=0,\"280054000951343334363138.udp.particle.io\"\r\n"
   492.223 AT send      56 "AT+UDNSRN=0,\"280054000951343334363138.udp.particle.io\"\r\n"
   522.235 AT send      56 "AT+UDNSRN=0,\"280054000951343334363138.udp.particle.io\"\r\n"
   523.006 AT read ERR   9 "\r\nERROR\r\n"
0000523007 [system] ERROR: Cloud: unable to resolve IP for 280054000951343334363138.udp.particle.io
0000523007 [system] ERROR: 00005230000523008 [system] WARN: Resetting WLAN due to 2 failed connect0000523009 [system] TRACE: Internet test socket
socketSocket(TCP)
   523.009 AT send      12 "AT+USOCR=6\r\n"
   523.010 AT read  +   12 "\r\n+CREG: 2\r\n"
   523.020 AT read  +   13 "\r\n+CGREG: 2\r\n"
   523.030 AT read  +   12 "\r\n+CREG: 0\r\n"
   523.040 AT read  +   13 "\r\n+CGREG: 0\r\n"
   523.050 AT read  +   31 "\r\n+CREG: 5,\"5250\",\"2DD073F\",2\r\n"
   523.060 AT read  +   37 "\r\n+CGREG: 5,\"5250\",\"2DD073F\",2,\"01\"\r\n"
   523.071 AT read  +   14 "\r\n+CIEV: 2,0\r\n"
   523.081 AT read  +   14 "\r\n+CIEV: 3,0\r\n"
   523.091 AT read  +   14 "\r\n+CIEV: 7,0\r\n"
   523.101 AT read  +   14 "\r\n+CIEV: 9,0\r\n"
CIEV matched: 9,0
0000523101 TRACE: GPRS WD Set 15000
   523.111 AT read  +   14 "\r\n+CIEV: 3,1\r\n"
   523.121 AT read  +   14 "\r\n+CIEV: 7,1\r\n"
   523.131 AT read  +   14 "\r\n+CIEV: 9,2\r\n"
CIEV matched: 9,2
0000523131 TRACE: GPRS WD Cleared, was 0
   523.141 AT read  +   14 "\r\n+CIEV: 2,1\r\n"
   523.151 AT read  +   13 "\r\n+USOCR: 0\r\n"
   523.161 AT read OK    6 "\r\nOK\r\n"
Socket 0: handle 0 was created
0000523161 [system] TRACE: socketed testSocket=0
00005socketConnect(0,port:53)
   523.162 AT send      25 "AT+USOCO=0,\"8.8.8.8\",53\r\n"
0000533172 [system] TRACE: socket_connect()=fail
0000533172 [system] TRACE: Close
socketClose(0)
   533.172 AT send      12 "AT+USOCL=0\r\n"
   541.713 AT read ERR   9 "\r\nERROR\r\n"
   541.713 AT send       9 "AT+CEER\r\n"
   541.723 AT read  +   32 "\r\n+CEER: \"No report available\"\r\n"
   541.733 AT read OK    6 "\r\nOK\r\n"
socketFree(0)
0000541733 [system] WARN: Internet available, Cloud not reachable!
00000000541734 [system] WARN: Resetting WLAN due to SPARK_WLAN_RESET
0000541734 [system] WARN:
[ Modem::disconnect ] = = = = = =
   541.735 AT send      14 "AT+UPSDA=0,4\r\n"
   542.406 AT read OK    6 "\r\nOK\r\n"

[ Modem::detach ] = = = = = = = = = = = = = = =
   542.406 AT send      12 "AT+CGATT=0\r\n"
   542.407 AT read  +   14 "\r\n+UUSOCL: 0\r\n"
Socket -1: handle 0 closed by remote host
   544.717 AT read OK    6 "\r\nOK\r\n"

[ Modem::detach ] = = = = = = = = = = = = = = =
   544.717 AT send      12 "AT+CGATT=0\r\n"
   544.718 AT read  +   13 "\r\n+CGREG: 0\r\n"
   544.728 AT read  +   14 "\r\n+CIEV: 9,1\r\n"
CIEV matched: 9,1
   544.738 AT read OK    6 "\r\nOK\r\n"

[ Modem::powerOff ] = = = = = = = = = = = = = =
   544.738 AT send      12 "AT+CPWROFF\r\n"
   548.969 AT read OK    6 "\r\nOK\r\n"

[ Modem::powerOn ] = = = = = = = = = = = = = =
   549.279 AT send       4 "AT\r\n"
   550.599 AT send       4 "AT\r\n"
   551.919 AT send       4 "AT\r\n"
   553.239 AT send       4 "AT\r\n"
   553.249 AT read UNK   3 "AT\r"
   553.259 AT read OK    6 "\r\nOK\r\n"
   553.469 AT send       7 "AT E0\r\n"
   553.479 AT read UNK   6 "AT E0\r"
^CTerminate batch job (Y/N)? y

I have also now tried another sim that I know works, yet it still won’t connect.

Have you got a charged LiPo connected?

What version CLI are you using?
What system version have you currently got on the Electron?

Particle or 3rd party SIM?

Fully charged LiPo

I have freshly installed cli. Strangely the device doctor didn’t run on my PC. It just displayed Name: Particle Device Doctor and returned me to the command prompt, so I installed it on my PC which allowed me to run the doctor, still no love though.

Not sure what system ver. my electron is, how do I check that?

Particle sim. I tried a 3rd party without realising I needed to flash with custom apn. I tried doing that but the setup keeps telling me the ICCID of the 3rd party sim is invalid so I gave up on that.

Put your device in Listening Mode (blinking blue) by - after powering up - holding SETUP/MODE for 3+ seconds then

particle identify

To get the version of CLI run

particle --version

It should be 1.27.0

If particle doctor doesn’t work try (in DFU Mode)

particle keys server
particle keys doctor <deviceIDYouGotFromIdentify>

My system version is 0.6.4 and CLI is 1.27.0.

Particle Doctor worked on my laptop which I ran last week and it didn’t solve the issue.

Then it might not have worked as expected - have you tried my suggestion?