My account is developers@pyloncity.com,
my device 22[…redacted…]36 cannot connect to cloud and is blinking cyan and orange.
I cannot force to change key to ffffffffffff…fffe.
I keep activating and deactivating the sim card with end of 0810.
Why not?
Blinking orange indicates an issue with keys. Give 'particle doctor' a shot in the CLI. Resetting your SIM won't do anything to alleviate that.
particle keys doctor 22002f001951343334363036
Found DFU device 2b04:d00a
Found DFU device 2b04:d00a
New Key Created!
Found DFU device 2b04:d00a
Found DFU device 2b04:d00a
Saved!
spawning dfu-util -d 2b04:d00a -a 1 -i 0 -s 3106:leave -D 22002f001951343334363036_ec_new.der
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 2b04:d00a
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #1 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "DCT Flash "
Downloading to address = 0x00000c22, size = 121
Download [=========================] 100% 121 bytes
Download done.
File downloaded successfully
Saved!
attempting to add a new public key for device 22002f001951343334363036
Error sending public key to server: Permission Denied
Make sure your device is in DFU mode (blinking yellow), and that your computer is online.
Error - undefined
I did particle keys server before your reply, I am very sure about that. But to follow what you told me to debug the thing, I tried again. Basically, I am pretty sure that admin need to change something in server, and thanks for help.
Just to convince you, I paste everything here, anyway, my user name is not my name.
rocks-MacBook-Pro:Downloads rock$ particle keys server
Found DFU device 2b04:d00a
spawning dfu-util -d 2b04:d00a -a 1 -i 0 -s 3298 -D /usr/local/lib/node_modules/particle-cli/keys/ec.pub.der
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 2b04:d00a
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #1 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "DCT Flash "
Downloading to address = 0x00000ce2, size = 320
Download [=========================] 100% 320 bytes
Download done.
File downloaded successfully
Okay! New keys in place, your device will not restart.
rocks-MacBook-Pro:Downloads rock$ particle keys doctor 22002f001951343334363036
Found DFU device 2b04:d00a
Found DFU device 2b04:d00a
New Key Created!
Found DFU device 2b04:d00a
Found DFU device 2b04:d00a
Saved!
spawning dfu-util -d 2b04:d00a -a 1 -i 0 -s 3106:leave -D 22002f001951343334363036_ec_new.der
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 2b04:d00a
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #1 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "DCT Flash "
Downloading to address = 0x00000c22, size = 121
Download [=========================] 100% 121 bytes
Download done.
File downloaded successfully
Saved!
attempting to add a new public key for device 22002f001951343334363036
Error sending public key to server: Permission Denied
Make sure your device is in DFU mode (blinking yellow), and that your computer is online.
Error - undefined
attempting to add a new public key for device 22002f001951343334363036
submitting public key succeeded!
Okay! New keys in place, your device should restart.
This seems to be successful, but that does not make particle electron connected. Please, I need admin to help me to change the key in the server, please!
What exactly is the device doing now?
Try 'particle update' and 'particle flash --usb tinker' as well, making sure your CLI is on the latest version.
Not quite sure what admin you're looking for, since there hasn't been a need for that as long as I've been around. The command says that it has submitted the keys correctly, so that part should be okay.
Considering you're (de-)activated the SIM multiple times, make sure that's setup correctly first.
I am sure that I have set up everything correctly, I got 20 devices setup, and I have resolved most of the common issues, I need to ask you here because I really cannot solve, and I saw someone encounter the same issue, and then somebody changed the key for him, then issue was resolved, that is why I am asking your help to change the key.
Hey~
I did that several times, but electron won’t connect.
Could this be a hardware problem?
From the device, the LED is blinking cyan for a long time, and then orange for 2 times,
then back to cyan for long, and orange,
suddenly green,
cyan for long time, orange…
Hmm, so, I still can’t see the attempts from the device to hit the Particle cloud. So although you’ve set the server key, and have things connected, it’s not getting online. This makes me think maybe the device is in the wrong state (try particle device doctor ), or the sim card isn’t properly activated (can you try a different sim card maybe?).
I’m looking into any potential issues with your sim card to see if I can help there. If you have another sim card to test with that’d be helpful as well.
? Select Continue when ready Continue
Serial err: Error: Error: No such file or directory, cannot open /dev/tty.usbmodem1411
Serial problems, please reconnect the device.
The Doctor didn't complete sucesfully. undefined
! This device is not claimed to your Particle account.
! Resetting keys for a device you do not own may permanently prevent it from connecting to the Particle cloud.
? Skip resetting keys? No
Put the device in DFU mode
Tap RESET/RST while holding MODE/SETUP until the device blinks yellow.
? Select Continue when ready Continue
Found DFU device 2b04:d00a
spawning dfu-util -d 2b04:d00a -a 1 -i 0 -s 3298 -D /usr/local/lib/node_modules/particle-cli/keys/ec.pub.der
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 2b04:d00a
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #1 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "DCT Flash "
Downloading to address = 0x00000ce2, size = 320
Download [=========================] 100% 320 bytes
Download done.
File downloaded successfully
Okay! New keys in place, your device will not restart.
! Skipping device key because it does not report its device ID over USB