Hi guys,
since a couple of days i try to send automated status-messages from my server to my Jolla via the native xmpp-client. So i set up an own ejabberd server and registered a couple of users there. Using this setup, the hand-written communication between the clients works as fine as it should, including the Jolla.
The problem appears, when sending automated messages using the python-xmpp-package. Whit a very simple 'n' short test-script I'm able to send a message f.e. to a pidgin-client on pc, or to an android-client running on my Jolla. But sending messages to the native xmpp-client fails - which means, I just don't receive any message there. The online status of my "auto_user" is shown there as green however until the script ends.
import xmpp, time
uname='auto_user'
passw='1234'
to='knutella@myjabberserver.org'
msg='whoop-da-loop'
client=xmpp.Client('myjabberserver.org')
client.connect(server=('myjabberserver.org',5222))
client.auth(uname, passw)
client.sendInitPresence()
time.sleep(10)
message=xmpp.Message(to, msg)
client.send(message)
time.sleep(30)
All users are registered and validated within each other, so I have no clue, what it could be. I'm grateful for any ideas!
![]() | 2 | retagged |
Hi guys,
since a couple of days i try to send automated status-messages from my server to my Jolla via the native xmpp-client. So i set up an own ejabberd server and registered a couple of users there. Using this setup, the hand-written communication between the clients works as fine as it should, including the Jolla.
The problem appears, when sending automated messages using the python-xmpp-package. Whit a very simple 'n' short test-script I'm able to send a message f.e. to a pidgin-client on pc, or to an android-client running on my Jolla. But sending messages to the native xmpp-client fails - which means, I just don't receive any message there. The online status of my "auto_user" is shown there as green however until the script ends.
import xmpp, time
uname='auto_user'
passw='1234'
to='knutella@myjabberserver.org'
msg='whoop-da-loop'
client=xmpp.Client('myjabberserver.org')
client.connect(server=('myjabberserver.org',5222))
client.auth(uname, passw)
client.sendInitPresence()
time.sleep(10)
message=xmpp.Message(to, msg)
client.send(message)
time.sleep(30)
All users are registered and validated within each other, so I have no clue, what it could be. I'm grateful for any ideas!