When I try to open a websocket connection to my FastAPI server, Uvicorn returns following error after I have updated it from version 0.13.4 (with this version I had no problems) to 0.15.0:
Error in opening handshake
...
websockets.legacy.handshake.check_request(headers)
AttributeError: module 'websockets' has no attribute 'legacy'
Does anyone know what this error exactly means and how to solve it?