XMPP clients can't connect

Hi there! I’m having some trouble setting up XMPP. As far as I can tell, I’ve configured DNS records correctly, but XMPP clients won’t connect to the server and I’m not seeing anything in my logs.

My YunoHost server

Hardware: Old laptop or computer
YunoHost version: 3.6.5.3
I have access to my server: Through SSH and webadmin. I also have direct access to the server if needed.
Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no

Description of my issue

I want to be able to connect to my server using XMPP clients. When I try, however, the clients can’t connect.

My YunoHost server is up and running. I’m using Cloudflare’s DNS services, and this morning, I added the following records:

_xmpp-client._tcp 3600 IN SRV 0 5 5222 mydomain.com.
_xmpp-server._tcp 3600 IN SRV 0 5 5269 mydomain.com.
muc 3600 IN CNAME @
pubsub 3600 IN CNAME @
vjud 3600 IN CNAME @

When I try to log in to the server using XMPP clients, the clients can’t connect. I’m using these credentials:

  • user: spencer@mydomain.com (this is my non-admin username on the server)
  • pw: [my user password on the server]

I’ve tried this in both Dino (Linux) and Conversations (Android), and neither of them connect.

My logs aren’t showing much. The most recent entries in metronome.logare:

an 01 11:51:02 general	info	Hello and welcome to Metronome version 3.12.0
Jan 01 11:51:02 general	info	Metronome is using the epoll backend for connection handling
Jan 01 11:51:02 portmanager	info	Activated service 's2s'
Jan 01 11:51:02 portmanager	info	Activated service 's2s_secure'
Jan 01 11:51:02 portmanager	info	Activated service 'c2s'
Jan 01 11:51:02 portmanager	info	Activated service 'c2s_secure'
Jan 01 11:51:02 portmanager	info	Activated service 'http'
Jan 01 11:51:02 portmanager	info	Activated service 'https'
Jan 01 11:51:02 mod_posix	info	Successfully daemonized to PID 23675
Jan 01 11:51:02 upload.mydomain.com:http_upload	info	URL: <http://upload.mydomain.com:5290/share>; Storage path: /var/lib/metronome/http_file_upload

And the latest entries in metronome.err are from December 26. Since they haven’t recurred since then, I assume they’re resolved:

ec 26 18:34:22 certmanager	error	SSL/TLS: Failed to load '/etc/metronome/certs/localhost.key': Check that the path is correct, and the file exists. (for localhost)

I’d appreciate any help troubleshooting this so that my XMPP clients can connect properly.

Thanks!

I figured it out. My router did not have port forwarding records for ports 5222 or 5269. I added those, following tips from this page, and it solved it!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.