-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Description
Description:
Push Notification: Log shows as sent but after few seconds FCM returns a MismatchedSenderId error.
I have already verified the FCM API key and FCM Sender ID.
Steps to reproduce:
-
Configure GCM API key and GCM project id
-
Restart Rocket.Chat server
Expected behavior:
Receive push notification on Android
Actual behavior:
Shows:
�[34mI20190305-20:47:03.263(0) Push: configuring... �[34mI20190305-20:47:03.264(0) Push.Configure { sendTimeout: 60000, apn: undefined, gcm: { apiKey: '<api-key-from-FCM>', projectNumber: '************' }, production: false, sendInterval: 5000, sendBatchSize: 10 } �[34mI20190305-20:47:03.265(0) GCM configured �[34mI20190305-20:47:03.268(0) Push: Send worker started, using interval: 5000 �[34mI20190305-20:47:03.484(0) ➔ System ➔ startup �[34mI20190305-20:47:03.485(0) ➔ +-----------------------------------------------------------+ �[34mI20190305-20:47:03.485(0) ➔ | SERVER RUNNING | �[34mI20190305-20:47:03.486(0) ➔ +-----------------------------------------------------------+ �[34mI20190305-20:47:03.486(0) ➔ | | �[34mI20190305-20:47:03.486(0) ➔ | Rocket.Chat Version: 0.74.3 | �[34mI20190305-20:47:03.487(0) ➔ | NodeJS Version: 8.11.4 - x64 | �[34mI20190305-20:47:03.487(0) ➔ | Platform: linux | �[34mI20190305-20:47:03.487(0) ➔ | Process Port: 3000 | �[34mI20190305-20:47:03.487(0) ➔ | Site URL: https://**************** | �[34mI20190305-20:47:03.488(0) ➔ | ReplicaSet OpLog: Disabled | �[34mI20190305-20:47:03.488(0) ➔ | Commit Hash: 202a465f1c | �[34mI20190305-20:47:03.488(0) ➔ | Commit Branch: HEAD | �[34mI20190305-20:47:03.489(0) ➔ | | �[34mI20190305-20:47:03.489(0) ➔ +-----------------------------------------------------------+
Error
ANDROID: Result of sender: {"multicast_id":8190097161583612000,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"MismatchSenderId"}]}
Server Setup Information:
- Version of Rocket.Chat Server: 0.74.3
- Operating System: Ubuntu 16.04
- Deployment Method: docker
- Number of Running Instances: 1
- DB Replicaset Oplog: Disabled
- NodeJS Version: 8.11.4 - x64
- MongoDB Version: 3.4

