Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push notification doesn't work for me #313

Open
erossini opened this issue Jun 4, 2021 · 5 comments
Open

Push notification doesn't work for me #313

erossini opened this issue Jun 4, 2021 · 5 comments

Comments

@erossini
Copy link

erossini commented Jun 4, 2021

I tried to run the application in the browser and installed it as an app but I can't received the push notifications.

Apparently, the app is sending the notification via WebPushClient.

image

In the client point of view, there is nothing related to the push notification.

image

I allowed to show push notification in the browser.

@SpikeViper
Copy link

There seems to be an issue related to Blazor and push notifications. I cannot get them working in my own app, and I turned to this project to find the solution - but alas, they don't work here either!

I threw my own Vapid keys in and through debugging I can see the SendNotificationAsync function is getting a 401 response.

I am able to get push notifications working with another example project that is using AspNetCore, making me think this issue must be blazor-related.

@emprosenterprises
Copy link

push notification not work for me too. Notification is not showing in Action center after installing as PWA.

@ChauThan
Copy link

ChauThan commented May 5, 2022

Do you guys get SSL exception?

Error sending push notification: The SSL connection could not be established, see inner exception.

I tried HttpClientHandler but it doesn't work.

ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator

@SpikeViper
Copy link

It has been over a year. Some details on how to fix this would be nice!

@rjean99
Copy link

rjean99 commented Jan 22, 2024

Once I deployed to Azure then push notifications work in the runtime. I get the 401 errors in dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants