Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug]: Push notifications fail – server unknown by push server after secret change

Aperta
#2,586 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
nginx, php

Direzione di ricerca

Inizia da config.php, dai percorsi appdata di identityproof e notifications/push* e dal comando occ notification:test-push per verificare come falliscono la registrazione dei dispositivi e la consegna delle push dopo la modifica del secret. Il lavoro è completato quando le nuove registrazioni dei dispositivi vengono accettate dal Push Proxy e le notifiche di test vengono consegnate; il ripristino della fiducia richiesto sembra richiedere un’azione al di fuori di questo repository.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

0. Needs triage needs info
⚠️ This issue respects the following points: ⚠️
Bug description

Expected behavior:
Push notifications (Talk, Notifications) should be delivered successfully.

Actual behavior:
All devices are deleted immediately with message:
Deleting device because it is unknown by the push server
Push notification sent, but 1 failed

Steps to reproduce

Steps to reproduce:

  1. Regenerated secret in config.php (old value lost)
  2. Cleared appdata/*/identityproof and appdata/*/notifications/push*
  3. Verified connectivity to https://push-notifications.nextcloud.com (HTTP 404 on / as expected)
  4. Users re-logged in on iOS/Android apps
  5. Ran occ notification:test-push
Expected behavior

Expected behavior:
Push notifications (Talk, Notifications) should be delivered successfully.

Nextcloud Server version

31

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Nginx

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

Instance information:
Instance ID:
Nextcloud version: 31.0.9.1
PHP version: 8.x
Deployment: self-hosted (single node)
Apps: all up to date
Push proxy: reachable, responds with 404 on / (normal)

What we already tried:

  • Removed all identity proof and push registration data (appdata//identityproof, appdata//notifications/push*)
  • Verified overwrite.cli.url -> correct public HTTPS URL
  • Verified trusted_domains, overwriteprotocol, and proxy headers
  • Switched to cron background jobs
  • Reinstalled and re-logged in mobile clients

Problem summary:
After regenerating the instance secret, the server lost its trust relationship with the global Nextcloud Push Proxy.
All new device registrations are rejected as:
"unknown by the push server"

Request:
Please reset our Push Proxy registration / trust for this instance so that new device registrations can be accepted again.

Lingua principale
JavaScript
Stelle
153
Fork
67
Merge medio
19h 23m
PR unite (30g)
90

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/notifications

Tutte le issue di nextcloud/notifications

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.