Nextcloud Talk cannot send Media

Hello,

I can write with friends via the Nextcloud Talk app (iOS,Browser, Android) but if someone try to send a photo or video we see this error:

Hochladen fehlgeschlagen

Error

Domain=com.alamofire.error.serializat-

ion.response Code=-1011

“Request failed: not found (404)”

UserInfo={NSLocalizedDescription=Re

quest failed: not found (404), NSUnderlyingError=0×2811de610

{Error

Domain=com.alamofire.error.serializat-

ion.response Code=-1016

“Request failed: unacceptable content-type: text/xml”

UserInfo={NSLocalizedDescription=Re

quest failed: unacceptable content-type: text/xml,

NSErrorFailingURLKey=https://

“MyDomain”/ocs/V2.php/

apps/files.

_sharing/api/v1/shares,

com.alamofire.serialization.respon-

se.error.data={length = 286, bytes

= 0x3c3f786d 6c207665 7273696f 63d2231 … 0a3c2f6f 637330a },

com.alamofire.serialization.respon-se.error.response=<NSHTTPURLRes-

ponse: 0x281b7190> { URL: https:// “MyDomain”/ocs/v2.php/apps/

files_sharing/api/v1/shares } { Status

Code: 404, Headers {

“Cache-Control” =

“no-store, no-cache, must-revalidate”

Connection =

“Keep-Alive”

“Content-Length” =

286

);

“Content-Security-Policy” = (

"default-sro ‘self’;

script-src ‘self’ 'nonce-

:bEljc|J5SFBjWT06TGVwWHNMc|FVN2t

style-src ‘self’ ‘unsafe-inline’; frame-src *; img-src * data: blob:; font-src

‘self’ data:; media-src *; connect-src *; object-sro ‘none’; base-uri ‘self’;"

“Content-Type” =

“text/xml; charset=UTF-8”

Date =

(

“Thu, 02 Nov 2023 13:52:31 GMT”

Expires =

(

“Thu, 19 Nov 1981 08:52:00 GMT”

“Keep-Alive” =

“timeout=5, max=99”

);

Pragma =

“no-cache”

“Referrer-Policy” =

“no-referrer”



Server =

“Apache/2.4.55 (Ubuntu)”

“Strict-Transport-Security” =

“max-age=15552000; includeSubDomains”

“X-Content-Type-Options” =

nosniff

“X-Frame-Options” =

SAMEORIGIN

);

"X-Permitted-Cross-Domain-

“X-Robots-Tag” =

“noindex, nofollow”

“X-XSS-Protection” =

“1; mode=block”

}}, NSErrorFailingURLey=https://

“MyDomain”/ocs/v2.php/

apps/files_sharing/api/v1/shares, mofire.serialization.response.error.data:

= 286, bytes = 0x3c31786d

6c207665 7273696f 6e3d2231 …

0a3c2f6f 63733e0a },

alization.response.error.response=<NSt

0x281b719e0> { URL: https://

“MyDomain”/ocs/v2.php/apps/

files_sharing/api/v1/shares } { Status

Code: 404, Headers {

“Cache-Control” =

“no-store, no-cache, must-revalidate”

Connection =

“Keep-Alive”

(

“Content-Length” = (

286

“Content-Security-Policy” = (

"default-sro ‘self’;

script-src ‘self’ 'nonce-

:bEljc|J5SFBjWT06TVwWHNMcIFvN2r

style-src ‘self’ ‘unsafe-inline’; frame-src *; img-src * data: blob:; font-sro

‘self’ data:; media-src *; connect-src *; object-sro ‘none’; base-uri ‘self’;"

“Content-Type” =

(

“text/xml; charset=UTF-8”

“Content-Type” =

“text/xml; charset=UTF-8”

Date =

“Thu, 02 Nov 2023 13:52:31 GMT”

Expires =

(

“Thu, 19 Nov 1981 08:52:00 GMT”

);

“Keep-Alive” =

(

“timeout=5, max=99”

);

Pragma =

“no-cache”

“Referrer-Policy” =

“no-referrer”

);

Server =

“Apache/2.4.55 (Ubuntu)”

“Strict-Transport-Security” =

“max-age=15552000; includeSubDomains”

“X-Content-Type-Options” =

nosniff

);

“X-Frame-Options” =

SAMEORIGIN

"X-Permitted-Cross-Domain-

Policies" =

none

“X-Robots-Tag” =

“noindex, nofollow”

“X-XSS-Protection” =

“1; mode=block”

Info: I replaced my URL with “MyDomain”

Nextcloud version (eg, 24.0.1): 27.1.3
Talk Server version (eg, 14.0.2): 17.1.2
Custom Signaling server configured: no
Custom TURN server configured: yes
Custom STUN server configured: no

In case mobile Nextcloud Talk apps are involved:
Talk iOS version (eg, 14.0.2): 17.1.1

The issue you are facing: I can send text via chat, but if I try to send an image or video I see the error message

Steps to replicate it:

  1. Open a Chat
  2. Make a photo choose one from the Library
  3. Try to send the picture / video

I believe it is a wrong configuration from my Apache … but I am not sure. Maybe someone can help me here =)