Comment history

Versions of a comment on Self-hosted native FCM (Android) push silently dropped - invalid `group` field in android.notification -> FCM HTTP 400, newest first.

Current version | Edited by Rex
Changes
There is no "Push: sending to user subscriptions" message, eventhough the user has a valid subscription (I checked in the fluxer_kv postgres database)Removed: So it seems the server doesn't even try? Is this the problem mentioned in [#1369](https://feedback.fluxer.com/p/723) ?Added: So it seems the server doesn't even try? Is this the problem mentioned in [#723](https://feedback.fluxer.com/p/723) ?
Show
Hi, I am facing a similar issue but I am using the unified push variant. Thanks to your "bonus" I was able to get some logs
fluxer@e401e57a394d:~$ export FLUXER_ERLANG_NODE_NAME=fluxer_gateway@127.0.0.1
fluxer@e401e57a394d:~$ export FLUXER_ERLANG_COOKIE=fluxer_gateway_dev_cookie
fluxer@e401e57a394d:~$ export FLUXER_ERLANG_DIST_PORT=8081
fluxer@e401e57a394d:~$ bin/fluxer_gateway.real rpc logger add_handler  '[gwlog, logger_std_h, #{level => debug, config => #{file => "/tmp/gw.log"}}]'
ok
fluxer@e401e57a394d:~$ bin/fluxer_gateway.real rpc logger set_primary_config '[level, debug]'
ok
fluxer@e401e57a394d:~$ tail -f /tmp/gw.log 
but when sending a system DM this is the only output I get
2026-07-25T10:15:19.247191+00:00 debug: got data: <<"MSG rpc.gateway.presence.dispatch 1 _INBOX.redacted 534\r\n{\"user_id\":\"redacted\",\"event\":\"MESSAGE_CREATE\",\"data\":{\"id\":\"redacted\",\"channel_id\":\"redacted\",\"author\":{\"id\":\"0\",\"username\":\"Fluxer\",\"discriminator\":\"0000\",\"global_name\":null,\"avatar\":null,\"avatar_color\":null,\"bot\":true,\"system\":true,\"flags\":1},\"type\":0,\"flags\":0,\"content\":\"this is a test\",\"timestamp\":\"2026-07-25T10:15:19.196Z\",\"edited_timestamp\":null,\"pinned\":false,\"mention_everyone\":false,\"tts\":false,\"mentions\":[],\"mention_roles\":[],\"embeds\":[],\"attachments\":[],\"stickers\":[],\"channel_type\":1}}\r\n">>

2026-07-25T10:15:19.247418+00:00 debug: got msg: {msg,{<<"rpc.gateway.presence.dispatch">>,<<"1">>,<<"_INBOX.redacted">>,<<"{\"user_id\":\"redacted\",\"event\":\"MESSAGE_CREATE\",\"data\":{\"id\":\"redacted\",\"channel_id\":\"redacted\",\"author\":{\"id\":\"0\",\"username\":\"Fluxer\",\"discriminator\":\"0000\",\"global_name\":null,\"avatar\":null,\"avatar_color\":null,\"bot\":true,\"system\":true,\"flags\":1},\"type\":0,\"flags\":0,\"content\":\"this is a test\",\"timestamp\":\"2026-07-25T10:15:19.196Z\",\"edited_timestamp\":null,\"pinned\":false,\"mention_everyone\":false,\"tts\":false,\"mentions\":[],\"mention_roles\":[],\"embeds\":[],\"attachments\":[],\"stickers\":[],\"channel_type\":1}}">>}}
There is no "Push: sending to user subscriptions" message, eventhough the user has a valid subscription (I checked in the fluxer_kv postgres database) So it seems the server doesn't even try? Is this the problem mentioned in #723 ?
Original by Rex
Show
Hi, I am facing a similar issue but I am using the unified push variant. Thanks to your "bonus" I was able to get some logs
fluxer@e401e57a394d:~$ export FLUXER_ERLANG_NODE_NAME=fluxer_gateway@127.0.0.1
fluxer@e401e57a394d:~$ export FLUXER_ERLANG_COOKIE=fluxer_gateway_dev_cookie
fluxer@e401e57a394d:~$ export FLUXER_ERLANG_DIST_PORT=8081
fluxer@e401e57a394d:~$ bin/fluxer_gateway.real rpc logger add_handler  '[gwlog, logger_std_h, #{level => debug, config => #{file => "/tmp/gw.log"}}]'
ok
fluxer@e401e57a394d:~$ bin/fluxer_gateway.real rpc logger set_primary_config '[level, debug]'
ok
fluxer@e401e57a394d:~$ tail -f /tmp/gw.log 
but when sending a system DM this is the only output I get
2026-07-25T10:15:19.247191+00:00 debug: got data: <<"MSG rpc.gateway.presence.dispatch 1 _INBOX.redacted 534\r\n{\"user_id\":\"redacted\",\"event\":\"MESSAGE_CREATE\",\"data\":{\"id\":\"redacted\",\"channel_id\":\"redacted\",\"author\":{\"id\":\"0\",\"username\":\"Fluxer\",\"discriminator\":\"0000\",\"global_name\":null,\"avatar\":null,\"avatar_color\":null,\"bot\":true,\"system\":true,\"flags\":1},\"type\":0,\"flags\":0,\"content\":\"this is a test\",\"timestamp\":\"2026-07-25T10:15:19.196Z\",\"edited_timestamp\":null,\"pinned\":false,\"mention_everyone\":false,\"tts\":false,\"mentions\":[],\"mention_roles\":[],\"embeds\":[],\"attachments\":[],\"stickers\":[],\"channel_type\":1}}\r\n">>

2026-07-25T10:15:19.247418+00:00 debug: got msg: {msg,{<<"rpc.gateway.presence.dispatch">>,<<"1">>,<<"_INBOX.redacted">>,<<"{\"user_id\":\"redacted\",\"event\":\"MESSAGE_CREATE\",\"data\":{\"id\":\"redacted\",\"channel_id\":\"redacted\",\"author\":{\"id\":\"0\",\"username\":\"Fluxer\",\"discriminator\":\"0000\",\"global_name\":null,\"avatar\":null,\"avatar_color\":null,\"bot\":true,\"system\":true,\"flags\":1},\"type\":0,\"flags\":0,\"content\":\"this is a test\",\"timestamp\":\"2026-07-25T10:15:19.196Z\",\"edited_timestamp\":null,\"pinned\":false,\"mention_everyone\":false,\"tts\":false,\"mentions\":[],\"mention_roles\":[],\"embeds\":[],\"attachments\":[],\"stickers\":[],\"channel_type\":1}}">>}}
There is no "Push: sending to user subscriptions" message, eventhough the user has a valid subscription (I checked in the fluxer_kv postgres database) So it seems the server doesn't even try? Is this the problem mentioned in #1369 ?