Skip to content

RuntimeError: Second simultaneous read on fileno #13

@NotSureAbout

Description

@NotSureAbout
app = Flask(__name__)
mgr = socketio.KombuManager('amqp://')
sio = socketio.Server(client_manager=mgr, async_mode='eventlet')

Does not seem to work for me.

RuntimeError: Second simultaneous read on fileno ....

I launch the app with:

if __name__ == '__main__':
    # wrap Flask application with socketio's middleware
    app = socketio.Middleware(sio, app)

    # deploy as an eventlet WSGI server
    eventlet.wsgi.server(eventlet.listen(('', 8000)), app)

I would more than welcome any pointers to where I have messed up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions