Skip to content
This repository was archived by the owner on Jun 4, 2023. It is now read-only.
This repository was archived by the owner on Jun 4, 2023. It is now read-only.

Tunnel setup fails after selecting it. #373

@melcarthus

Description

@melcarthus

When I run Airsonos in the terminal I can choose the source in my sound preferences. But as soon as I select it it fails.

I got his error.

Search complete. Set up 1 device tunnel.
crypto.js:232
  this._handle.initiv(cipher, toBuf(key), toBuf(iv));
               ^

Error: Invalid key length
    at Error (native)
    at new Decipheriv (crypto.js:232:16)
    at Object.Decipheriv (crypto.js:229:12)
    at Object.decryptAudioData (/usr/local/lib/node_modules/airsonos/node_modules/nodetunes/lib/helper.js:141:25)
    at RtpServer.<anonymous> (/usr/local/lib/node_modules/airsonos/node_modules/nodetunes/lib/rtp.js:32:23)
    at emitTwo (events.js:106:13)
    at Socket.emit (events.js:191:7)
    at UDP.onMessage (dgram.js:540:8)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions