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] Unable to push offline, error 20001 #3058

Open
jersist1012 opened this issue Jan 11, 2025 · 2 comments
Open

[BUG] Unable to push offline, error 20001 #3058

jersist1012 opened this issue Jan 11, 2025 · 2 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@jersist1012
Copy link

jersist1012 commented Jan 11, 2025

OpenIM Server Version

3.8.3

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

前台和后台推送是正常的,但是离线推送一直是失败的,server+chat+flutter均为最新demo。
对应错误日志如下
2025-01-11 13:40:43.712 �[33mWARN�[0m �[33m[PID:113038] �[0m �[33mopenim-push �[0m [main] [push/push_handler.go:198] offlinePushMsg failed {"platform": "Android", "connID": "009774054ea8b39aa61b307cbdf4f681", "operationID": "1736574044941", "opUserID": "3570227441", "needOfflinePushUserID": ["6535831653"], "msg": "sendID:"3570227441" recvID:"6535831653" clientMsgID:"0d83a59734fdea24babdcbaced07b6b7" serverMsgID:"959784383e1a54381f7da85a6ca801da" senderPlatformID:2 senderNickname:"幻幻8" sessionType:1 msgFrom:100 contentType:101 content:"{\"content\":\"22222222222222222222222222222222222222222222222222222222222\"}" seq:28 sendTime:1736574043652 createTime:1736574044939 status:2 offlinePushInfo:{title:"F-DEMO" desc:"你收到了一条新消息" iOSBadgeCount:true} attachedInfo:"null"", "error": "code 20001, msg target user is invalid"}
2025-01-11 13:40:43.712 �[34mINFO�[0m �[34m[PID:113038] �[0m �[34mopenim-push �[0m [main] [push/push_handler.go:155] Get msg from msg_transfer And push msg {"platform": "Android", "connID": "009774054ea8b39aa61b307cbdf4f681", "operationID": "1736574044941", "opUserID": "3570227441", "msg": "sendID:"3570227441" recvID:"6535831653" clientMsgID:"0d83a59734fdea24babdcbaced07b6b7" serverMsgID:"959784383e1a54381f7da85a6ca801da" senderPlatformID:2 senderNickname:"幻幻8" sessionType:1 msgFrom:100 contentType:101 content:"{\"content\":\"22222222222222222222222222222222222222222222222222222222222\"}" seq:28 sendTime:1736574043652 createTime:1736574044939 status:2 offlinePushInfo:{title:"F-DEMO" desc:"你收到了一条新消息" iOSBadgeCount:true} attachedInfo:"null"", "time cost": 0.018208528}

Screenshots Link

No response

@jersist1012 jersist1012 added the bug Categorizes issue or PR as related to a bug. label Jan 11, 2025
@OpenIM-Robot OpenIM-Robot changed the title [BUG] 无法离线推送,报错20001 [BUG] Unable to push offline, error 20001 Jan 11, 2025
@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.

@jersist1012
Copy link
Author

jersist1012 commented Jan 11, 2025

在server里配置了openim-push.yml
c790909b4623f91a4f6712bc7b34f2f
也在flutter里配置了android\app\build.gradle
da0ca5a17dd3bd2f4ba721f9da4277b
重装了好几次系统,依旧是无法收到离线推送,请大佬帮忙看看

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

No branches or pull requests

2 participants