Unable to send pictures or call through XMPP

My YunoHost server

Hardware: Raspberry Pi at home
YunoHost version: 11.2.29
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 ? : no

Description of my issue

Hi everyone,

I have XMPP running on a maindomain with a self-signed certificate (because I once got an issue I got locked out when letsencrypt expires), and have XMPP activated on a subdomain which does have letsencrypt. In both cases (so through both “accounts”) I am unable to call or send photos or files through both Gajim, Dino, Conversations… On the main domain I assume it is because I don’t have letsencrypt installed. On the subdomain letsencrypt is installed and I think the issue is with the xmpp-upload.sub.domain.ltd . A lot of other people ran into the same issue but the posts are older and didn’t really get resolved.

I tried:

  • dyndns update
  • regenerate lets encrypt
  • restart server
  • restart metronome
  • regenerate letsencrypt using the no-issues and force flags

In anycase, at the moment letsencrypt has banned me from regenerating the certificate for the subdomain and I am not closer to resolving the issue. When renewing the certificate the logs do say: “warning sudomain xmpp-upload.sub.domain.ltd” does not resolve to the same IP address as sub.domain.ltd" and the same for muc.sub.domain.ltd

How can I get sending fotos and calling with XMPP to work in yunohost, preferably on the subdomain, but I am getting better hardware so if maindomain is the only option so be it.

About this issue: solution is to run it on the main domain with a letsencrypt certificate installed. However, cannot send PDF which is a different issue. Calling doesn’t get through but is probably the result of to few resources on the server…

To be able to send PDF (and other usual data types), you have to append (and restart metronome) in /etc/metronome/conf.d/domain.ext.cfg.lua , in the section Component "xmpp-upload.domain.ext" "http_upload" :

http_file_add_mime_types = { [“json”] = “application/json”, [“txt”] = “text/plain”, [“png”] = “image/png”,[“jpg”] = “image/jpg”, [“pdf”] = “application/pdf”, [“doc”] = “application/msword”, [“htm”] = “text/html”, [“html”] = “text/html”, [“mp3”] = “audio/mpeg3”, [“gif”] = “image/gif”, [“mp4”] = “video/mp4”, [“mpeg”] = “video/mpeg”, [“m4a”] = “audio/m4a”, [“ogg”] = “application/ogg”, [“gpx”] = “application/gpx+xml”, [“vcf”] = “text/vcard”, [“ics”] = “text/calendar”, [“sxw”] = “application/vnd.sun.xml.writer”, [“stw”] = “application/vnd.sun.xml.writer.template”, [“sxg”] = “application/vnd.sun.xml.writer.global”, [“sdw”] = “application/vnd.stardivision.writer”, [“vor”] = “application/vnd.stardivision.writer”, [“sgl”] = “application/vnd.stardivision.writer-global”, [“sxc”] = “application/vnd.sun.xml.calc”, [“stc”] = “application/vnd.sun.xml.calc.template”, [“sdc”] = “application/vnd.stardivision.calc”, [“sxi”] = “application/vnd.sun.xml.impress”, [“sti”] = “application/vnd.sun.xml.impress.template”, [“sdd”] = “application/vnd.stardivision.impress”, [“sdp”] = “application/vnd.stardivision.impress”, [“sxd”] = “application/vnd.sun.xml.draw”, [“std”] = “application/vnd.sun.xml.draw.template”, [“sda”] = “application/vnd.stardivision.draw”, [“sxm”] = “application/vnd.sun.xml.math”, [“smf”] = “application/vnd.stardivision.math”, [“odt”] = “application/vnd.oasis.opendocument.text”, [“ott”] = “application/vnd.oasis.opendocument.text-template”, [“oth”] = “application/vnd.oasis.opendocument.text-web”, [“odm”] = “application/vnd.oasis.opendocument.text-master”, [“odg”] = “application/vnd.oasis.opendocument.graphics”, [“otg”] = “application/vnd.oasis.opendocument.graphics-template”, [“odp”] = “application/vnd.oasis.opendocument.presentation”, [“otp”] = “application/vnd.oasis.opendocument.presentation-template”, [“ods”] = “application/vnd.oasis.opendocument.spreadsheet”, [“ots”] = “application/vnd.oasis.opendocument.spreadsheet-template”, [“odc”] = “application/vnd.oasis.opendocument.chart”, [“odf”] = “application/vnd.oasis.opendocument.formula”, [“odb”] = “application/vnd.oasis.opendocument.database”, [“odi”] = “application/vnd.oasis.opendocument.image” }

For the calls, double check that all the ports required here make XMPP audio/video works with at least conversations · Issue #1607 · YunoHost/issues · GitHub are opened and routed to your server.

Thank you very much for answering.

There is something wrong with the code you send. Metronome will not start after adding it. It says it encoutered an unexpected symbol. I have tried looking through the code but cannot find what it could be?

to be clear, I just copy pasted your code with the indent in the section you said. I used spaces to match the indent? maybe that is the problem?

Indeed it seems the " " are strangely converted by the forum, try to copy from here : https://wiki.jabberfr.org/Yunohost#Problèmes_connus

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