Skip to content

Error handling Matrix request internal server error: cannot publish to UnifiedPush topic without previously active subscriber #649

Closed
@barathrm

Description

@barathrm

🐞 Describe the bug

Matrix notifications no longer work. Other notifications work fine. Way I tested matrix notifications

  • make sure matrix apps are using ntfy as the notification backend
  • make sure other ntfy notifications work (using non-UP channels)
  • send a message from another account to my main account, which schildichat is logged in with
  • observe ntfy server logs
  • observe no notification for schildichat popping up

💻 Components impacted

  • matrix.org matrix account
  • self-hosted ntfy server
  • android phone running schildichat, fluffychat, android ntfy app.

💡 Screenshots and/or logs

DEBUG Error handling Matrix request (error=internal server error: cannot publish to UnifiedPush topic without previously active subscriber, error_code=50701, http_method=POST, http_path=/_matrix/push/v1/notify, http_status=507, tag=matrix, topic=, topic_subscribers=1, visitor_auth_limiter_limit=0.016666666666666666, visitor_auth_limiter_tokens=10, visitor_emails=0, visitor_emails_limit=24, visitor_emails_remaining=24, visitor_id=ip:, visitor_ip=, visitor_messages=0, visitor_messages_limit=17280, visitor_messages_remaining=17280, visitor_request_limiter_limit=0.2, visitor_request_limiter_tokens=59.0001245076)

🔮 Additional context

The problem only occurs on ntfy 2.1.1 and 2.1.0. Rolling back to 1.31.0 fixes the issue.

Let me know if there's anything I can do to help debug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    serverRelates to the main binary (server or client)🔥 HOTLots of people want this🪲 bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions