Skip to content

Client connection hangs when using Cherrypy #146

@airqnetworks

Description

@airqnetworks

Hi,
I'm adding support to ws4py in an existing cherrpy application. I'm following the example in the documentation.
I'm experiencing this problem. Sometime, client connection hangs and the server generates this exception:

Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "build/bdist.macosx-10.9-intel/egg/ws4py/manager.py", line 298, in run
    polled = self.poller.poll()
  File "build/bdist.macosx-10.9-intel/egg/ws4py/manager.py", line 96, in poll
    r, w, x = select.select(self._fds, [], [], self.timeout)
error: (9, 'Bad file descriptor')

This happens on MacOS X 10.9, Python 2.7 and CherryPy 3.6

Carmine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions