I have put my local server key into the particle photon and also put the particle photon public key into server core_keys folder, I can see the new public key in the folder.
However, when conected to my local server, I received the error shown below which have seen it never before.
Handshake failed: plaintext was the wrong size: 214 { ip: ‘192.168.43.11’, cache_key: ‘_15’, coreID: null }
I have updated the latest spark-protocol, but still suffered from the problem.