Web socket api why sometime error 1006

in my space, i run web socket several days ago
however throw error 1006

my dependencie
“dependencies”: {
@gathertown/gather-game-client”: “^43.0.1”,
“isomorphic-ws”: “^5.0.0”,

Sometimes there are transient disconnections, which will cause it to log the close code (for example, 1006), but it should reconnect automatically and keep working just fine

1 Like

I use the playerJoin event, and it triggers this event every time a new connection occurs. Are there any guidelines for handling this issue currently?

playerJoins is just sent on new connections and sometimes may be redundant, sorry – you’ll have to work under the assumption that it sends one or more times per player