apprise icon indicating copy to clipboard operation
apprise copied to clipboard

XMPP still not working

Open drequivalent opened this issue 2 years ago • 7 comments

# apprise -V
Apprise v0.9.6
Copyright (C) 2021 Chris Caron <[email protected]>
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>>

drequivalent avatar Dec 14 '21 20:12 drequivalent

@linkmauve, thoughts?

caronc avatar Dec 14 '21 23:12 caronc

Tested both on Debian and Manjaro. Works in neither

Really, really need this

drequivalent avatar Dec 16 '21 11:12 drequivalent

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!

caronc avatar Dec 27 '21 03:12 caronc

Happy holidays, man!

drequivalent avatar Dec 30 '21 20:12 drequivalent

Adding myself to the thread

mattpackwood avatar Mar 26 '22 21:03 mattpackwood

Any way to re-add xmpp ?

HumanG33k avatar Feb 23 '23 15:02 HumanG33k

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.

Menelmacar avatar Feb 23 '23 23:02 Menelmacar