caronc / apprise

Apprise - Push Notifications that work with just about every platform!
https://hub.docker.com/r/caronc/apprise
BSD 2-Clause "Simplified" License
11.81k stars 413 forks source link

XMPP still not working #497

Open drequivalent opened 2 years ago

drequivalent commented 2 years ago
# apprise -V
Apprise v0.9.6
Copyright (C) 2021 Chris Caron <lead2gold@gmail.com>
This code is licensed under the MIT License.

Trying to send

# apprise -vvvvvv -b "Test Message Body" xmpp://monitor:<PASSWORD HIDDEN>@<XMPP HOST HIDDEN>?to=drq@<XMPP HOST HIDDEN>
2021-12-14 19:58:23,835 - TRACE - XMPP URL xmpp://monitor:<PASSWORD HIDDEN>@<XMPP HOST HIDDEN>?to=drq@<XMPP HOST HIDDEN> unpacked as:
user="monitor"
password="<PASSWORD HIDDEN>"
port="None"
host="<XMPP HOST HIDDEN>"
fullpath="None"
path="None"
query="None"
schema="xmpp"
url="xmpp://monitor:<PASSWORD HIDDEN>@<XMPP HOST HIDDEN>"
qsd="{'to': 'drq@<XMPP HOST HIDDEN>'}"
qsd+="{}"
qsd-="{}"
qsd:="{}"
secure="False"
verify="True"
targets="['drq@<XMPP HOST HIDDEN>']"
2021-12-14 19:58:23,835 - DEBUG - Loaded XMPP URL: xmpp://monitor:****@<XMPP HOST HIDDEN>/rq%40<XMPP HOST HIDDEN>?format=text&overflow=upstream&rto=4.0&cto=4.0&verify=yes&xep=30%2C199
2021-12-14 19:58:23,835 - DEBUG - Using selector: EpollSelector
2021-12-14 19:58:23,836 - INFO - Notifying 1 service(s) asynchronously.
2021-12-14 19:58:23,837 - DEBUG - Using selector: EpollSelector
2021-12-14 19:58:23,843 - DEBUG - Loaded Plugin: RFC 6120: Stream Feature: STARTTLS
2021-12-14 19:58:23,844 - DEBUG - Loaded Plugin: RFC 6120: Stream Feature: Resource Binding
2021-12-14 19:58:23,846 - DEBUG - Loaded Plugin: RFC 3920: Stream Feature: Start Session
2021-12-14 19:58:23,846 - DEBUG - Loaded Plugin: RFC 6121: Stream Feature: Roster Versioning
2021-12-14 19:58:23,847 - DEBUG - Loaded Plugin: RFC 6121: Stream Feature: Subscription Pre-Approval
2021-12-14 19:58:23,850 - DEBUG - Loaded Plugin: RFC 6120: Stream Feature: SASL
2021-12-14 19:58:23,851 - DEBUG - Loaded Plugin: XEP-0030: Service Discovery
2021-12-14 19:58:23,852 - DEBUG - Loaded Plugin: XEP-0199: XMPP Ping
2021-12-14 19:58:23,852 - DEBUG - Event triggered: connecting
sys:1: RuntimeWarning: coroutine 'XMLStream.run_filters' was never awaited
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
2021-12-14 19:58:23,867 - ERROR - Task was destroyed but it is pending!
task: <Task pending name='Task-3' coro=<XMLStream.run_filters() running at /usr/local/lib/python3.9/dist-packages/slixmpp/xmlstream/xmlstream.py:1033>>
sys:1: RuntimeWarning: coroutine 'XMLStream._connect_routine' was never awaited
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
2021-12-14 19:58:23,867 - ERROR - Task was destroyed but it is pending!
task: <Task pending name='Task-4' coro=<XMLStream._connect_routine() running at /usr/local/lib/python3.9/dist-packages/slixmpp/xmlstream/xmlstream.py:320>>
caronc commented 2 years ago

@linkmauve, thoughts?

drequivalent commented 2 years ago

Tested both on Debian and Manjaro. Works in neither

Really, really need this

caronc commented 2 years ago

I apologize for your frustration. But please know that this is the holidays and we are in the middle of a pandemic. Not only that, Apprise is open source (free) and therefore it doesn't pay any bills. All of the amazing contributions to it are from the great open source community, or when i get some time to help out.

XMPP support i would think is close to working. I'm sorry that you're having issues. The very dev of the slixmpp library himself was kind enough to put some time into it. I'm sure if you're patient, someone will be able to look into this. I also welcome Pull Requests if you want to maybe take a stab at the issue yourself? You'll find that people who work for free focus more on the nicer requests. That said, I'll try to set a testing environment up this week and see if i can make it work for me.

Happy holidays!

drequivalent commented 2 years ago

Happy holidays, man!

mattpackwood commented 2 years ago

Adding myself to the thread

HumanG33k commented 1 year ago

Any way to re-add xmpp ?

Menelmacar commented 1 year ago

I've no idea how anything works, but could one include something like go-sendxmpp, that does all the xmpp stuff in one binary? https://salsa.debian.org/mdosch/go-sendxmpp My current approach is slack webhooks to my xmpp server with a custom module, but it doesn't work completely.