I set up two ngrok tunnels one for the www interface one for a Websocket. Fadecandy is listening on port 7890 and so I run ngrok http 7890
I copied ngrok url to my javascript so the line reads now
var socket = new WebSocket('ws://d952ded366a7.ngrok.io');
When I run it Fadecandy quits immediately with:
WARN: Unknown client spec version 0 double free or corruption (out) AbortedIs it possible to connect to the Fadecandy server remotely? If so, what am I doing wrong?
--
You received this message because you are subscribed to the Google Groups "Fadecandy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fadecandy+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fadecandy/88ffb407-2172-4932-8097-d09b267bc7b4n%40googlegroups.com.
Its the listen part you want to change from 127.0.0.1 to null, like this. This is in the config.json file.{
"listen": [null, 7890],
"verbose": true,
"color": {
"gamma": 2.5,
"whitepoint": [1.0, 1.0, 1.0]
},
"devices": [
{
"type": "fadecandy",
"map": [
[ 0, 0, 0, 512, "rgb" ]
]
}
]
}/Björn
To view this discussion on the web visit https://groups.google.com/d/msgid/fadecandy/CAFkkvMuxMh2mM1%2BUfPHNb6JX0CS6c6tgyTZmYAkRviA3o8bhRQ%40mail.gmail.com.
Did you try to use the exampels from here https://github.com/scanlime/fadecandy/blob/master/doc/fc_protocol_websocket.md#connecting without any tunneling?
To view this discussion on the web visit https://groups.google.com/d/msgid/fadecandy/CAFkkvMum9JpRmR9fJiSqRj5Xc7S56VL2zyOt1evqa3JqO59mEA%40mail.gmail.com.