[dav_push] Error: transport web-push failed to deliver notification to subscription

Open
#69 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
php
Domain
backend

Research direction

Start in apps/dav_push/lib/PushTransports/WebPushTransport.php around line 345 and trace how the 410 Gone response from FCM is handled for subscription 17. Confirm whether the expired or unsubscribed subscription is expected to produce repeated log errors, and document or test the intended outcome for this case.

Written by the indexing model from the issue text.

Description

My server, 33.0.3 has many of these errors in the log.

``
[dav_push] Error: transport web-push failed to deliver notification to subscription 17. error message: Client error: POST https://fcm.googleapis.com/fcm/send/dV_NfuU1yNc:APA91bHcKOEr1LnWm0sTVv7oXOE8-jJ1eCM8nyO4a5F901isSUlHL6O4Td9_YenyB39kp0OX6iC1GWOWTKR9XUIuIFk1qlIjfYriOzf5lDMjVNESOwBNPWYG8l8coBjpvcF4hKYI_RBc resulted in a `410 Gone` response:
push subscription has unsubscribed or expired.

thrown in /var/www/nextcloud/apps/dav_push/lib/PushTransports/WebPushTransport.php:345
PUT /nextcloud/remote.php/dav/calendars/user1/personal/699ecbca-f0f4-4c69-971d-3fb62e5a4427.ics
from 192.168.1.1 by user1 at Jun 14, 2026, 10:02:07 a.m.
``

Errors go back about a month, probably when dav_push was installed to support DAVx5 push.

Dominant language
PHP
Stars
118
Forks
7
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bitfireAT/nc_ext_dav_push

All issues in bitfireAT/nc_ext_dav_push

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.