Skip to content

Can't connect a Core #13

@schwiet

Description

@schwiet

Running the example code, my core will not stay connected. Core is using the latest firmware from the master branch. All keys are setup. Output below:

server started { host: 'localhost', port: 5683 }
true
Connection from: ::ffff:192.168.1.23, connId: 1
CryptoStream transform error TypeError: Cannot read property 'length' of null
CryptoStream transform error TypeError: Cannot read property 'length' of null
on ready { coreID: 'id#',
  ip: '::ffff:192.168.1.23',
  product_id: 65535,
  firmware_version: 65535,
  cache_key: '_0' }
Core online!
CryptoStream transform error Error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt

and it just continues this loop:

onSocketData called, but no data sent.
1: Core disconnected: socket close false { coreID: '55ff6c066678505537381667',
  cache_key: '_0',
  duration: 25.035 }
Session ended for _0
Connection from: ::ffff:192.168.1.23, connId: 2
CryptoStream transform error TypeError: Cannot read property 'length' of null
CryptoStream transform error TypeError: Cannot read property 'length' of null
on ready { coreID: 'id#',
  ip: '::ffff:192.168.1.23',
  product_id: 65535,
  firmware_version: 65535,
  cache_key: '_1' }
Core online!
CryptoStream transform error Error: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt

Any help would be very appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions