question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

XMPP Notifications do not work

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
caronccommented, Mar 30, 2020

I want to get an official release out, so I will close this off and fix XMPP requests as they come.

0reactions
caronccommented, Mar 29, 2020

I just passed it self.throttle() directly. Hopefully there are not strange side effects. Would you be able to test that everything still works okay for you (I went ahead and merged it into the main branch). Back at 100% test coverage! 🎉 😁

Read more comments on GitHub >

github_iconTop Results From Across the Web

XEP-0357: Push Notifications
The purpose of push notifications is to inform users of new messages or other pertinent information even when they have no XMPP clients ......
Read more >
Notification (XMPP) Problem - Configuration
Hey, if have set up a XMPP notification: notify: - name: Jabber platform: xmpp sender: homeassistant@jabber.org password: secret recipient: ...
Read more >
How to implement XMPP to send push notifications
Assuming you have an XMPP server setup that supports the pub-sub protocol extension (like eJabber), in your app, you would login to that...
Read more >
Push notifications are not published on the enabled node
But in the process I ran into a problem, the publication of messages does not work on the node enabled for push notifications...
Read more >
Finesse XMPP Service not responding
Hello, We have a server based XMPP Listener connecting to a ... we are not receiving any notifications from the Finesse XMPP service....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found