[Résolu]Random disconnect from xmpp

My YunoHost server

**Hardware:Raspberry Pi4
YunoHost version: 11.2.9.2
I have access to my server : Through SSH & through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : Not that I’m aware of

Hello,
I’m having trouble to connect to the xmpp chatroom of the project: It works for some time, and then suddenly stop working for a few days, and then back online and so forth.
I tried various client to no avail (Dino on an ubuntu desktop, Conversation on Android, Converse.js on a firefox browser) and they all fail to connect.
Here are the log of the metronome service on my YunoHost instance that give a ‘time-out’ error, but I don’t know how to fix it:


root@mydomain:/home/myuser # tail -f /var/log/metronome/metronome.log
Jan 23 18:12:39 mod_router      debug   Received[s2sin]: <presence id='c9653567-ff9a-4233-91fc-1032e7969099' to='myuser@mydomain.tld/dino.42555f09' from='support@conference.yunohost.org/Krakinou' type='error'>
Jan 23 18:12:39 s2sout556dc68500        debug   s2s disconnected: mydomain.tld->conference.yunohost.org (connection timeout)
Jan 23 18:12:39 socket  debug   new connection failed. id: 556da7f850 error: connection timeout
Jan 23 18:12:39 c2s556dbb3a40   debug   Received[c2s]: <a xmlns='urn:xmpp:sm:3' h='2793'>
Jan 23 18:12:52 c2s556d902860   debug   Received[c2s]: <r xmlns='urn:xmpp:sm:3'>
Jan 23 18:12:52 c2s556d902860   debug   Received ack request for 24
Jan 23 18:14:19 c2s556dbb3a40   debug   Handled incoming stanzas: 2192
Jan 23 18:14:19 c2s556dbb3a40   debug   Received[c2s]: <iq id='632bb8ba-b152-4aa3-842a-d41b059249ed' to='mydomain.tld' type='get'>
Jan 23 18:14:19 c2s556dbb3a40   debug   Received[c2s]: <r xmlns='urn:xmpp:sm:3'>
Jan 23 18:14:19 c2s556dbb3a40   debug   Received ack request for 2192
Jan 23 18:15:19 c2s556dbb3a40   debug   Handled incoming stanzas: 2193
Jan 23 18:15:19 c2s556dbb3a40   debug   Received[c2s]: <iq id='802ddbf8-37e2-4bd2-b430-957cec005d7b' to='mydomain.tld' type='get'>
Jan 23 18:15:19 c2s556dbb3a40   debug   Received[c2s]: <r xmlns='urn:xmpp:sm:3'>
Jan 23 18:15:19 c2s556dbb3a40   debug   Received ack request for 2193
Jan 23 18:15:19 c2s556dbb3a40   debug   Handled incoming stanzas: 2194
Jan 23 18:15:19 c2s556dbb3a40   debug   Received[c2s]: <iq id='fa7e414d-d71c-4c6c-ae1f-5d240447ae1f' to='dev@conference.yunohost.org/Krakinou' type='get'>
Jan 23 18:15:19 mod_router      debug   Routing to remote...
Jan 23 18:15:19 mod_s2s debug   opening a new outgoing connection for this stanza
Jan 23 18:15:19 mod_s2s debug   stanza [iq] queued until connection complete
Jan 23 18:15:19 mod_s2s debug   Starting lookup for conference.yunohost.org, beginning gathering of Direct TLS SRV records...
Jan 23 18:15:19 adns    debug   Records for _xmpps-server._tcp.conference.yunohost.org. not in cache, sending query (thread: 0x556d7d5768)...
Jan 23 18:15:19 adns    debug   Sending DNS query to 127.0.0.1
Jan 23 18:15:19 c2s556dbb3a40   debug   Received[c2s]: <r xmlns='urn:xmpp:sm:3'>
Jan 23 18:15:19 c2s556dbb3a40   debug   Received ack request for 2194
Jan 23 18:15:19 c2s556dbb3a40   debug   Handled incoming stanzas: 2195
Jan 23 18:15:19 c2s556dbb3a40   debug   Received[c2s]: <iq id='44fbb691-5abd-4e28-8ec9-a1d67bc4b310' to='apps@conference.yunohost.org/Krakotte' type='get'>
Jan 23 18:15:19 mod_router      debug   Routing to remote...
Jan 23 18:15:19 s2sout556dbff960        debug   trying to send over unauthed s2sout to conference.yunohost.org
Jan 23 18:15:19 s2sout556dbff960        debug   stanza [iq] queued
Jan 23 18:15:19 c2s556dbb3a40   debug   Received[c2s]: <r xmlns='urn:xmpp:sm:3'>
Jan 23 18:15:19 c2s556dbb3a40   debug   Received ack request for 2195
Jan 23 18:15:19 c2s556dbb3a40   debug   Handled incoming stanzas: 2196
Jan 23 18:15:19 c2s556dbb3a40   debug   Received[c2s]: <iq id='b1c8279d-404d-4cb8-9bec-9f01cbb73038' to='support@conference.yunohost.org/Krakinou' type='get'>
Jan 23 18:15:19 mod_router      debug   Routing to remote...
Jan 23 18:15:19 s2sout556dbff960        debug   trying to send over unauthed s2sout to conference.yunohost.org
Jan 23 18:15:19 s2sout556dbff960        debug   stanza [iq] queued
Jan 23 18:15:19 c2s556dbb3a40   debug   Received[c2s]: <r xmlns='urn:xmpp:sm:3'>
Jan 23 18:15:19 c2s556dbb3a40   debug   Received ack request for 2196
Jan 23 18:15:19 adns    debug   Reply for _xmpps-server._tcp.conference.yunohost.org. (thread: 0x556d7d5768)
Jan 23 18:15:19 mod_s2s debug   Finalising SRV record lookup for conference.yunohost.org...
Jan 23 18:15:19 adns    debug   Records for _xmpp-server._tcp.conference.yunohost.org. not in cache, sending query (thread: 0x556da23748)...
Jan 23 18:15:19 adns    debug   Sending DNS query to 127.0.0.1
Jan 23 18:15:19 socket  debug   new connection established. id: 556db80230
Jan 23 18:15:19 socket  debug   new connection established. id: 556d742f70
Jan 23 18:15:19 socket  debug   try to close client connection with id: 556d742f70
Jan 23 18:15:19 socket  debug   closing client with id: 556d742f70 client to close
Jan 23 18:15:19 adns    debug   Reply for _xmpp-server._tcp.conference.yunohost.org. (thread: 0x556da23748)
Jan 23 18:15:19 mod_s2s debug   conference.yunohost.org has no SRV records, falling back to A/AAAA
Jan 23 18:15:19 adns    debug   Records for conference.yunohost.org not in cache, sending query (thread: 0x556d96d418)...
Jan 23 18:15:19 adns    debug   Sending DNS query to 127.0.0.1
Jan 23 18:15:19 adns    debug   Records for conference.yunohost.org not in cache, sending query (thread: 0x556dc43da8)...
Jan 23 18:15:19 adns    debug   Sending DNS query to 127.0.0.1
Jan 23 18:15:19 adns    debug   Reply for conference.yunohost.org (thread: 0x556d96d418)
Jan 23 18:15:19 mod_s2s debug   Looking up im.aria-net.site. (DNS depth is 3)
Jan 23 18:15:19 mod_s2s debug   DNS reply for conference.yunohost.org gives us 93.49.206.14
Jan 23 18:15:19 socket  debug   new connection established. id: 556d93c960
Jan 23 18:15:19 socket  debug   try to close client connection with id: 556d93c960
Jan 23 18:15:19 socket  debug   closing client with id: 556d93c960 client to close
Jan 23 18:15:19 adns    debug   Reply for conference.yunohost.org (thread: 0x556dc43da8)
Jan 23 18:15:19 s2sout556dbff960        info    Beginning new connection attempt to conference.yunohost.org ([93.49.206.14]:5269)
Jan 23 18:15:19 s2sout556dbff960        debug   Connection attempt in progress...
Jan 23 18:15:29 c2s556dbb3a40   debug   Handled incoming stanzas: 2197
Jan 23 18:15:29 c2s556dbb3a40   debug   Received[c2s]: <iq id='32861635-b39b-4cbf-a057-a99131f5d60e' to='dev@conference.yunohost.org' type='get'>
Jan 23 18:15:29 mod_router      debug   Routing to remote...
Jan 23 18:15:29 s2sout556dbff960        debug   trying to send over unauthed s2sout to conference.yunohost.org
Jan 23 18:15:29 s2sout556dbff960        debug   stanza [iq] queued
Jan 23 18:15:29 c2s556dbb3a40   debug   Received[c2s]: <r xmlns='urn:xmpp:sm:3'>
Jan 23 18:15:29 c2s556dbb3a40   debug   Received ack request for 2197
Jan 23 18:15:29 c2s556dbb3a40   debug   Handled incoming stanzas: 2198
Jan 23 18:15:29 c2s556dbb3a40   debug   Received[c2s]: <presence id='aa4f1566-eeb3-4132-a8af-b031c47c752c' to='dev@conference.yunohost.org/Krakinou'>
Jan 23 18:15:29 mod_router      debug   Routing to remote...
Jan 23 18:15:29 s2sout556dbff960        debug   trying to send over unauthed s2sout to conference.yunohost.org
Jan 23 18:15:29 s2sout556dbff960        debug   stanza [presence] queued
Jan 23 18:15:29 c2s556dbb3a40   debug   Received[c2s]: <r xmlns='urn:xmpp:sm:3'>
Jan 23 18:15:29 c2s556dbb3a40   debug   Received ack request for 2198
Jan 23 18:15:29 c2s556dbb3a40   debug   Handled incoming stanzas: 2199
Jan 23 18:15:29 c2s556dbb3a40   debug   Received[c2s]: <iq id='149b14b9-71a5-4373-a103-2bee16d34f3b' to='apps@conference.yunohost.org' type='get'>
Jan 23 18:15:29 mod_router      debug   Routing to remote...
Jan 23 18:15:29 s2sout556dbff960        debug   trying to send over unauthed s2sout to conference.yunohost.org
Jan 23 18:15:29 s2sout556dbff960        debug   stanza [iq] queued
Jan 23 18:15:29 c2s556dbb3a40   debug   Received[c2s]: <r xmlns='urn:xmpp:sm:3'>
Jan 23 18:15:29 c2s556dbb3a40   debug   Received ack request for 2199
Jan 23 18:15:29 c2s556dbb3a40   debug   Handled incoming stanzas: 2200
Jan 23 18:15:29 c2s556dbb3a40   debug   Received[c2s]: <presence id='7fb9cb56-63be-4a69-b9c6-219603cb7de6' to='apps@conference.yunohost.org/Krakotte'>
Jan 23 18:15:29 mod_router      debug   Routing to remote...
Jan 23 18:15:29 s2sout556dbff960        debug   trying to send over unauthed s2sout to conference.yunohost.org
Jan 23 18:15:29 s2sout556dbff960        debug   stanza [presence] queued
Jan 23 18:15:29 c2s556dbb3a40   debug   Received[c2s]: <r xmlns='urn:xmpp:sm:3'>
Jan 23 18:15:29 c2s556dbb3a40   debug   Received ack request for 2200
Jan 23 18:15:29 c2s556dbb3a40   debug   Handled incoming stanzas: 2201
Jan 23 18:15:29 c2s556dbb3a40   debug   Received[c2s]: <iq id='1a306710-68a0-4c8d-a929-ebbb5cfda07e' to='support@conference.yunohost.org' type='get'>
Jan 23 18:15:29 mod_router      debug   Routing to remote...
Jan 23 18:15:29 s2sout556dbff960        debug   trying to send over unauthed s2sout to conference.yunohost.org
Jan 23 18:15:29 s2sout556dbff960        debug   stanza [iq] queued
Jan 23 18:15:29 c2s556dbb3a40   debug   Received[c2s]: <r xmlns='urn:xmpp:sm:3'>
Jan 23 18:15:29 c2s556dbb3a40   debug   Received ack request for 2201
Jan 23 18:15:29 c2s556dbb3a40   debug   Handled incoming stanzas: 2202
Jan 23 18:15:29 c2s556dbb3a40   debug   Received[c2s]: <presence id='4d529ea6-f70e-4ca1-ac52-116d4bdcf92f' to='support@conference.yunohost.org/Krakinou'>
Jan 23 18:15:29 mod_router      debug   Routing to remote...
Jan 23 18:15:29 s2sout556dbff960        debug   trying to send over unauthed s2sout to conference.yunohost.org
Jan 23 18:15:29 s2sout556dbff960        debug   stanza [presence] queued
Jan 23 18:15:29 c2s556dbb3a40   debug   Received[c2s]: <r xmlns='urn:xmpp:sm:3'>
Jan 23 18:15:29 c2s556dbb3a40   debug   Received ack request for 2202
Jan 23 18:15:39 socket  debug   closing client with id: 556d8ec5c0 connection timeout
Jan 23 18:15:39 s2sout556dbff960        debug   s2s connection attempt failed: connection timeout
Jan 23 18:15:39 s2sout556dbff960        info    Out of connection options, can't connect to conference.yunohost.org
Jan 23 18:15:39 mod_s2s debug   No other records to try for conference.yunohost.org - destroying
Jan 23 18:15:39 s2sout556dbff960        debug   Destroying outgoing session mydomain.tld->conference.yunohost.org: Connecting failed: connection timeout
Jan 23 18:15:39 s2sout556dbff960        info    sending error replies for 9 queued stanzas because of failed outgoing connection to conference.yunohost.org
Jan 23 18:15:39 mod_router      debug   Received[s2sin]: <iq id='fa7e414d-d71c-4c6c-ae1f-5d240447ae1f' to='myuser@mydomain.tld/dino.42555f09' from='dev@conference.yunohost.org/Krakinou' type='error'>
Jan 23 18:15:39 mod_router      debug   Received[s2sin]: <iq id='44fbb691-5abd-4e28-8ec9-a1d67bc4b310' to='myuser@mydomain.tld/dino.42555f09' from='apps@conference.yunohost.org/Krakotte' type='error'>
Jan 23 18:15:39 mod_router      debug   Received[s2sin]: <iq id='b1c8279d-404d-4cb8-9bec-9f01cbb73038' to='myuser@mydomain.tld/dino.42555f09' from='support@conference.yunohost.org/Krakinou' type='error'>
Jan 23 18:15:39 mod_router      debug   Received[s2sin]: <iq id='32861635-b39b-4cbf-a057-a99131f5d60e' to='myuser@mydomain.tld/dino.42555f09' from='dev@conference.yunohost.org' type='error'>
Jan 23 18:15:39 mod_router      debug   Received[s2sin]: <presence id='aa4f1566-eeb3-4132-a8af-b031c47c752c' to='myuser@mydomain.tld/dino.42555f09' from='dev@conference.yunohost.org/Krakinou' type='error'>
Jan 23 18:15:39 mod_router      debug   Received[s2sin]: <iq id='149b14b9-71a5-4373-a103-2bee16d34f3b' to='myuser@mydomain.tld/dino.42555f09' from='apps@conference.yunohost.org' type='error'>
Jan 23 18:15:39 mod_router      debug   Received[s2sin]: <presence id='7fb9cb56-63be-4a69-b9c6-219603cb7de6' to='myuser@mydomain.tld/dino.42555f09' from='apps@conference.yunohost.org/Krakotte' type='error'>
Jan 23 18:15:39 mod_router      debug   Received[s2sin]: <iq id='1a306710-68a0-4c8d-a929-ebbb5cfda07e' to='myuser@mydomain.tld/dino.42555f09' from='support@conference.yunohost.org' type='error'>
Jan 23 18:15:39 mod_router      debug   Received[s2sin]: <presence id='4d529ea6-f70e-4ca1-ac52-116d4bdcf92f' to='myuser@mydomain.tld/dino.42555f09' from='support@conference.yunohost.org/Krakinou' type='error'>
Jan 23 18:15:39 s2sout556dbff960        debug   s2s disconnected: mydomain.tld->conference.yunohost.org (connection timeout)
Jan 23 18:15:39 socket  debug   new connection failed. id: 556d8ec5c0 error: connection timeout
Jan 23 18:15:39 c2s556dbb3a40   debug   Received[c2s]: <a xmlns='urn:xmpp:sm:3' h='2804'>

Any ideas?
Thanks

Related:

Thanks!

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