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] FCM iOS push failed #2572

Closed
AntaoCai opened this issue Aug 29, 2024 · 4 comments
Closed

[BUG] FCM iOS push failed #2572

AntaoCai opened this issue Aug 29, 2024 · 4 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@AntaoCai
Copy link

OpenIM Server Version

3.8.0

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Docker Deployment

Bug Description and Steps to Reproduce

1、openim-server openim-push.yml配置如下:
image
2、filePath路径中的service_account_key.json 跟 openim-push.yml 是在同一个目录下面,如图:
image
3、iOS端口已经更新了FcmToken 到 openim中,并在redis中可以查看到,如图:
image
image
4、在进行离线推送的时候 openim 日志出现错误,如图:
image
5、xcode 中的GoogleService-Info 如图:
image
6、openim中的service_account_key.json 如图:
image

Screenshots Link

No response

@AntaoCai AntaoCai added the bug Categorizes issue or PR as related to a bug. label Aug 29, 2024
@OpenIM-Robot OpenIM-Robot changed the title [BUG] FCM iOS端推送失败 [BUG] FCM iOS push failed Aug 29, 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.

@AntaoCai
Copy link
Author

我这边使用JAVA后端代码测试推送是没有问题。也就说Firebase那块的配置是没有问题的。如图:
WechatIMG1154

@OpenIM-Robot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


There is no problem when I use JAVA backend code to test push. In other words, there is no problem with the configuration of Firebase. As shown in the picture:
WechatIMG1154

@AntaoCai
Copy link
Author

解决方案:
image

This issue was closed.
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