[Pianod] telnet volume
Perette Barella
perette at barella.org
Tue Jul 26 13:37:45 PDT 2016
>> On 2016年07月25日, at 22:44, darren <1 at crotchett.com <mailto:1 at crotchett.com>> wrote:
>> I actually tried 4446 because I noticed that you had it in your previous email. But, it redirects me to http://10.0.0.45:4446/pianod/ <http://10.0.0.45:4446/pianod/> and then I get a 404.
>
> Redirect then 404 means pianod’s HTTP server is up, but it can’t find the client files to serve.
>
> Did you do a ‘sudo make install’ after building? That installs the client files into /usr/local/share/pianod/html on the pi, and the daemon to /usr/local/bin. You can change that with the -c option, if you need to, such as testing it from your home directory before installation:
>
> $ ./src/pianod -c ~pi/pianod2-225/html
> On 2016年07月26日, at 12:05, darren <1 at crotchett.com> wrote:
>
> Yes. I did sudo make install.
>
> I looked. The html directory is present in /usr/local/share/pianod/html (as are all of the files). I'm using Firefox. I might restart the daemon and see if that helps. And, there's always the nuclear option, reboot. BTW, I did stop lighttpd, just in case that was interfering with the built in web server, but that didn't help.
Then it sounds like the daemon configured/compiled with the wrong default location for the client files. In which case, it should work if you run it with
-c /usr/local/share/pianod/html
to tell it where they actually are. Huh… I will add compile/configuration settings like that to -v or -? option, to make it easier to diagnose things like this.
As far as it displaying a client, but then failing to connect when using port 80 (unspecified port), it’s attempting to make the websocket connection to the lighttpd that you set up because that’s where the client can see it was served from. However, lighttpd has no idea what to do with the client’s websocket request, which is how the client communicates with the daemon. It may display the client, but it’s a red herring; the client served by a different web server will never be able to connect to the daemon.
For testing, you can use the DeviousFish-hosted web client, which prompts for the host to connect to:
http://deviousfish.com/pianod/Client2/index.html
For server, you’d use 10.0.0.45:4446
The hazards of the hosted client are that the version it supports may be a different pianod version, which could cause snags. For users, it also means dealing with the server input, which is not friendly. But it's good for testing.
Incidentally, the mailing list archives are back up. My hosting provides alleges there was nothing to do, although I observed it being broken too.
http://lists.deviousfish.com/pipermail/pianod-deviousfish.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deviousfish.com/pipermail/pianod-deviousfish.com/attachments/20160726/3d932c81/attachment-0001.htm>
More information about the Pianod
mailing list