#Cannot enable web push notifications

49 messages ยท Page 1 of 1 (latest)

rapid sierra
#

Trying to get web push notifications to work.

The test button is working but there is no notification appearing.

When going into my admin user settings to enable the push notifications i get the error displayed in the attached image.

My setup is NpmPlus > vm > seer in a docker container
Notifications are enabled on the browser and are working for jellyfin using the same reverse proxy (though it is in its own lxc).

Https is enabled properly with lets encrypt on my subdomain, i checked the database manually with sqlite3 but i couldnt find the issue.

Note: i am using the version using the pr for lidarr support https://github.com/seerr-team/seerr/pull/2132

GitHub

Description
This is 99% https://github.com/0-Pierre 's branch (#1238), all credit to them!
Haven't had any action on the other PR for a while, so this is a re-based + updated PR bas...

vital river
#

This usually happens because browser notification permission is not allowed

#

Please double check to see if it is. Can you show us screenshot if it is

rapid sierra
#

i even disabled brave shield for testing.
you can see that brave notifications are working, both are the only websites with allowed notifications in settings

#

more visible this way

rapid sierra
#

Do you have an example of working user_push_subscription in a test db?
I would like to try to add it manually directly in the database see if it solves the issue.
Because on edge i didnt have the enabling error (though the test button still did nothing) and my db doesnt have user_push_subscription populated still.

rapid sierra
#

btw dont know if it is related but docker displays a warning on this specific page:

See more info here: https://nextjs.org/docs/messages/large-page-data

also i made sure to allow popups on my seer in my browsers settings

ripe cedar
#

Could you show us the response sent by jellyseerr when trying to enable web push ?

#

Using network tab in dev tools

rapid sierra
ripe cedar
#

This is the GET request
You should have a POST request when enabling

#

Also, might be worth it to try with this tool

#

Just so we know if it comes from seerr or not

rapid sierra
#

okay will check it out

ripe cedar
#

By any chance, do you have a pi-hole or something like that ?

rapid sierra
#

yeah i use a pihole

#

with unbound

ripe cedar
#

You don't have to do anything but clicking the "Get subscription info" > "Encrypt the data" > "Send the Data"

#

Your pi-hole could be blocking requests to the push services

vital river
ripe cedar
#

Yep, check for push.services.mozilla.com

#

Should be it

rapid sierra
#

yeah gemini gave me the same domain to whitelist, updating my two pihole and check if things unlock

#

i dont get it, still the same issue, and your test website fails to register aswell ๐Ÿ™
though i dont see any query blocked in pihole

vital river
#

Could you try a different browser

#

Like firefox

rapid sierra
#

it works on firefox first try (i did flush my dns though)

#

i dont get why it doesnt work on brave T_T
even though i have push with jellyfin working, so weird

#

okay so if i have brave AND firefox opened, the test button works on brave ๐Ÿ˜„

#

otherwise the notifications seems to be stuck in limbo (and they all pop back to back once i open firefox again)

#

guess it makes sense since the firefox browser is registerd to handle that hum

#

ffs I FOUND IT

#

so by default or something the option to use google services for push is disable in brave
have to activate it in brave://settings/privacy

#

that's why i had no logs in my piholes

#

thank you guys o/

ripe cedar
rapid sierra
#

yeah between pihole and brave i was stuck between a rock and a hard place ๐Ÿ’€

#

i can finally move on to my pbs install ๐Ÿ˜„

#

btw let me know if i can help for the troubleshooting section update

vital river
rapid sierra
#

if you could just be so kind to give me the path in the git project i can do that right now.
do you have a specific convention template for documentation or as long as the information is there and properly written it's good to go?

#

nvm found it

ripe cedar
#

There isn't any convention template

#

Just try to follow what's already done