Unknown opened 5 years ago
|
|
OpenFire has an issue with establishing server-to-server communication with Tigase XMPP Server running push component for Siskin IM. Right now we have prepared (but not deployed yet) a workaround for that issue. I'm closing this issue as there is nothing wrong with Siskin IM or our installation. |
|
Same error here: iphone XR, IOS 13.5.1, ejabberd 20.07 "It was not possible to contact push notification component: undefined-condition" |
|
Could you check (and share) your server logs? Did it process the request correctly? Was it able to connect and send request to |
|
From this I assume that s2s is working correctly with push.tigase.im, anyhting else I could check? |
|
Could you try enabling more detailed debug information and confirm that the registration packet is correctly send to |
|
Hello, i have the same error with an iPhone 8+ and XMPP server Metronome 3.14.1. Here it is debug log after "Push notifications" are activated from Siskin : https://gist.github.com/guigot/d11960c117fd62695d47a994ef2e29b7 (personal server, the url is replaced by "www.example.com") |
|
@guigot I checked the logs and it seems that the s2s connection was established correctly:
And you received response to enabled push from our server, but it caused an error in
I'd recommend following up with this error in Metronome authors. |
|
The error has been solved with the help of Metronome authors. But push notifications still don't work. Here it is a log when the option is enabled (it becomes disabled on UI after a short time) : https://gist.github.com/guigot/ad315ae14b0a7d16dd66907dc9f3eb6f s2s is working, push seems being enabled according to the logs but the user still not received any notification. |
|
@guigot I've reviewed attached log and while there is a response with However, I suppose that request was valid according to the PubSub protocol (which is reused by XEP-0357: Push Notifications), but the internal structure may result in sending a different type of push notification, ie. low priority which may be dropped by the APNS. I've looked at the Metronome source code available at https://github.com/maranda/metronome/blob/master/plugins/mod_push.lua and while I'm not an expert in Lua, it looks like Metronome may be generating push notifications payload without a Data From (it generates just a Without this element, our push component considers those notifications as low priority and due to that those notifications may be dropped later on by the APNS. This distinction was added as some servers were sending push notifications for all packets which should be delivered to our XMPP client causing a lot of notifications which alerted users while those notifications were not important at all. Could anyone from Metronome could verify my findings? and if possible adjust source code of Metronome to properly include Data Form elements? The issue (if I'm correct) is around the line 71 of the mentioned mod_push.lua file. |
Describe the bug When trying to enable Push Notification on an XMPP server that supports XEP-0357 Push Notifications, Siskin reports "It was not possible to contact push notification component: undefined-condition"
To Reproduce Steps to reproduce the behavior:
Expected behavior Expected behavior is for Push Notifications to be enabled and to work.
Smartphone (please complete the following information):
Additional context Using Openfire 4.5.1.