websocket._exceptions.WebSocketBadStatusException: Handshake status 404 NOT FOUND websocket._exceptions.WebSocketBadStatusException: Handshake status 404 NOT FOUND flask flask

websocket._exceptions.WebSocketBadStatusException: Handshake status 404 NOT FOUND


1 year old now, but basically websockets and socket.io are two different methods of creating a socket. They are not compatible. You have a socket.io server but a websocket client. Change either one to match the other and it should work.