{"action":"created","issue":{"url":"https://api.github.com/repos/Seitanas/kvm-vdi/issues/35","repository_url":"https://api.github.com/repos/Seitanas/kvm-vdi","labels_url":"https://api.github.com/repos/Seitanas/kvm-vdi/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/Seitanas/kvm-vdi/issues/35/comments","events_url":"https://api.github.com/repos/Seitanas/kvm-vdi/issues/35/events","html_url":"https://github.com/Seitanas/kvm-vdi/issues/35","id":170228373,"number":35,"title":"spice html5 client not working","user":{"login":"henickr","id":12343647,"avatar_url":"https://avatars.githubusercontent.com/u/12343647?v=3","gravatar_id":"","url":"https://api.github.com/users/henickr","html_url":"https://github.com/henickr","followers_url":"https://api.github.com/users/henickr/followers","following_url":"https://api.github.com/users/henickr/following{/other_user}","gists_url":"https://api.github.com/users/henickr/gists{/gist_id}","starred_url":"https://api.github.com/users/henickr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henickr/subscriptions","organizations_url":"https://api.github.com/users/henickr/orgs","repos_url":"https://api.github.com/users/henickr/repos","events_url":"https://api.github.com/users/henickr/events{/privacy}","received_events_url":"https://api.github.com/users/henickr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":45,"created_at":"2016-08-09T17:47:34Z","updated_at":"2016-08-12T13:47:03Z","closed_at":null,"body":"Hi, trying to use the new html5 web sockets client but after cloning websockify and starting it \r\n./run --token-plugin TokenFile --token-source /tmp/kvm-vdi 5959... \r\n\r\nroot@titan:~/henick/websockify# lsof -i:5959\r\nCOMMAND   PID USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME\r\npython  30666 root    3u  IPv4 2750944      0t0  TCP *:5959 (LISTEN)\r\n\r\nthen... visiting the url /kvm-vdi/client_pools.php\r\n\r\nI am kicked to a login page to which I login with valid credentials to be allowed through only to receive the message LOGIN_FAILURE on the following page.\r\n\r\nI haven't configured or installed anything so I assume that is the issue but the directions simply say run using that command and don't provide much else.  Should I be building websockify from source or running it in some other way than I have said here?\r\n\r\ni am posting this because i did not expect a problem with authentication ...\r\n\r\nThanks.\r\n\r\nedit: i've since done an easy_install numpy and 'python setup.py build' then install on websockify in an attempt to omit usage of the provided copy in lieu of one built by this system.  end result same."},"comment":{"url":"https://api.github.com/repos/Seitanas/kvm-vdi/issues/comments/239450461","html_url":"https://github.com/Seitanas/kvm-vdi/issues/35#issuecomment-239450461","issue_url":"https://api.github.com/repos/Seitanas/kvm-vdi/issues/35","id":239450461,"user":{"login":"henickr","id":12343647,"avatar_url":"https://avatars.githubusercontent.com/u/12343647?v=3","gravatar_id":"","url":"https://api.github.com/users/henickr","html_url":"https://github.com/henickr","followers_url":"https://api.github.com/users/henickr/followers","following_url":"https://api.github.com/users/henickr/following{/other_user}","gists_url":"https://api.github.com/users/henickr/gists{/gist_id}","starred_url":"https://api.github.com/users/henickr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henickr/subscriptions","organizations_url":"https://api.github.com/users/henickr/orgs","repos_url":"https://api.github.com/users/henickr/repos","events_url":"https://api.github.com/users/henickr/events{/privacy}","received_events_url":"https://api.github.com/users/henickr/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T13:47:03Z","updated_at":"2016-08-12T13:47:03Z","body":"so, i tried a few more things related to increasing memory and ttls/execution limits of the JVM because while using other actual hypervisors like openvz, memory is often the cause of sudden unexplainable stops... until finally I got a stack trace from websockify... its the same error though that suggests the configuration is wrong.  its likely something centos7 specific with websockify so i will work with them and get it resolved then post the result back here when i am finished.\r\n\r\n> 129.173.x.x: new handler Process\r\n> handler exception: need more than 1 value to unpack\r\n> exception\r\n> Traceback (most recent call last):\r\n>   File \"/root/henick/websockify/websockify/websocket.py\", line 930, in top_new_client\r\n>     client = self.do_handshake(startsock, address)\r\n>   File \"/root/henick/websockify/websockify/websocket.py\", line 860, in do_handshake\r\n>     self.RequestHandlerClass(retsock, address, self)\r\n>   File \"/root/henick/websockify/websockify/websocket.py\", line 114, in __init__\r\n>     SimpleHTTPRequestHandler.__init__(self, req, addr, server)\r\n>   File \"/usr/lib64/python2.7/SocketServer.py\", line 649, in __init__\r\n>     self.handle()\r\n>   File \"/root/henick/websockify/websockify/websocket.py\", line 581, in handle\r\n>     SimpleHTTPRequestHandler.handle(self)\r\n>   File \"/usr/lib64/python2.7/BaseHTTPServer.py\", line 340, in handle\r\n>     self.handle_one_request()\r\n>   File \"/usr/lib64/python2.7/BaseHTTPServer.py\", line 328, in handle_one_request\r\n>     method()\r\n>   File \"/root/henick/websockify/websockify/websocket.py\", line 543, in do_GET\r\n>     if not self.handle_websocket():\r\n>   File \"/root/henick/websockify/websockify/websocket.py\", line 485, in handle_websocket\r\n>     self.validate_connection()\r\n>   File \"/root/henick/websockify/websockify/websocketproxy.py\", line 52, in validate_connection\r\n>     host, port = self.get_target(self.server.token_plugin, self.path)\r\n>   File \"/root/henick/websockify/websockify/websocketproxy.py\", line 128, in get_target\r\n>     result_pair = target_plugin.lookup(token)\r\n>   File \"/root/henick/websockify/websockify/token_plugins.py\", line 51, in lookup\r\n>     self._load_targets()\r\n>   File \"/root/henick/websockify/websockify/token_plugins.py\", line 30, in _load_targets\r\n>     tok, target = line.split(': ')\r\n> ValueError: need more than 1 value to unpack\r\n> Ignoring interrupted syscall "}}
{"actor":{"display_login":"henickr"}}