V
V
VN2021-11-01 10:15:45
XMPP
VN, 2021-11-01 10:15:45

Why can't sendxmpp authenticate?

Desktop clients, work fine, send messages and transfer contacts
When I try to send a message via sendxmpp on the client, I get an error

echo "Hello world" | sendxmpp -v -t -u user1  [email protected]
sendxmpp: config: 'password' => 'passworD'
sendxmpp: config: 'port' => '0'
Use of uninitialized value $val in concatenation (.) or string at /usr/bin/sendxmpp line 197.
sendxmpp: config: 'component' => ''
sendxmpp: config: 'username' => 'user1'
sendxmpp: config: 'jserver' => 'domain.com'
sendxmpp: ssl_verify: 1
sendxmpp: tls_ca_path:
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/XML/Stream.pm line 1439.
Use of uninitialized value in hash element at /usr/share/perl5/XML/Stream.pm line 1440.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/XML/Stream.pm line 1440.
Use of uninitialized value in hash element at /usr/share/perl5/XML/Stream.pm line 1443.
Use of uninitialized value in numeric eq (==) at /usr/share/perl5/XML/Stream.pm line 1443.
Use of uninitialized value in hash element at /usr/share/perl5/XML/Stream.pm line 1443.
Use of uninitialized value within %status in numeric eq (==) at /usr/share/perl5/XML/Stream.pm line 1506.
Use of uninitialized value in subtraction (-) at /usr/share/perl5/XML/Stream.pm line 1507.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/XML/Stream.pm line 1669.
Use of uninitialized value in numeric eq (==) at /usr/share/perl5/XML/Stream.pm line 1673.
sendxmpp: Connect: 1
Error 'AuthSend': error: not-authorized[?]


On the server in the logs there is such an entry
<0.7997.0>@ejabberd_s2s_in:process_closed/2:132 Closing inbound s2s connection ::ffff:192.241.205.25 -> localhost: Connection failed: connection closed

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
VN, 2021-11-01
@kavabangaungava

The issue was resolved by adding lines to the ejabberd config

disable_sasl_mechanisms:
 - "digest-md5"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question