You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whimsical.apache.org by Sam Ruby <ru...@intertwingly.net> on 2020/10/24 19:33:56 UTC

agenda websocket proxy not working on whimsy-vm6

I made some improvements to the websocket client test tool, and ran
some tests on whimsy-vm6. Based on the results below, it appears that:

1) The websocket service process is operating correctly on whimsy-vm6

2) The Apache httpd ssl proxy is hanging on whimsy-vm6

3) Both the service process and Apache httpd proxy are working on whimsy-vm4.

Full results below.

I believe that this is related to the problems people are seeing with
the board agenda tool, particularly on Firefox.  It is not so much
that the functions people are trying to do require the websocket to
operate correctly, but perhaps the websocket is hanging in such a way
as to cause JavaScript or other network requests to hang.

- Sam Ruby

---

rubys@whimsy-vm6:~$ ruby /srv/whimsy/www/board/agenda/daemon/wsc.rb
--host localhost --path '/' --secure --noverify
coonnecting to wss://localhost:34234/...
{"id":"rubys","secret":"8ba123f1ec4fd66649bff7bb209d9a0a","mtime":"2020-10-24
19:20:07 +0000","type":"login"}
{"type":"arrive","user":"rubys","present":null,"timestamp":1603567257918.307}
{"type":"pending","private":"rubys","value":{"agenda":"board_agenda_2020_11_18.txt","initials":"rubys","approved":[],"unapproved":[],"flagged":[],"unflagged":[],"comments":{},"seen":{},"userid":"rubys","role":"director","username":"Sam
Ruby","firstname":"sam"}}
{"type":"pending","private":"rubys","value":{"agenda":"board_agenda_2020_11_18.txt","initials":"rubys","approved":["3A"],"unapproved":[],"flagged":[],"unflagged":[],"comments":{},"seen":{},"userid":"rubys","role":"director","username":"Sam
Ruby","firstname":"sam"}}
{"type":"pending","private":"rubys","value":{"agenda":"board_agenda_2020_11_18.txt","initials":"rubys","approved":[],"unapproved":[],"flagged":[],"unflagged":[],"comments":{},"seen":{},"userid":"rubys","role":"director","username":"Sam
Ruby","firstname":"sam"}}
^Cclosing: 1002
Traceback (most recent call last):
        2: from /srv/whimsy/www/board/agenda/daemon/wsc.rb:71:in `<main>'
        1: from
/var/lib/gems/2.7.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in
`run'
/var/lib/gems/2.7.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in
`run_machine': Interrupt

rubys@whimsy-vm6:~$ ruby /srv/whimsy/www/board/agenda/daemon/wsc.rb
--host whimsy.apache.org
coonnecting to wss://whimsy.apache.org:443/board/agenda/websocket/...
^Cclosing: 1002
Traceback (most recent call last):
        2: from /srv/whimsy/www/board/agenda/daemon/wsc.rb:71:in `<main>'
        1: from
/var/lib/gems/2.7.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in
`run'
/var/lib/gems/2.7.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in
`run_machine': Interrupt

rubys@whimsy-vm6:~$ ruby /srv/whimsy/www/board/agenda/daemon/wsc.rb
--host whimsy-vm4.apache.org
coonnecting to wss://whimsy-vm4.apache.org:443/board/agenda/websocket/...
password for rubys:
{"id":"rubys","secret":"1dfc3608ea11dbcc33047176ed7d8e4b","mtime":"2020-10-24
19:25:43 +0000","type":"login"}
{"type":"arrive","user":"rubys","present":null,"timestamp":1603567543075.5056}

---