[GH-ISSUE #997] Android app: Irrelevant or unknown message. Discarding. #697

Closed
opened 2026-05-07 00:26:40 +02:00 by BreizhHardware · 1 comment

Originally created by @pcrockett on GitHub (Jan 3, 2024).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/997

🐞 Describe the bug

I'm using ntfy.sh to set up the UnifiedPush flavor of Molly on /e/OS (fork of LineageOS).

I've already gotten it working perfectly on a different GrapheneOS device. However when following the exact same setup on the /e/OS device, I get Irrelevant or unknown message. Discarding. messages in the ntfy logs (below).

These "irrelevant or unknown messages" happen when the phone should receive a push message.

The Molly app obviously never receives the notification.

💻 Components impacted

Android app

💡 Screenshots and/or logs

This is a log of the ntfy Android app. The log shows up to 1,000 entries.

Device info:
--
ntfy: 1.16.0 (fdroid)
OS: 4.9.337-perf+
Android: 12 (SDK 32)
Model: FP3
Product: lineage_FP3

--
Settings:                    
{
  "autoDeleteSeconds": 2592000,
  "autoDownloadMaxSize": 1048576,
  "broadcastEnabled": true,
  "connectionProtocol": "ws",
  "darkMode": -1,
  "defaultBaseUrl": "",
  "lastSharedTopics": [],
  "minPriority": 1,
  "mutedUntil": 0,
  "recordLogs": true
}

Logs
--

[logs omitted for brevity]

1704265076343 2024-01-03 07:57:56.343 D NtfyWsConnection ntfy.sh/ANONYMIZED_TOPIC (gid=1): Opening https://ntfy.sh/ANONYMIZED_TOPIC/ws?since=none with listener ID 22 ...
1704265076978 2024-01-03 07:57:56.978 D NtfyWsConnection ntfy.sh/ANONYMIZED_TOPIC (gid=1, lid=22): Opened connection
1704265076978 2024-01-03 07:57:56.978 D NtfyWsConnection ntfy.sh/ANONYMIZED_TOPIC (gid=1, lid=22): Received message: {"id":"ANONYMIZED_ID","time":1704265078,"event":"open","topic":"ANONYMIZED_TOPIC"}
1704265076978 2024-01-03 07:57:56.978 D NtfyWsConnection ntfy.sh/ANONYMIZED_TOPIC (gid=1, lid=22): Irrelevant or unknown message. Discarding.

[logs omitted for brevity]

There are several "Connection failed" errors with Java stack traces along with "Scheduling a restart in 10 seconds (via alarm manager)" afterward. I figure that is pretty standard for a person who is moving around in a city all day long.

🔮 Additional context

The service that is sending the push notifications to ntfy.sh is a self-hosted instance of MollySocket (which is currently working without issue for my GrapheneOS device).

Originally created by @pcrockett on GitHub (Jan 3, 2024). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/997 :lady_beetle: **Describe the bug** I'm using ntfy.sh to set up the [UnifiedPush flavor](https://github.com/mollyim/mollyim-android-unifiedpush) of [Molly](https://molly.im/) on [/e/OS](https://e.foundation/e-os/) (fork of LineageOS). I've already gotten it working perfectly on a different [GrapheneOS](https://grapheneos.org/) device. However when following the exact same setup on the /e/OS device, I get `Irrelevant or unknown message. Discarding.` messages in the ntfy logs (below). These "irrelevant or unknown messages" happen when the phone _should_ receive a push message. The Molly app obviously never receives the notification. :computer: **Components impacted** Android app :bulb: **Screenshots and/or logs** ```plaintext This is a log of the ntfy Android app. The log shows up to 1,000 entries. Device info: -- ntfy: 1.16.0 (fdroid) OS: 4.9.337-perf+ Android: 12 (SDK 32) Model: FP3 Product: lineage_FP3 -- Settings: { "autoDeleteSeconds": 2592000, "autoDownloadMaxSize": 1048576, "broadcastEnabled": true, "connectionProtocol": "ws", "darkMode": -1, "defaultBaseUrl": "", "lastSharedTopics": [], "minPriority": 1, "mutedUntil": 0, "recordLogs": true } Logs -- [logs omitted for brevity] 1704265076343 2024-01-03 07:57:56.343 D NtfyWsConnection ntfy.sh/ANONYMIZED_TOPIC (gid=1): Opening https://ntfy.sh/ANONYMIZED_TOPIC/ws?since=none with listener ID 22 ... 1704265076978 2024-01-03 07:57:56.978 D NtfyWsConnection ntfy.sh/ANONYMIZED_TOPIC (gid=1, lid=22): Opened connection 1704265076978 2024-01-03 07:57:56.978 D NtfyWsConnection ntfy.sh/ANONYMIZED_TOPIC (gid=1, lid=22): Received message: {"id":"ANONYMIZED_ID","time":1704265078,"event":"open","topic":"ANONYMIZED_TOPIC"} 1704265076978 2024-01-03 07:57:56.978 D NtfyWsConnection ntfy.sh/ANONYMIZED_TOPIC (gid=1, lid=22): Irrelevant or unknown message. Discarding. [logs omitted for brevity] ``` There are several "Connection failed" errors with Java stack traces along with "Scheduling a restart in 10 seconds (via alarm manager)" afterward. I figure that is pretty standard for a person who is moving around in a city all day long. :crystal_ball: **Additional context** The service that is sending the push notifications to ntfy.sh is a self-hosted instance of [MollySocket](https://github.com/mollyim/mollysocket) (which is currently working without issue for my GrapheneOS device).
BreizhHardware 2026-05-07 00:26:40 +02:00
  • closed this issue
  • added the
    🪲 bug
    label
Author
Owner

@binwiederhier commented on GitHub (Feb 2, 2026):

This is a normal message that happens for the "open" event. I could have just ignored it and not logged. But it's normal.

<!-- gh-comment-id:3832712017 --> @binwiederhier commented on GitHub (Feb 2, 2026): This is a normal message that happens for the "open" event. I could have just ignored it and not logged. But it's normal.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#697
No description provided.