我的环境:fastapi_socketio、gunicorn、centos
遇到这个报错:RuntimeError: Expected ASGI message ‘http.response.start’, but got ‘websocket.accept’
解决:
centos系统中默认的python没有websockets库,pip install websockets即可
我的环境:fastapi_socketio、gunicorn、centos
遇到这个报错:RuntimeError: Expected ASGI message ‘http.response.start’, but got ‘websocket.accept’
解决:
centos系统中默认的python没有websockets库,pip install websockets即可