Getting ECONNRESET after updating everything underneath sony-sdcp-com
RyuKojiro opened this issue · comments
# cat sdcp.js
const {SdcpClient} = require('sony-sdcp-com')
const client = SdcpClient({address: '10.0.0.128', port: 53484})
client.getPower().then(state => {
console.log(state)
})
# node sdcp.js
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:217:20) {
errno: -54,
code: 'ECONNRESET',
syscall: 'read'
}
Node.js v18.14.0