[Pianod] Trying to get wsgw working
Peter Li
chinasaurli at gmail.com
Wed May 8 18:50:39 PDT 2013
Hmmm, assuming you didn't misspell it really ;) maybe check your firewall?
Oh, and you're connecting from the same machine or somewhere else on your
intranet? Sorry maybe misguided you and you do want 192 etc as host.
On May 8, 2013 6:47 PM, "Phil Bridges" <gravityhammer at gmail.com> wrote:
> Ah - makes sense. I need to get up to speed on websockets ;)
>
> I've gone to http://deviousfish.com/pianod/Client/index.html
>
> and put in localost:8000, I merely get:
>
> Connection failed
>
> with nothing in the console log.
>
> The websocket bit is just novelty for me at the moment, but it'd be cool
> to get it working.
>
>
> On Wed, May 8, 2013 at 9:35 PM, Peter Li <chinasaurli at gmail.com> wrote:
>
>> (we should make this more clear I'm the docs; definitely a bit counter
>> intuitive if you're reasonably expecting wsgw to just provide a Web server.)
>> On May 8, 2013 6:33 PM, "Peter Li" <peterli at salk.edu> wrote:
>>
>>> (because that way the Web client can use html5 Javascript api to open a
>>> Websockets connection to your local wsgw.)
>>> On May 8, 2013 6:31 PM, "Peter Li" <peterli at salk.edu> wrote:
>>>
>>>> You don't want to connect to wsgw directly with your browser. Go to the
>>>> Web client page on devious fish and put in Localhost from there.
>>>> On May 8, 2013 6:25 PM, "Phil Bridges" <gravityhammer at gmail.com> wrote:
>>>>
>>>>> I've installed pianod and wsgw. I have pianod running (as a user),
>>>>> and I can control it with piano commands.
>>>>>
>>>>> In turn, I start wsgw with: wsgw -h -l pianod,,4445
>>>>>
>>>>> After that, if I go to
>>>>> http://192.168.1.20:8000/pianod/Client/index.html in my browser
>>>>> (Chrome Version 26.0.1410.64 m), I get a 403 error:
>>>>>
>>>>> Access to the webpage was denied
>>>>> You are not authorized to access the webpage at
>>>>> http://192.168.1.20:8000/pianod/Client/index.html. You may need to
>>>>> sign in.
>>>>> HTTP Error 403 (Forbidden): The server refused to fulfill the request.
>>>>>
>>>>> In my console, I get:
>>>>> setup_ip6_socket: bind: Address already in use
>>>>> 2013-05-08 21:23:48: 4145: Header: GET /pianod/Client/index.html
>>>>> HTTP/1.1
>>>>> 2013-05-08 21:23:48: 4145: Header: Host: 192.168.1.20:8000
>>>>> 2013-05-08 21:23:48: 4145: Header: Connection: keep-alive
>>>>> 2013-05-08 21:23:48: 4145: Header: Cache-Control: max-age=0
>>>>> 2013-05-08 21:23:48: 4145: Header: Accept:
>>>>> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
>>>>> 2013-05-08 21:23:48: 4145: Header: User-Agent: Mozilla/5.0 (Windows
>>>>> NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64
>>>>> Safari/537.31
>>>>> 2013-05-08 21:23:48: 4145: Header: Accept-Encoding: gzip,deflate,sdch
>>>>> 2013-05-08 21:23:48: 4145: Header: Accept-Language: en-US,en;q=0.8
>>>>> 2013-05-08 21:23:48: 4145: Header: Accept-Charset:
>>>>> ISO-8859-1,utf-8;q=0.7,*;q=0.3
>>>>> 2013-05-08 21:23:48: 4145: Response: 403 Forbidden
>>>>> 2013-05-08 21:23:48: 4146: Header: GET /favicon.ico HTTP/1.1
>>>>> 2013-05-08 21:23:48: 4146: Header: Host: 192.168.1.20:8000
>>>>> 2013-05-08 21:23:48: 4146: Header: Connection: keep-alive
>>>>> 2013-05-08 21:23:48: 4146: Header: Accept: */*
>>>>> 2013-05-08 21:23:48: 4146: Header: User-Agent: Mozilla/5.0 (Windows
>>>>> NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64
>>>>> Safari/537.31
>>>>> 2013-05-08 21:23:48: 4146: Header: Accept-Encoding: gzip,deflate,sdch
>>>>> 2013-05-08 21:23:48: 4146: Header: Accept-Language: en-US,en;q=0.8
>>>>> 2013-05-08 21:23:48: 4146: Header: Accept-Charset:
>>>>> ISO-8859-1,utf-8;q=0.7,*;q=0.3
>>>>> 2013-05-08 21:23:48: 4146: Response: 403 Forbidden
>>>>>
>>>>> What am I missing? Is it a way to login? I never get the login page
>>>>> I get on deviousfish.com.
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Pianod mailing list
>>>>> Pianod at lists.deviousfish.com
>>>>> http://lists.deviousfish.com/listinfo.cgi/pianod-deviousfish.com
>>>>>
>>>>>
>> _______________________________________________
>> Pianod mailing list
>> Pianod at lists.deviousfish.com
>> http://lists.deviousfish.com/listinfo.cgi/pianod-deviousfish.com
>>
>>
>
> _______________________________________________
> Pianod mailing list
> Pianod at lists.deviousfish.com
> http://lists.deviousfish.com/listinfo.cgi/pianod-deviousfish.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deviousfish.com/pipermail/pianod-deviousfish.com/attachments/20130508/0687e16f/attachment-0003.htm>
More information about the Pianod
mailing list