[GH-ISSUE #3928] [Issue]: Notification permission prompt does not appear in Android browsers #2125

Closed
opened 2026-10-21 05:45:36 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Jul 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3928

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Enabling browser notifications from an Android device immediately reports that permission was not granted. No Android permission prompt appears, and the issue occurs in multiple browsers.

Expected behavior

The browser should display a notification permission prompt and allow notifications to be enabled when permission is granted.

Actual behavior

Marinara Engine immediately displays a toast stating that notification permission was not granted, without showing an Android permission prompt. Browser notification settings were verified as enabled.

Steps to reproduce

  1. Run Marinara Engine v2.3.3 using Docker on a Windows PC.
  2. Open the Marinara Engine web interface from an Android device.
  3. Attempt to enable browser notifications.
  4. Observe that no permission prompt appears and an error toast is shown.
  5. Repeat using Samsung Internet, Opera, Firefox, or Brave.

Environment

  • Marinara Engine version: Release v2.3.3
  • Install type: docker
  • OS + version: Docker host: Windows PC; client: Android device. OS versions not provided.
  • Browser or app shell: Samsung Internet, Opera, Firefox, and Brave on Android; browser versions not provided.

Logs, screenshots, or video

Screenshot attached showing browser notification toggles enabled: https://cdn.discordapp.com/attachments/1529219969899036772/1529219970205093988/Screenshot_20260721_135256_Samsung_Browser.jpg?ex=6a612494&is=6a5fd314&hm=e5c947c73c1481b5b31bd1f6d752d988c6725714018ff4d582f212628309cce3&. No console or server logs were provided.

Additional context

The site URL and protocol were not provided. Discord troubleshooting suggested verifying that the instance is accessed through valid HTTPS because notification permission requests generally require a secure context; HTTP LAN addresses and invalid or self-signed certificates may prevent the prompt. It is not confirmed whether v2.3.3 officially supports Android browser notifications. Desktop browser behavior and results after clearing site permissions were not provided.

Discord thread: [Bug] Can't enable notifications on mobile browser
Discord thread link: https://discord.com/channels/1417099416812392641/1529219969899036772
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (4 messages)
[2026-07-21T20:14:12.357Z] cake: Version: Release: v2.3.3
Installation method: docker on windows pc

When on the browser on an android device it says the browser notification permissions can't be granted. It doesn't prompt me to accept them, just immediately shows the toast.  I made sure the notifications weren't blocked on the browser and installed multiple browsers and got the same error. 

Screenshot attached. 

Browsers used:
Samsung internet
opera
firefox brave browser

[attached image 1: https://cdn.discordapp.com/attachments/1529219969899036772/1529219970205093988/Screenshot_20260721_135256_Samsung_Browser.jpg?ex=6a612494&is=6a5fd314&hm=e5c947c73c1481b5b31bd1f6d752d988c6725714018ff4d582f212628309cce3&]
[Discord message: https://discord.com/channels/1417099416812392641/1529219969899036772/1529219969899036772]

[2026-07-21T20:19:51.668Z] Marinara: @Professor Mari GitHub
[Discord message: https://discord.com/channels/1417099416812392641/1529219969899036772/1529221393072525333]

[2026-07-21T20:20:44.348Z] Professor Mari [bot]: The screenshot shows the **Browser** notification toggles enabled, but ME immediately reports that permission was not granted—without displaying an Android permission prompt.

Because this happens in several Android browsers, the likely cause is the **site origin**, not each browser’s notification setting. Browser notifications generally require a secure context:

- `https://your-domain/...` should work.
- `http://192.168.x.x:...` usually will **not** work; `localhost` is the main exception.
- A self-signed or otherwise invalid HTTPS certificate can also prevent permission requests.

Try opening your Docker-hosted ME instance through valid HTTPS, then reset that site’s permissions and reload it. Also test the same URL from a desktop browser; that can help distinguish an Android limitation from the server setup. The **Mobile app** options in the screenshot are separate and being disabled is expected unless the mobile app is configured.

I searched the current checkout, but the retrieved repo context did not contain the notification implementation or documentation, so I can’t confirm whether v2.3.3 officially supports Android browser notifications. If you are already using valid HTTPS, please open a thread in <https://discord.com/channels/1417099416812392641/1472566848104042496> with:

- Android version and device
- The exact URL scheme/format, with any private hostname redacted
- Whether desktop browser notifications work
- Browser console/server logs, if available
- Whether the issue reproduces after clearing the site’s permissions

I can make mistakes—I’m still an LLM, so don’t trust my judgment too blindly.
[Discord message: https://discord.com/channels/1417099416812392641/1529219969899036772/1529221614028325028]

[2026-07-21T20:21:23.558Z] Marinara: fuck
[Discord message: https://discord.com/channels/1417099416812392641/1529219969899036772/1529221778487115931]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 21, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3928 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Enabling browser notifications from an Android device immediately reports that permission was not granted. No Android permission prompt appears, and the issue occurs in multiple browsers. ## Expected behavior The browser should display a notification permission prompt and allow notifications to be enabled when permission is granted. ## Actual behavior Marinara Engine immediately displays a toast stating that notification permission was not granted, without showing an Android permission prompt. Browser notification settings were verified as enabled. ## Steps to reproduce 1. Run Marinara Engine v2.3.3 using Docker on a Windows PC. 2. Open the Marinara Engine web interface from an Android device. 3. Attempt to enable browser notifications. 4. Observe that no permission prompt appears and an error toast is shown. 5. Repeat using Samsung Internet, Opera, Firefox, or Brave. ## Environment - Marinara Engine version: Release v2.3.3 - Install type: docker - OS + version: Docker host: Windows PC; client: Android device. OS versions not provided. - Browser or app shell: Samsung Internet, Opera, Firefox, and Brave on Android; browser versions not provided. ## Logs, screenshots, or video Screenshot attached showing browser notification toggles enabled: https://cdn.discordapp.com/attachments/1529219969899036772/1529219970205093988/Screenshot_20260721_135256_Samsung_Browser.jpg?ex=6a612494&is=6a5fd314&hm=e5c947c73c1481b5b31bd1f6d752d988c6725714018ff4d582f212628309cce3&. No console or server logs were provided. ## Additional context The site URL and protocol were not provided. Discord troubleshooting suggested verifying that the instance is accessed through valid HTTPS because notification permission requests generally require a secure context; HTTP LAN addresses and invalid or self-signed certificates may prevent the prompt. It is not confirmed whether v2.3.3 officially supports Android browser notifications. Desktop browser behavior and results after clearing site permissions were not provided. Discord thread: [Bug] Can't enable notifications on mobile browser Discord thread link: https://discord.com/channels/1417099416812392641/1529219969899036772 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (4 messages)</summary> ```text [2026-07-21T20:14:12.357Z] cake: Version: Release: v2.3.3 Installation method: docker on windows pc When on the browser on an android device it says the browser notification permissions can't be granted. It doesn't prompt me to accept them, just immediately shows the toast. I made sure the notifications weren't blocked on the browser and installed multiple browsers and got the same error. Screenshot attached. Browsers used: Samsung internet opera firefox brave browser [attached image 1: https://cdn.discordapp.com/attachments/1529219969899036772/1529219970205093988/Screenshot_20260721_135256_Samsung_Browser.jpg?ex=6a612494&is=6a5fd314&hm=e5c947c73c1481b5b31bd1f6d752d988c6725714018ff4d582f212628309cce3&] [Discord message: https://discord.com/channels/1417099416812392641/1529219969899036772/1529219969899036772] [2026-07-21T20:19:51.668Z] Marinara: @Professor Mari GitHub [Discord message: https://discord.com/channels/1417099416812392641/1529219969899036772/1529221393072525333] [2026-07-21T20:20:44.348Z] Professor Mari [bot]: The screenshot shows the **Browser** notification toggles enabled, but ME immediately reports that permission was not granted—without displaying an Android permission prompt. Because this happens in several Android browsers, the likely cause is the **site origin**, not each browser’s notification setting. Browser notifications generally require a secure context: - `https://your-domain/...` should work. - `http://192.168.x.x:...` usually will **not** work; `localhost` is the main exception. - A self-signed or otherwise invalid HTTPS certificate can also prevent permission requests. Try opening your Docker-hosted ME instance through valid HTTPS, then reset that site’s permissions and reload it. Also test the same URL from a desktop browser; that can help distinguish an Android limitation from the server setup. The **Mobile app** options in the screenshot are separate and being disabled is expected unless the mobile app is configured. I searched the current checkout, but the retrieved repo context did not contain the notification implementation or documentation, so I can’t confirm whether v2.3.3 officially supports Android browser notifications. If you are already using valid HTTPS, please open a thread in <https://discord.com/channels/1417099416812392641/1472566848104042496> with: - Android version and device - The exact URL scheme/format, with any private hostname redacted - Whether desktop browser notifications work - Browser console/server logs, if available - Whether the issue reproduces after clearing the site’s permissions I can make mistakes—I’m still an LLM, so don’t trust my judgment too blindly. [Discord message: https://discord.com/channels/1417099416812392641/1529219969899036772/1529221614028325028] [2026-07-21T20:21:23.558Z] Marinara: fuck [Discord message: https://discord.com/channels/1417099416812392641/1529219969899036772/1529221778487115931] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:45:36 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
Author
Owner

@SpicyMarinara commented on GitHub (Jul 21, 2026):

Claimed by @SpicyMarinara for the current all-open-issues sweep in draft PR #3927.

<!-- gh-comment-id:5038719265 --> @SpicyMarinara commented on GitHub (Jul 21, 2026): Claimed by @SpicyMarinara for the current all-open-issues sweep in draft PR #3927.
Author
Owner

@SpicyMarinara commented on GitHub (Jul 21, 2026):

Addressed in draft PR #3927. Insecure browser origins now report the HTTPS/localhost requirement, while denied permissions direct the user to reset the site's notification permission instead of showing a generic failure.

<!-- gh-comment-id:5038827035 --> @SpicyMarinara commented on GitHub (Jul 21, 2026): Addressed in draft PR #3927. Insecure browser origins now report the HTTPS/localhost requirement, while denied permissions direct the user to reset the site's notification permission instead of showing a generic failure.
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
Pasta-Devs/Marinara-Engine#2125
No description provided.