In our current project, we need to handle real-time messages, so WebSocket is required. In the current version (2.8.10), we have used Socket.IO as our choice for message notifications.
However, we cannot properly adapt it to Nuxt3. Although the current project does not throw errors, after updating all package versions to the latest(such as Nuxt 3.11.x), there are still some temporarily unresolved errors, such as: socket__io-client WebSocket connection to failed: Invalid frame header.
We apologize for this inconvenience. If you have experience with WebSocket or Socket.IO, please feel free to contact us.
In our current project, we need to handle real-time messages, so
WebSocket
is required. In the current version (2.8.10
), we have usedSocket.IO
as our choice for message notifications. However, we cannot properly adapt it to Nuxt3. Although the current project does not throw errors, after updating all package versions to the latest(such as Nuxt3.11.x
), there are still some temporarily unresolved errors, such as:socket__io-client WebSocket connection to failed: Invalid frame header
. We apologize for this inconvenience. If you have experience withWebSocket
orSocket.IO
, please feel free to contact us.