Repository navigation
Sending to android via GRPC not work after update #789
Copy link
Copy link
Open
Description
Activity
#785 Maybe this Pull Request caused the issue.
I will take a look.
Reacted by Ivan@vanohaker any error message?
@vanohaker any error message?
No. No stacktrace, no any other error, except this in log.
Postman request:
{ "platform": 2, "tokens": ["*********_GdIgJYxXOcBd:APA91bFfWcR_RGaHavl1fdgeLJcvFPsPLEbH8jdgoJERpiKKO6yEttX-RNf2TLyo99CqvWZUK43jyCbmqfrbZOBS*************"], "data": { "fields": { "title":{ "string_value": "push title" } } } }LOG Version 1.18.2 all ok!
[gorush-dev-79ffff5667-kvgwb gorush] 7:44AM INF Request body_size=42 ip=10.10.0.209 latency=0.091254 method=GET path=/ status=200 user_agent=kube-probe/1.27 [gorush-dev-79ffff5667-kvgwb gorush] {"level":"debug","msg":"Start push notification for Android","time":"2024-06-24T07:44:47Z"} [gorush-dev-79ffff5667-kvgwb gorush] {"level":"debug","msg":"Android Success count: 1, Failure count: 0","time":"2024-06-24T07:44:48Z"} [gorush-dev-79ffff5667-kvgwb gorush] {"level":"info","msg":"| succeeded-push | android [***********_RGaHavl1fdgeLJcvFPsPLEbH8jdgoJERpiKKO6yEttX-RNf2TLyo99CqvWZUK43jyCbmqfrbZOBS_************] (message redacted)","time":"2024-06-24T07:44:48Z"} [gorush-dev-79ffff5667-kvgwb gorush] 7:44AM INF Request body_size=42 ip=10.10.0.209 latency=0.072783 method=GET path=/ status=200 user_agent=kube-probe/1.27 [gorush-dev-79ffff5667-kvgwb gorush] 7:44AM INF Request body_size=42 ip=10.10.0.209 latency=0.094101 method=GET path=/ status=200 user_agent=kube-probe/1.27LOG Version: 1.18.3
[gorush-dev-7b8998768b-pwfft gorush] 7:19AM INF Request body_size=42 ip=10.10.0.14 latency=0.04733 method=GET path=/ status=200 user_agent=kube-probe/1.27 [gorush-dev-7b8998768b-pwfft gorush] 7:19AM INF Request body_size=42 ip=10.10.0.14 latency=0.054803 method=GET path=/ status=200 user_agent=kube-probe/1.27 [gorush-dev-7b8998768b-pwfft gorush] {"level":"debug","msg":"Start push notification for Android","time":"2024-06-24T07:19:21Z"} [gorush-dev-7b8998768b-pwfft gorush] {"level":"debug","msg":"Android Success count: 0, Failure count: 1","time":"2024-06-24T07:19:21Z"} [gorush-dev-7b8998768b-pwfft gorush] 7:19AM INF Request body_size=42 ip=10.10.0.14 latency=0.039803 method=GET path=/ status=200 user_agent=kube-probe/1.27 [gorush-dev-7b8998768b-pwfft gorush] 7:19AM INF Request body_size=42 ip=10.10.0.14 latency=0.043115 method=GET path=/ status=200 user_agent=kube-probe/1.27LOG Version 1.18.4
[gorush-dev-6fbd9f75b9-hbgwq gorush] 7:33AM INF Request body_size=42 ip=10.10.0.212 latency=0.083062 method=GET path=/ status=200 user_agent=kube-probe/1.27 [gorush-dev-6fbd9f75b9-hbgwq gorush] 7:34AM INF Request body_size=42 ip=10.10.0.212 latency=0.131581 method=GET path=/ status=200 user_agent=kube-probe/1.27 [gorush-dev-6fbd9f75b9-hbgwq gorush] 7:34AM INF Request body_size=42 ip=10.10.0.212 latency=0.086911 method=GET path=/ status=200 user_agent=kube-probe/1.27 [gorush-dev-6fbd9f75b9-hbgwq gorush] {"level":"debug","msg":"Start push notification for Android","time":"2024-06-24T07:34:15Z"} [gorush-dev-6fbd9f75b9-hbgwq gorush] {"level":"debug","msg":"Android Success count: 0, Failure count: 1","time":"2024-06-24T07:34:15Z"} [gorush-dev-6fbd9f75b9-hbgwq gorush] 7:34AM INF Request body_size=42 ip=10.10.0.212 latency=0.117207 method=GET path=/ status=200 user_agent=kube-probe/1.27 [gorush-dev-6fbd9f75b9-hbgwq gorush] 7:34AM INF Request body_size=42 ip=10.10.0.212 latency=0.084416 method=GET path=/ status=200 user_agent=kube-probe/1.27@vanohaker I can't use the following request in Postman on
v1.18.2version.{ "platform": 2, "tokens": ["*********_GdIgJYxXOcBd:APA91bFfWcR_RGaHavl1fdgeLJcvFPsPLEbH8jdgoJERpiKKO6yEttX-RNf2TLyo99CqvWZUK43jyCbmqfrbZOBS*************"], "data": { "fields": { "title":{ "string_value": "push title" } } } }
Metadata
Metadata
Assignees
Labels
No labels
App version: 1.18.3, 1.18.4
Deploy environment: kubernetes
Config:
Postman request:
{ "platform": 2, "tokens": ["********_GdIgJYxXOcBd:APA91bFfWcR_RGaHavl1fdgeLJcvFPsPLEbH8jdgoJERpiKKO6yEttX-RNf2TLyo99CqvWZUK43jyCbmqfrbZOBS*********"], "data": { "fields": { "title": { "string_value": "123" } } } }Postman responde:
{ "success": true, "counts": 1 }Log:
{"level":"debug","msg":"Start push notification for Android","time":"2024-06-21T10:39:40Z"} {"level":"debug","msg":"Android Success count: 0, Failure count: 1","time":"2024-06-21T10:39:40Z"}If i rollback to 1.18.2 it work fine.