Hello,
I've setup an XMPP server on my home server for personal use with friends/=
family hosted through a Tor hidden service, but I'm having trouble connect=
ing to the server and receiving a "No stream features to offer" error. Usi=
ng Armbian (Debian Stretch) with a backported Prosody (v0.10.2).
I've disabled anything related to SSL at the moment (not planning on conne=
cting to other servers right now), and have correctly set-up a hidden serv=
ice in my torrc for ports 5222 and 5269. Prosody.log shows the server star=
ts up on both ports and no issues are shown.
I've tried connecting with two clients, profaniy and pidgin (profanity thr=
ough proxychains and pidgin through its proxy setting), and both show the =
same error. I try and connect to f...@bar.onion, and a second after connect=
ion, shows login failed. The following shows up in prosody.log:
info Client connected
warn No stream features to offer
info Client disconnected: connection closed
And this in both clients (profanity log shown):
prof: INF: Connecting as $USER@$DOMAIN.onion/profanity
xmpp: DBG: SRV lookup failed, connecting via domain.
xmpp: DBG: sock_connect() to $DOMAIN.onion:5222 returned 15
xmpp: DBG: Attempting to connect to $DOMAIN.onion
xmpp: DBG: connection successful
conn: DBG: SENT: <?xml version="1.0"?><stream:stream to="$DOMAIN.onion" xml:lang="en" version="1.0" xmlns="jabber:client"
xmlns:stream="
http://etherx.jabber.org/streams">
stderr: ERR: [proxychains] Strict chain ...
127.0.0.1:9050 ... =$DOMAIN.onion:5222 ... OK
xmpp: DBG: RECV: <stream:stream lang="en" from="$DOMAIN.onion" id="$ID" version="1.0">
xmpp: DBG: RECV: <error xmlns="
http://etherx.jabber.org/streams"><undefined-condition xmlns="urn:ietf:params:xml:ns:xmpp-streams"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-streams">No stream features to proceed with</text></error>
xmpp: DBG: RECV: </stream:stream>
xmpp: DBG: Closing socket.
prof: DBG: Connection handler: XMPP_CONN_DISCONNECT
prof: DBG: Connection handler: Login failed
prof: DBG: Connection handler: No reconnect timer
prof: INF: Login failed
Any ideas as to what it could be?
prosody.cfg.lua:
https://privatebin.net/?12c5d40080f24cfe#wgkKxjiFMjLBk7g+mapMa1KqkSCDBMCzC/EevszIdfk=
conf.d/$DOMAIN.cfg.lua:
https://privatebin.net/?a43de794ba9eaf6e#yjP/jZasDsDxOzmRY5xyG+lfV3T4EM0W80AYdFow8bg=