xat / castnow

commandline chromecast player
MIT License
3.81k stars 243 forks source link

Load failed on fedora linux #251

Closed filiatra closed 4 years ago

filiatra commented 4 years ago

Hi, I fire castnow on fedora, chromecast responds and TV shows a cast icon. Then I get the following error:

castnow:localfile started webserver on address 192.168.1.51 using port 4100 +4ms castnow player status: loading plugins +1ms castnow player status: scanning +0ms castnow player status: connecting +14ms castnow player status: launching +88ms castnow player status: loading +1s castnow player error: Error: Load failed at /usr/local/lib/node_modules/castnow/node_modules/chromecast-player/api.js:104:19 at fn.onmessage (/usr/local/lib/node_modules/castnow/node_modules/castv2-client/lib/controllers/request-response.js:27:7) at fn.emit (events.js:228:7) at Channel.onmessage (/usr/local/lib/node_modules/castnow/node_modules/castv2-client/lib/controllers/controller.js:16:10) at Channel.emit (events.js:223:5) at Client.onmessage (/usr/local/lib/node_modules/castnow/node_modules/castv2/lib/channel.js:23:10) at Client.emit (events.js:228:7) at PacketStreamWrapper.onpacket (/usr/local/lib/node_modules/castnow/node_modules/castv2/lib/client.js:81:10) at PacketStreamWrapper.emit (events.js:223:5) at TLSSocket. (/usr/local/lib/node_modules/castnow/node_modules/castv2/lib/packet-stream-wrapper.js:28:16) +402ms Error: Load failed

I have opened port 4100 etc in iptables, and I also uset the --myip switch... Any help is greatly appreciated.

filiatra commented 4 years ago

OK, this was the firewall. The rules mentioned here https://github.com/xat/castnow/wiki did not do the trick, for some reason. I had to disable the firewall completely to see that it works.