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.
Does not seem to work for me.
I launch the app with:
I would more than welcome any pointers to where I have messed up.