-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
XEP-0357 communication with app server fails #551
Comments
It looks like in this case there's not enough information in the stanza. It should have both a I'll make changes to RubDub to properly report this back as an error. We also need to make sure we're including this information when we're registering for push notifications on the ChatSecure-iOS side. |
D'oh! ChatSecure-iOS actually specified both while enabling notifications, the After fixing this, I get an IQ-result for each notification reliably. This sometimes but not always wakes the app for me (I don't see a pattern yet), but that's a separate issue.
Yes, that would be nice. I think RubDub should really respond to all IQ requests with either an IQ-result or an IQ-error (a generic error will be much better then none at all). |
I think the bigger problem is that this reveals potential DoS vectors when On Fri, Aug 19, 2016 at 7:16 AM, Holger Weiß [email protected]
|
We tested ChatSecure-iOS 3.2.3 with the XEP-0357 module for ejabberd I'm working on. Enabling notifications on the XMPP server works fine, but actual notifications do not (while they do with Conversations).
The XMPP server (
jabber.fu-berlin.de
) initiates an s2s connection withpubsub.chatsecure.org
and sends the notification IQ stanza successfully. However,pubsub.chatsecure.org
then silently closes the TCP connection (I don't see a connection attempt from your app server to deliver either an IQ-result or an IQ-error), and the app is not woken up.This is an example of a notification generated by my server:
The same module is running on conversations.im, if you'd like to test this yourself.
Let me know if there's additional information I could provide, or contact me directly if you like (
[email protected]
).The text was updated successfully, but these errors were encountered: