lucasvdh / codes.lucasvdh.philips-jointspace

A Jointspace connector for Philips TV's supporting models up to 2018
GNU General Public License v3.0
7 stars 10 forks source link

Socket hangup during pairing pin confirm #14

Closed lucasvdh closed 1 year ago

lucasvdh commented 4 years ago

Nothing happens when i press submit in Homey app, after entering the code printed in TV.

Partial system response:

{
    "notifyChange": "http",
    "menulanguage": "Swedish",
    "name": "Philips TV",
    "country": "Sweden",
    "serialnumber_encrypted": "pafcHBwjVR+qiM0z3GNCcmOye10VXVBqkkhPR0D00dM=\n",
    "softwareversion_encrypted": "VWMQ5poYG6mc+fzfjZr5"
}

Stacktrace

---- stdout ----
2019-12-14 15:49:25 [log] [PhilipsTV] Philips TV app is running...
2019-12-14 15:49:25 [log] [PhilipsTV] Initialized flow
2019-12-14 15:49:26 [log] [ManagerDrivers] [philips-jointspace] MyDriver has been inited
Philips TV - starting pair
{ ipAddress: '192.168.1.50',
  apiVersion: '6',
  deviceName: 'Philips TV',
  port: '1926' }
Philips TV - starting pair
{ ipAddress: '192.168.1.19',
  apiVersion: '6',
  deviceName: 'Philips TV',
  port: '1926' }
Philips TV - starting pair
{ ipAddress: '192.168.1.19',
  apiVersion: '5',
  deviceName: 'Philips TV',
  port: '1926' }
404
Philips TV - starting pair
{ ipAddress: '192.168.1.19',
  apiVersion: '4',
  deviceName: 'Philips TV',
  port: '1926' }
404
Philips TV - starting pair
{ ipAddress: '192.168.1.19',
  apiVersion: '6',
  deviceName: 'Philips TV',
  port: '1926' }
Philips TV - starting pair
{ ipAddress: '192.168.1.19',
  apiVersion: '6',
  deviceName: 'Philips TV',
  port: '1926' }
Unexpected pairing error {"code":"ECONNRESET"}
{ Error: socket hang up
    at createHangUpError (_http_client.js:342:15)
    at TLSSocket.socketOnEnd (_http_client.js:437:23)
    at emitNone (events.js:111:20)
    at TLSSocket.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:139:11)
    at process._tickCallback (internal/process/next_tick.js:181:9) code: 'ECONNRESET' }
{ Error: socket hang up
    at createHangUpError (_http_client.js:342:15)
    at TLSSocket.socketOnEnd (_http_client.js:437:23)
    at emitNone (events.js:111:20)
    at TLSSocket.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1064:12)
    at _combinedTickCallback (internal/process/next_tick.js:139:11)
    at process._tickCallback (internal/process/next_tick.js:181:9) code: 'ECONNRESET' }
Philips TV - starting pair
{ ipAddress: '192.168.1.19',
  apiVersion: '6',
  deviceName: 'Philips TV',
  port: '1926' }
Unexpected pairing error {"code":"ECONNRESET"}