Problem with ejabberd and attachments

Hello,

I was wondering if anyone else has experienced the following issue: I cannot send any attachments with ejabberd xmpp clients, whether in the web interface or mobile clients.

The secure text messages work fine, but I would like to expand the capability for attachments.

Any suggestions?
All my diagnostics pass.

Please see this thread:

Tried some of their suggestions, but to no avail.

The error message when trying to send an attachment is “Connection closed by Peer”

i was able to solve the problem - in case that this is helpful to other newbies.

i had to issue a separate certificate for upload.mybox.freedombox.rocks.

it all worked after rebooting the server!