-
Notifications
You must be signed in to change notification settings - Fork 109
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
WebPushException Push failed: 403 Forbidden #82
Comments
same error here Traceback (most recent call last): |
I also have the same error. Traceback (most recent call last):
|
Hello, I'm facing an issue with using Push Notifications. It worked fine until recently when it started showing this error whenever I tried to send a notification from the admin panel.
Below is the full traceback
`Traceback:
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
126. response = self.process_exception_by_middleware(e, request)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
124. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/contrib/admin/options.py" in wrapper
604. return self.admin_site.admin_view(view)(*args, **kwargs)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapped_view
142. response = view_func(request, *args, **kwargs)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
44. response = view_func(request, *args, **kwargs)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/contrib/admin/sites.py" in inner
223. return view(request, *args, **kwargs)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/contrib/admin/options.py" in change_view
1640. return self.changeform_view(request, object_id, form_url, extra_context)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapper
45. return bound_method(*args, **kwargs)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapped_view
142. response = view_func(request, *args, **kwargs)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/contrib/admin/options.py" in changeform_view
1525. return self._changeform_view(request, object_id, form_url, extra_context)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/contrib/admin/options.py" in _changeform_view
1564. self.save_model(request, new_object, form, not add)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/contrib/admin/options.py" in save_model
1091. obj.save()
File "/home/oluwakayode/Mauvelli/blog/models.py" in save
155. super(Post, self).save()
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/db/models/base.py" in save
718. force_update=force_update, update_fields=update_fields)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/db/models/base.py" in save_base
758. update_fields=update_fields, raw=raw, using=using,
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/dispatch/dispatcher.py" in send
175. for receiver in self._live_receivers(sender)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/django/dispatch/dispatcher.py" in
175. for receiver in self._live_receivers(sender)
File "/home/oluwakayode/Mauvelli/blog/models.py" in send_push
282. send_group_notification(group_name="subscribers", payload=payload, ttl=1000)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/webpush/init.py" in send_group_notification
8. send_notification_to_group(group_name, payload, ttl)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/webpush/utils.py" in send_notification_to_group
22. _send_notification(push_info.subscription, payload, ttl)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/webpush/utils.py" in _send_notification
54. raise e
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/webpush/utils.py" in _send_notification
46. req = webpush(subscription_info=subscription_data, data=payload, ttl=ttl, **vapid_data)
File "/home/oluwakayode/Mauvelli/env/lib/python3.6/site-packages/pywebpush/init.py" in webpush
437. response=response)
Exception Type: WebPushException at /admin/blog/post/325/change/
Exception Value: WebPushException: Push failed: 403 Forbidden`
The text was updated successfully, but these errors were encountered: