Skip to content

Failing push notification #770

@ageru

Description

@ageru

Hi,

Sorry to create yet another bug about push...

Setup

  • Server: prosody .9.12 with CA-signed TLS certificate
  • Relevant modules: cloud_notify, smacks, pinger, carbons, mam, csi, filter_chatstates, throttle_presence.
  • IPhone SE with latest iOS. Low battery mode off, all is ON in General Settings > ChatSecure.
  • Chatsecure 4.0.8

Steps to reproduce

  1. Install Chatsecure, log to server
  2. Send a couple of messages to user on iPhone, they reach him, OMEMO works... Everything looks clear.
  3. Confirmed push is active in the app's interface
  4. Leave the app.

Actual result

  • Quickly, the iPhone user shows as away on other devices, then as offline.
  • Messages don't reach the device unless the iPhone's user starts the app
  • The iPhone's user has to specifically open the app to get the sent messages
  • Relevant portions of the server log:
    • Successfully initiating push (it seems):
      May 14 HH:MM:SS [alphanum characters] info Push notifications enabled for [ID]@[chatdomain.tld]/chatsecure (pubsub.chatsecure.org<A3486BB3-6442-4945-84E2-[more alphanum characters])

    • When trying to send a message to offline device (the last number increments with every try of the server):
      May 14 HH:MM:SS [chatdomain.tld]:cloud_notify info Got error of type 'cancel' (not-allowed) for identifier 'pubsub.chatsecure.org<A3486BB3-6442-4945-84E2-[alphanum characters]': error count for this identifier is now at 1

Expected Result
If iPhone is connected to the Internet, the iPhone user gets a notification straight away.

Bonus questions

  • What does mod_pinger do? I can make an educated guess looking at the name and bits of its code, but I'm not 100% certain.
  • Would it be possible to get a wiki of FAQ detailing exactly what modules in prosody are needed to use all the features of ChatSecure? @chrisballinger gives a few times his config in threads here and there, but that's hardly discoverable and probably not comprehensive or up to date.

Many thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions