-
Notifications
You must be signed in to change notification settings - Fork 255
Invalid Key Length #327
Comments
My "workaround" was to install older Node version (0.10.x) and use that instead of current LTS (6.9.x). That works in my case, but obviously is a bit cumbersome and won't work for everyone. |
I tried several versions of Node without success. My workaround was to use a docker image that works well. https://github.com/justintime/docker-airsonos |
@Bhlowe I'm new to using Docker. Do I need to install Node first in the container then run Airsonos? |
No just run the one docker command and it should start and work. Make sure the docker container is running and didn't quit -- use "docker ps" |
I have same issue macos 10.11.6, node 7.2.0, npm 3.10.9 |
Duplicate of #338 |
The fixes to helper.js in #316 worked for me today on this specific issue. |
Hi, I have installed AirSonos successfully and it sets up the device tunnels as it should. The speakers then appear on my iPhone but as soon as I select one and hit play it crashes and I get the following error message. I updated with the fix related to issue 320 that @Kolky provided but to no avail.
Any ideas?
error: Invalid key length
at Error (native)
at new Decipheriv (crypto.js:239:16)
at Object.Decipheriv (crypto.js:236:12)
at Object.decryptAudioData (/usr/local/lib/node_modules/airsonos/node_modules/nodetunes/lib/helper.js:141:25)
at RtpServer. (/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:550:8)
The text was updated successfully, but these errors were encountered: