apprise: XMPP Notifications do not work
First things first: Thanks for conceiving this excellent notification tool using Python!
📣 Notification Service(s) Impacted XMPP
🪲 Bug description
When using the XMPP notification plugin as outlined below, we have not been able to communicate with the XMPP server at jabber.ccc.de
. The reason is apparently that the communication times out. However, we are able to confirm it works with the very same Jabber-ID account when using xmpppy.
We installed apprise==0.8.4 and sleekxmpp==1.3.3 through pip install apprise sleekxmpp
inside a Python virtualenv.
💡 Screenshots and Logs
apprise --body='hello world' 'xmpps://foo:redacted@jabber.ccc.de?to=foo@jabber.ccc.de&verify=no' -vvvvvv
2020-03-18 01:53:43,926 - WARNING - Language detection failure / unknown locale: UTF-8
2020-03-18 01:53:43,927 - TRACE - URL ... unpacked as:
user="foo"
password="redacted"
port="None"
host="jabber.ccc.de"
fullpath="None"
path="None"
query="None"
schema="xmpps"
url="xmpps://foo:redacted@jabber.ccc.de"
qsd="{'to': 'foo@jabber.ccc.de', 'verify': 'no'}"
qsd+="{}"
qsd-="{}"
secure="True"
verify="False"
targets="['foo@jabber.ccc.de']"
2020-03-18 01:53:43,928 - DEBUG - Loaded URL: xmpps://foo:redacted@jabber.ccc.de/foo%40jabber.ccc.de?format=text&overflow=upstream&verify=no&xep=30%2C199
2020-03-18 01:54:16,707 - WARNING - XMPP Server is taking too long to respond.
💻 Your System Details:
- OS: macOS
- Python Version: Python v2.7 and Python v3.7.4
🔮 Additional context We are looking at using Apprise from mqttwarn, see also https://github.com/jpmens/mqttwarn/issues/400.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 16 (8 by maintainers)
Commits related to this issue
- Fix XMPP plugin. This honors sleekxmpp's asynchronous nature by hooking into the "session_start" event callback. While being at it, some other things have been addressed. - Also hook into the "faile... — committed to daq-tools/apprise by amotl 4 years ago
- Fix XMPP plugin. This honors sleekxmpp's asynchronous nature by hooking into the "session_start" event callback. While being at it, some other things have been addressed. - Also hook into the "faile... — committed to daq-tools/apprise by amotl 4 years ago
- Fix XMPP plugin. This honors sleekxmpp's asynchronous nature by hooking into the "session_start" event callback. While being at it, some other things have been addressed. - Also hook into the "faile... — committed to daq-tools/apprise by amotl 4 years ago
- Fix XMPP plugin. This honors sleekxmpp's asynchronous nature by hooking into the "session_start" event callback. While being at it, some other things have been addressed. - Also hook into the "faile... — committed to daq-tools/apprise by amotl 4 years ago
I want to get an official release out, so I will close this off and fix XMPP requests as they come.