Prevent error 403 with websocket