Metronome Xmpp upload failed

My YunoHost server

Hardware: core i7 with gigabyte motherboard installed ESXi 6.7.0 update2
**YunoHost version: 4.3.6.2 (stable)
**I have access to my server: through the web admin | direct access via keyboard/screen via ESXi web panel | and through Putty.
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?: no

Description of my issue

Hello,
My xmpp upload doesn’t work. i mean attachment.

my DNS setup is correct. regenerate lets encrypt certificate few hours ago. no issues found in diagnosis.

upload dont work in movim, converejs, from andoid too.

Do you have any idea? what can i try?

We had transfer our domain from namesilo to namecheap to get xmpp support. we like xmpp. could you please Help.

attachment below-

The issue is resolved by maranda.

these lines should be removed:

        add_header 'Access-Control-Allow-Origin' '*';
        add_header 'Access-Control-Allow-Methods' 'HEAD, GET, PUT, OPTIONS';
        add_header 'Access-Control-Allow-Headers' 'Authorization';

From

/etc/nginx/conf.d/internal.top.conf

This was a mistake in the code. Hope this will be fixed soon.

2 Likes

Hi,

Thank you for this. I deleted the lines in ```
/etc/nginx/conf.d/arnauld.org.conf, however I still can’t attach a file. I restarted nginx and metronome but still have the send fail error.

When I go to services/metronome on the web page of Yunohost admin I have this message:

GET] /services/metronome/log?number=50

YunoHost encountered an internal error

Really sorry about that.

You should look for help on the forum or the chat to fix the situation, or report the bug on the bugtracker.
The following information might be useful for the person helping you:

Error: "500" Internal Server Error

Action: "GET" /yunohost/api/services/metronome/log?number=50&locale=en

Error message:

Unexpected server error

Traceback

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 494, in process
    ret = self.actionsmap.process(arguments, timeout=30, route=_route)
  File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 599, in process
    return func(**arguments)
  File "/usr/lib/moulinette/yunohost/service.py", line 555, in service_log
    result[log_path] = _tail(log_path, number)
  File "/usr/lib/moulinette/yunohost/service.py", line 817, in _tail
    lines = f.read().splitlines()
  File "/usr/lib/python3.7/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfe in position 20477: invalid start byte

did you resolve the issue?
if you had jitsi installed metronome will not work.
you should have to share screenshot. also you have to setup DNS srv record, xmpp upload record etc.
check for proper DNS setup:

; XMPP
_xmpp-client._tcp 3600 IN SRV 0 5 5222 domain.tld.
_xmpp-server._tcp 3600 IN SRV 0 5 5269 domain.tld.
muc 3600 IN CNAME @
pubsub 3600 IN CNAME @
vjud 3600 IN CNAME @
xmpp-upload 3600 IN CNAME @

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