[BUG] FCM offline push error
OpenIM Server Version
v3.8.3-patch.3
Operating System and CPU Architecture
Linux (AMD)
Deployment Method
Docker Deployment
Bug Description and Steps to Reproduce
openim-server | ] [push/push_handler.go:199] offlinePushMsg failed
{
"platform": "OSX",
"connID": "0a68df842fbf828eaae1478213162f6d",
"operationID": "36ee51ae-95d5-4bda-b12a-d1d0e5e1083e",
"opUserID": "1106471838",
"needOfflinePushUserID length": 1,
"msg": "sendID:\"1106471838\" recvID:\"6418063327\" clientMsgID:\"5d3875920c7618c08e996f21c0f44563\" serverMsgID:\"bed993b6d11d54358e5edd09e1b85832\" senderPlatformID:4 senderNickname:\"22223333\" sessionType:1 msgFrom:100 contentType:101 content:\"{\\\"content\\\":\\\"f\\\"}\" seq:10 sendTime:1745376371697 createTime:1745376371553 status:2 offlinePushInfo:{title:\"New message\" iOSPushSound:\"+1\" iOSBadgeCount:true} attachedInfo:\"null\"",
"error": "code 20001, msg appid is invalid"
}
=====================
error": "code 20001, msg appid is invalid"
I wrote a test script fcm_test.sh to send a test message
I entered docker, fcm_test.sh sent, and the phone could receive the fcm push message
I have been searching for a long time but have not found the problem. Is this error returned by firebase? Because I did not search for "20001" in the server code
Hope to get your help, Thanks。
Screenshots 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.
You can't use volumes in Docker; instead, you have to use environment variables
Refer to: https://github.com/openimsdk/openim-docker/issues/136
I have the same error
docker 部署推送就是有问题