Photon internet connection

I started a new program on my Photon It was working perfect for two or three days. After that the internet connection became instable. Trying to reconnect, I always get the cyan led interrupted by red dots. Trying several CLI- and other programs to correct or reset, I got the following messages ; " invalid DFU suffix signature" // With the doctor, I got “error writing firmware”. // With the key server cloud, I got “please specify a server in DER format”. With the Particle key doctor I got “openssl is not recognized”.
The program I wrote seems to be correct because it is working the perfect way with my older Core chip.
Can somebody help me ?
(my program is sending figures to IFTTT to fill in a Google spreadsheet)

It sounds like bad keys.

Put the Photon into Listening mode (blinking blue) by holding down SETUP until it blinks blue. Then issue the CLI command:

particle identify

Save the Device ID; you’ll need it later.

Then put the Photon in DFU mode by holding down both the RESET and SETUP buttons, releasing RESET and continuing to hold down SETUP until it blinks yellow and issue the commands below, in order.

particle keys server
particle keys doctor YOUR_DEVICE_ID

If you get this error under Windows:

'openssl' is not recognized as an internal or external command, operable program or batch file.

and you have used the CLI installer as described above, it may work if you do:

cd c:\OpenSSL-Win32\bin
particle keys doctor YOUR_DEVICE_ID

There are additional tips for a missing openssl error on this page, including tips for Mac OS X and Linux.

1 Like

THX for this fast response. But even after the command \OpenSSL-Win32\bin, I received the message : OpenSSL isn’t recognized. As I’m working on a PC with a Core i7, wich is 64 bit, I also was trying the command : \OpenSSL-Win64\bin, unfortunately with the same result : “unrecognized command”.

thx !!!

1 Like

Care to share how you updated? I’ve always gotten ‘openssl not recognized’.

for running “Particle keys doctor”, the general Particle documentation isn’t mentionning that in CLI, you can’t start “particle doctor” from the C:\prompt itself. It’s necessary to first move to a new directory with the command cd c:\OpenSSL-Win32\bin.
Starting rom that directory everithing is running OK.
The help from rickkas7 was helfpfull !

1 Like

Because that depends on your setup and OS.
With a correctly and fully set up CLI (including suplemental tools like OpenSSL and PATH) it works just fine.
For instance I can run from C:\ or any other directory with the required permissions.