missing ws for sendMessage

How to prevent this warning?
level=WARN msg="websocket closed" code=1001 reason="" wasClean=false
level=INFO msg="removing websocket for conn" totalCount=1
level=WARN msg="missing ws for sendMessage" actorId=de32da8857766706 connId=2ead3955-b7d2-4d3a-9090-62b1184014ca totalCount=2
level=WARN msg="websocket closed" code=1001 reason="" wasClean=false
level=INFO msg="removing websocket for conn" totalCount=1
level=WARN msg="missing ws for sendMessage" actorId=de32da8857766706 connId=2ead3955-b7d2-4d3a-9090-62b1184014ca totalCount=2
3 Replies
jog1t
jog1t4mo ago
hey, it looks like the websocket you’re closing/is closing, was already closed. Do you have any reproduction repo so we can take a look? For the time being you can disable all warnings by raising log level to errors, but I don’t think this is the solution that you’re looking for
Deleted User
Deleted UserOP4mo ago
this only happens in development when working with HMR. not happening in prod. thats ok ig?
jog1t
jog1t4mo ago
yep!

Did you find this page helpful?