I am adding the next-i18next
library to my app. It uses WebSockets. After wrapping the app with appWithTranslation(MyApp)
it suddenly refuses all connections. This doesn't make any sense to me. I cannot find a reason for this in any of the documentation. I was hoping someone had a similar issue and knew what to do. It does this on localhost and the production versions of the API. Everything works after removing export default appWithTranslation(MyApp)
to export default MyApp
This is the error I get from Firefox
Firefox can't establish a connection to the server at ws://localhost:3001/socket.io/?EIO=4&transport=websocket&sid=JwYfjfa7P45EaVh9AAAr.