openimsdk / open-im-server

IM Chat
https://openim.io
Apache License 2.0
13.38k stars 2.36k forks source link

Bug: force_logout api #487

Closed hanzhixiao closed 12 months ago

hanzhixiao commented 12 months ago

What happened?

{ "errCode": 500, "errMsg": "ServerInternalError", "errDlt": "==> github.com/OpenIMSDK/Open-IM-Server/internal/rpc/auth.(*authServer).forceKickOff()@116: : : grpc: the client connection is closing: ServerInternalError" } err is shown when force_logout api is called.

What did you expect to happen?

user is kicked off normally.

How can we reproduce it (as minimally and precisely as possible)?

Call force_logout api twice.

Anything else we need to know?

No response

version

v3dev

Cloud provider

windows

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

wangchuxiao-dev commented 12 months ago

this bug has fixed