Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] redis save error when KickTokens #2998

Closed
1978mountain opened this issue Dec 24, 2024 · 2 comments · Fixed by #3002
Closed

[BUG] redis save error when KickTokens #2998

1978mountain opened this issue Dec 24, 2024 · 2 comments · Fixed by #3002
Assignees
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@1978mountain
Copy link

OpenIM Server Version

3.8.2

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

func (c *tokenCache) BatchSetTokenMapByUidPid(ctx context.Context, tokens map[string]map[string]int) error
提示
"error": "Error: redis: can't marshal map[string]int (implement encoding.BinaryMarshaler)
需要转换为map[string]string

Screenshots Link

No response

@1978mountain 1978mountain added the bug Categorizes issue or PR as related to a bug. label Dec 24, 2024
@OpenIM-Robot OpenIM-Robot changed the title [BUG] KickTokens 时,redis保存错误 [BUG] redis save error when KickTokens Dec 24, 2024
@OpenIM-Robot
Copy link

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

@icey-yu
Copy link
Member

icey-yu commented Dec 25, 2024

We have fixed it. Thank you for pointing out this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants