Cant get XMPP messages sent

Hi all,

as google sent an email to me that i can not use username and password authentification for sending mails via SMTP in near future, i wanted to try xmpp as an alternative.

I am using the following options (configured in the GUI):

--send-xmpp-any-operation=true
--send-xmpp-level=All
--send-xmpp-message=Duplicati %PARSEDRESULT%, %OPERATIONNAME% report for %backup-name%
--send-xmpp-username=https://username@jabber.de
--send-xmpp-password=password
--send-xmpp-to=receiver@jabber.de

I am not receiving any messages on jabber nor any log messages which would indicate that something is wrong.
I was introducing https:// for the username option as the jabber.de server accepts only TLS connections and looking at the duplicati source code, i see that having https:// in the username option will trigger a secured connection.

So my first issue is how to get some logging output. Currently i am using this cli options when starting the service (from ubuntu linux):

/usr/bin/duplicati-server $DAEMON_OPTS --webservice-port=8200 --webservice-interface=any --debug-output=true --console-log-level=Information

But i dont get any message indicating an error.
So i also tried to configure a log file, but i just stays empty.

/usr/bin/duplicati-server $DAEMON_OPTS --webservice-port=8200 --webservice-interface=any --debug-output=true --log-file=/var/log/duplicati.log --log-file-log-level=Information

Any ideas how i could get some more information which could help to understand whats going wrong here?

https://github.com/duplicati/duplicati/blob/master/Duplicati/Library/Modules/Builtin/SendJabberMessage.cs
doesn’t have much logging, but you can try log-file=<path> and log-file-log-level in job Advanced options. Simpler still (because you have a GUI) is live log at About → Show log → Live and pick the level you like.

I set logs both in job and on TrayIcon start on Windows, my main use. On Linux, the best server does for me is to make an empty file. Simplifying the line didn’t help, nor did using TrayIcon. Is this what you see? Strangely, I can’t find a GitHub issue reporting this, so I’d like to know if someone else is seeing it also…

Thanks a lot for the hint using the configuration per job. I set the same configuration as in the general options and now i can indeed see some content in my log file.
Seems something is wrong contacting the server as i get a System.TimeoutException.
Need to investigate why this happens.

Anybody was successful to configure a jabber connection with jabber.de so far?
I cant get it working (just getting TimeoutExceptions).
Any hints what i am doing wrong?

What should “account@jabber.org/Home” actually mean? What is /Home?