{"action":"created","issue":{"url":"https://api.github.com/repos/Lawouach/WebSocket-for-Python/issues/146","repository_url":"https://api.github.com/repos/Lawouach/WebSocket-for-Python","labels_url":"https://api.github.com/repos/Lawouach/WebSocket-for-Python/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/Lawouach/WebSocket-for-Python/issues/146/comments","events_url":"https://api.github.com/repos/Lawouach/WebSocket-for-Python/issues/146/events","html_url":"https://github.com/Lawouach/WebSocket-for-Python/issues/146","id":43340635,"number":146,"title":"Client connection hangs when using Cherrypy","user":{"login":"airqnetworks","id":3397915,"avatar_url":"https://avatars2.githubusercontent.com/u/3397915?v=3","gravatar_id":"","url":"https://api.github.com/users/airqnetworks","html_url":"https://github.com/airqnetworks","followers_url":"https://api.github.com/users/airqnetworks/followers","following_url":"https://api.github.com/users/airqnetworks/following{/other_user}","gists_url":"https://api.github.com/users/airqnetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/airqnetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airqnetworks/subscriptions","organizations_url":"https://api.github.com/users/airqnetworks/orgs","repos_url":"https://api.github.com/users/airqnetworks/repos","events_url":"https://api.github.com/users/airqnetworks/events{/privacy}","received_events_url":"https://api.github.com/users/airqnetworks/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2014-09-21T17:40:18Z","updated_at":"2017-03-24T16:08:14Z","closed_at":"2017-03-24T16:08:14Z","body":"Hi,\nI'm adding support to ws4py in an existing cherrpy application. I'm following the example in the documentation. \nI'm experiencing this problem. Sometime, client connection hangs and the server generates this exception:\n\n``` python\nTraceback (most recent call last):\n  File \"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py\", line 810, in __bootstrap_inner\n    self.run()\n  File \"build/bdist.macosx-10.9-intel/egg/ws4py/manager.py\", line 298, in run\n    polled = self.poller.poll()\n  File \"build/bdist.macosx-10.9-intel/egg/ws4py/manager.py\", line 96, in poll\n    r, w, x = select.select(self._fds, [], [], self.timeout)\nerror: (9, 'Bad file descriptor')\n```\n\nThis happens on MacOS X 10.9, Python 2.7 and CherryPy 3.6\n\nCarmine\n"},"comment":{"url":"https://api.github.com/repos/Lawouach/WebSocket-for-Python/issues/comments/289066882","html_url":"https://github.com/Lawouach/WebSocket-for-Python/issues/146#issuecomment-289066882","issue_url":"https://api.github.com/repos/Lawouach/WebSocket-for-Python/issues/146","id":289066882,"user":{"login":"tito","id":37904,"avatar_url":"https://avatars2.githubusercontent.com/u/37904?v=3","gravatar_id":"","url":"https://api.github.com/users/tito","html_url":"https://github.com/tito","followers_url":"https://api.github.com/users/tito/followers","following_url":"https://api.github.com/users/tito/following{/other_user}","gists_url":"https://api.github.com/users/tito/gists{/gist_id}","starred_url":"https://api.github.com/users/tito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tito/subscriptions","organizations_url":"https://api.github.com/users/tito/orgs","repos_url":"https://api.github.com/users/tito/repos","events_url":"https://api.github.com/users/tito/events{/privacy}","received_events_url":"https://api.github.com/users/tito/received_events","type":"User","site_admin":false},"created_at":"2017-03-24T16:08:14Z","updated_at":"2017-03-24T16:08:14Z","body":"Now, selectors are within a try/catch. Please reopen if you hit the exact same issue with new version (> 0.3.5 or master)"}}
{"actor":{"display_login":"tito"}}