particle-iot / spark-server

UNMAINTAINED - An API compatible open source server for interacting with devices speaking the spark-protocol
https://www.particle.io/
GNU Affero General Public License v3.0
441 stars 136 forks source link

Invalid CoAP version #66

Closed zachcr-ws closed 8 years ago

zachcr-ws commented 8 years ago
CryptoStream transform error TypeError: Cannot read property 'length' of null
CryptoStream transform error TypeError: Cannot read property 'length' of null
on ready { coreID: '40003b001347343339383037',
  ip: '::ffff:175.25.25.172',
  product_id: 6,
  firmware_version: 65535,
  cache_key: '_10' }
Core online!
CryptoStream transform error TypeError: Cannot read property 'length' of null
CryptoStream transform error TypeError: Cannot read property 'length' of null
Coap Error: Error: Invalid CoAP version. Expected 1, got: 3
routeMessage got a NULL coap message  { coreID: '40003b001347343339383037' }
CryptoStream transform error TypeError: Cannot read property 'length' of null
Coap Error: Error: Invalid CoAP version. Expected 1, got: 0
routeMessage got a NULL coap message  { coreID: '40003b001347343339383037' }
CryptoStream transform error Error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
Coap Error: Error: Invalid CoAP version. Expected 1, got: 3
routeMessage got a NULL coap message  { coreID: '40003b001347343339383037' }

I got this error message "Invalid CoAP version", do you know what's this mean?

dmiddlecamp commented 8 years ago

Hi @ZachBergh,

Can you comment on what solution you found, in case other people have the same issue?

Thanks! David

zachcr-ws commented 8 years ago

Hi @dmiddlecamp My solution is install nodejs version: v0.10.41