Collabora Online Development Edition not working (timeout)

Hey there!
I have a nextcloud instance running on my raspberry pi 5 on ubuntu 24.04 LTS using php8.3-fpm and Nginx. I did set up everything correctly as mentioned in any docs and reinstalled nextcloud office as well as Collabora online but every time I open the office page in the administrator settings it times out Failed to connect to the remote server: cURL error 28: Operation timed out after 5001 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.***.de/apps/richdocumentscode_arm64/proxy.php?req=/hosting/discovery for both the integrated version and using the external option with the link. My Nginx config has the following line rewrite ^/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+|.+\/richdocumentscode(_arm64)?\/proxy) /index.php$request_uri; and the nx log does not show any relevant errors expect the timeout over and over again. My Nginx error log repeats the following error 2025/01/09 20:56:14 [error] 14847#14847: *15344 FastCGI sent in stderr: "PHP message: PHP Warning: http_response_code(): Cannot set response code - headers already sent (output started at /var/www/nextcloud/apps/richdocumentscode_arm64/proxy.php:263) in /var/www/nextcloud/apps/richdocumentscode_arm64/proxy.php on line 296" while reading upstream, client: 127.0.0.1, server: cloud.***.de, request: "GET /apps/richdocumentscode_arm64/proxy.php?status HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.3-fpm-nextcloud.sock:", host: "cloud.***.de". Any ideas what I can do?