I’m having trouble accessing my photon with my local server. The photon is connected to the local server, and breathing cyan, but I can’t flash the photon or get it to list. I’m suspecting it has something to do with tokens on the local server but I’m not sure. Here is a list of my outputs. The error is at the bottom.
pi@raspberrypi:~/spark-server $ particle list
light1 [2b0034001547343339383037] (Photon) is online
Functions:
int digitalread(String args)
int digitalwrite(String args)
int analogread(String args)
int analogwrite(String args)
pi@raspberrypi:~/spark-server $ particle config identify
Current profile: particle
Using API: https://api.particle.io
Access token: ca3113ea61874a12c2d8821008d388bf4c2de2f4
pi@raspberrypi:~/spark-server $ particle config local
pi@raspberrypi:~/spark-server $ particle config identify
Current profile: local
Using API: http://192.168.0.100:8080
Access token: 702ac3505c800ba36713b821c6042f2219123859
pi@raspberrypi:~/spark-server $ particle keys server default_key.pub.pem 192.168.0.100:8080
running dfu-util -l
Found DFU device 2b04:d006
checking file default_key.pub-192_168_0_100:8080-rsa.der
spawning dfu-util -d 2b04:d006 -a 1 -i 0 -s 2082 -D default_key.pub-192_168_0_100:8080-rsa.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:d006
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 = 0x00000822, size = 512
Download [=========================] 100% 512 bytes
Download done.
File downloaded successfully
Okay! New keys in place, your device will not restart.
pi@raspberrypi:~/spark-server $ particle list
▌ Retrieving devices...listDevices got error: invalid_grant
Error invalid_grant