X-Forwarded-For header / trusted_proxies setting not working

Nextcloud version (eg, 29.0.5): 29.0.2
Operating system and version (eg, Ubuntu 29.04): Arch Linux
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.59
PHP version (eg, 8.3): 8.2.20

The issue you are facing:

Nextcloud says

Your remote address was identified as “fe80::e090:1fff:fe7c:6ff2%host0” and is brute-force throttled at the moment slowing down the performance of various requests.

However, this address is my reverse proxy, and it is configured in the config.php:

  'trusted_proxies' =>
  array (
    0 => 'fe80::e090:1fff:fe7c:6ff2%host0',
  ),

It does not matter if I remove the %host0 interface specification at the end. And a phpinfo page in the nextcloud directory shows the correct IP address is provided in the X-Forwarded-For-Header:

$_SERVER['HTTP_X_FORWARDED_FOR']	10.10.2.1

Also, the forensic logs in apache show that the request correctly contain that Header:

+55:6669f9fa:3a1a|GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1|Host:nextcloud|User-Agent:Mozilla/5.0 (X11; Linux x86_64; rv%3a125.0) Gecko/20100101 Firefox/125.0|Accept:application/json, text/plain, */*|Accept-Language:de-DE,en-US;q=0.7,en;q=0.3|Accept-Encoding:gzip, deflate, br|X-Requested-With:XMLHttpRequest|requesttoken:+I/=%//=|If-None-Match:""|DNT:1|Sec-GPC:1|Cookie:oc_sessionPassphrase=%%%%%; __Host-nc_sameSiteCookielax=true; __Host-nc_sameSiteCookiestrict=true; occe0h96hubw=; nc_username=admin; nc_token=%; nc_session_id=|Sec-Fetch-Dest:empty|Sec-Fetch-Mode:cors|Sec-Fetch-Site:same-origin|X-Forwarded-For:10.10.2.1|X-Forwarded-Host:nextcloud.example.com|X-Forwarded-Server:nextcloud.example.com|Connection:Keep-Alive

What am I doing wrong?

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Setup Nextcloud with Apache and another Apache reverse proxy
  2. Make a couple of requests
  3. Check the administration settings page

The output of your Nextcloud log in Admin > Logging:

Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 2912 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:45:07"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 2777 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:44:37"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 253 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:44:05"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 420 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:43:35"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 890 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:43:05"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 2803 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:37"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:36"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:36"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 2045 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:42:07"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3124 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:41:38"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:41:19"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3118 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:41:08"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3099 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:40:38"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 2997 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:40:23"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3010 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:40:23"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3088 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:40:23"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3048 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:40:23"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3056 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:40:23"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3100 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:40:23"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 832 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:40:19"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 2553 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:40:19"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 1771 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:40:19"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 2651 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:40:19"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 2712 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:40:19"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 2735 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:40:19"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3097 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:40:08"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3123 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:39:38"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3098 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:38"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3113 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:35"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:30"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3102 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:29"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3124 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:25"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3096 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:22"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3111 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:18"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 1882 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:11"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 1856 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:11"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 1880 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:11"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 1903 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:11"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 1964 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:11"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 2108 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:11"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 2916 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:07"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 1328 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:07"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 2924 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:07"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 2349 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:07"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3117 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:07"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 2948 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:38:07"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3103 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:37:51"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:37:44"	
Warning	no app in context	
ConnectException cURL error 6: Could not resolve host: cloudmonet.goip.de (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloudmonet.goip.de/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:37:43"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3103 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:37:43"	
Warning	dav	
ConnectException cURL error 6: Could not resolve host: nextcloud.inphima.deremote.php (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nextcloud.inphima.deremote.php/dav/public-calendars/J10H5ZV9WMJXB0CD?export
Subscription 1 could not be refreshed due to a network error
"12.06.2024, 21:37:36"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3107 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:36:37"	
Warning	no app in context	
ConnectException cURL error 7: Failed to connect to cloud.frelsisbaratta.is port 443 after 3106 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.frelsisbaratta.is/ocm-provider/
error while discovering ocm provider
"12.06.2024, 21:36:37"	
Info	updater	
\OC\Updater::resetLogLevel: Reset log level to Warning(2)
"12.06.2024, 21:36:33"	
Info	updater	
\OC\Updater::maintenanceDisabled: Turned off maintenance mode
"12.06.2024, 21:36:33"	
Info	updater	
\OC\Updater::updateEnd: Update successful
"12.06.2024, 21:36:33"	
Info	updater	
\OC\Updater::finishedCheckCodeIntegrity: Finished code integrity check
"12.06.2024, 21:36:33"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "tasks.page.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "photos.page.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "phonetrack.page.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "ncdownloader.main.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "music.page.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "forms.page.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "files.view.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "dashboard.dashboard.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "cospend.page.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "cookbook.main.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "contacts.page.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "calendar.view.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "activity.activities.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "tasks.page.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "photos.page.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "phonetrack.page.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "ncdownloader.main.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "music.page.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "forms.page.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "files.view.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "dashboard.dashboard.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "cospend.page.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "cookbook.main.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "contacts.page.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "calendar.view.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Info	no app in context	
RouteNotFoundException Unable to generate a URL for the named route "activity.activities.index" as such route does not exist.
"12.06.2024, 21:36:32"	
Loading older log entries

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "1": "example.com",
            "2": "nextcloud.example.com"
        },
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "forwarded_for_headers": [
            "HTTP_X_FORWARDED_FOR"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "overwrite.cli.url": "https:\/\/nextcloud.example.com\/",
        "dbtype": "mysql",
        "version": "29.0.2.2",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "tls",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "apps_paths": [
            {
                "path": "\/usr\/share\/webapps\/nextcloud\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/lib\/nextcloud\/apps",
                "url": "\/wapps",
                "writable": true
            }
        ],
        "loglevel": 2,
        "maintenance": false,
        "updater.release.channel": "stable",
        "theme": "",
        "mysql.utf8mb4": true,
        "app_install_overwrite": [
            "cookbook",
            "workflow_media_converter",
            "ncdownloader"
        ],
        "onlyoffice": {
            "verify_peer_off": false
        },
        "allow_local_remote_servers": true,
        "default_phone_region": "DE",
        "overwritehost": "nextcloud.example.com",
        "overwriteprotocol": "https",
        "overwritewebroot": "\/",
        "enable_previews": true,
        "enabledPreviewProviders": [
            "OC\\Preview\\Movie",
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\MP4",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\PDF",
            "OC\\Preview\\MKV",
            "OC\\Preview\\MP4",
            "OC\\Preview\\AVI",
            "OC\\Preview\\MSOfficeDoc",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\Font",
            "OC\\Preview\\Illustrator",
            "OC\\Preview\\Photoshop",
            "OC\\Preview\\Postscript",
            "OC\\Preview\\Raw",
            "OC\\Preview\\SVG",
            "OC\\Preview\\TIFF"
        ]
    },
    "apps": {
        "activity": {
            "enabled": "yes",
            "installed_version": "2.21.1",
            "notify_email_calendar": "1",
            "notify_email_calendar_event": "1",
            "notify_email_calendar_todo": "1",
            "notify_email_comments": "1",
            "notify_email_favorite": "0",
            "notify_email_file_changed": "0",
            "notify_email_file_created": "0",
            "notify_email_file_deleted": "0",
            "notify_email_file_restored": "0",
            "notify_email_public_links": "0",
            "notify_email_remote_share": "0",
            "notify_email_shared": "0",
            "notify_email_spreed": "0",
            "notify_email_systemtags": "1",
            "notify_setting_batchtime": "86400",
            "notify_setting_self": "0",
            "notify_setting_selfemail": "0",
            "notify_stream_calendar": "1",
            "notify_stream_calendar_event": "1",
            "notify_stream_calendar_todo": "1",
            "notify_stream_comments": "1",
            "notify_stream_favorite": "1",
            "notify_stream_file_changed": "1",
            "notify_stream_file_created": "1",
            "notify_stream_file_deleted": "1",
            "notify_stream_file_favorite": "0",
            "notify_stream_file_restored": "1",
            "notify_stream_public_links": "1",
            "notify_stream_remote_share": "1",
            "notify_stream_shared": "1",
            "notify_stream_spreed": "1",
            "notify_stream_systemtags": "1",
            "types": "filesystem"
        },
        "backgroundjob": {
            "lastjob": "220183"
        },
        "bruteForce": {
            "whitelist_1": "93.237.163.113\/0",
            "whitelist_2": "134.99.174.1\/32"
        },
        "bruteforcesettings": {
            "enabled": "no",
            "installed_version": "1.4.0",
            "types": ""
        },
        "calendar": {
            "enabled": "yes",
            "installed_version": "4.7.6",
            "types": ""
        },
        "camerarawpreviews": {
            "enabled": "yes",
            "installed_version": "0.8.5",
            "types": "filesystem"
        },
        "circles": {
            "enabled": "yes",
            "installed_version": "29.0.0-dev",
            "loopback_tmp_path": "\/",
            "loopback_tmp_scheme": "https",
            "maintenance_run": "0",
            "maintenance_update": "{\"3\":1718220457,\"2\":1718221059,\"1\":1718221059}",
            "migration_22": "1",
            "migration_22_1": "1",
            "migration_run": "0",
            "types": "filesystem,dav"
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "logging"
        },
        "contacts": {
            "enabled": "yes",
            "installed_version": "6.0.0",
            "types": "dav"
        },
        "contactsinteraction": {
            "enabled": "yes",
            "installed_version": "1.10.0",
            "types": "dav"
        },
        "cookbook": {
            "enabled": "yes",
            "installed_version": "0.11.0",
            "types": ""
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "enterpriseLogoChecked": "yes",
            "files_metadata_installed": "1",
            "installed.bundles": "[\"CoreBundle\"]",
            "installedat": "1511406137.3587",
            "lastcron": "1718220756",
            "lastupdateResult": "[]",
            "lastupdatedat": "0",
            "metadataGenerationLastHandledUser": "antonia",
            "moveavatarsdone": "yes",
            "previewsCleanedUp": "1",
            "public_files": "files_sharing\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "scss.variables": "08343dd3f787291558383b46e1b489fb",
            "shareapi_allow_resharing": "no",
            "shareapi_enforce_links_password": "no",
            "theming.variables": "32ef7dc01a3ffbcbbaf8fb9483f9bd03",
            "updater.secret.created": "1544538543",
            "vendor": "nextcloud",
            "files_metadata": "{\"photos-original_date_time\":{\"value\":null,\"type\":\"int\",\"etag\":\"\",\"indexed\":true,\"editPermission\":0},\"photos-exif\":{\"value\":null,\"type\":\"array\",\"etag\":\"\",\"indexed\":false,\"editPermission\":0},\"photos-ifd0\":{\"value\":null,\"type\":\"array\",\"etag\":\"\",\"indexed\":false,\"editPermission\":0},\"photos-size\":{\"value\":null,\"type\":\"array\",\"etag\":\"\",\"indexed\":false,\"editPermission\":0},\"photos-gps\":{\"value\":null,\"type\":\"array\",\"etag\":\"\",\"indexed\":false,\"editPermission\":0},\"photos-place\":{\"value\":null,\"type\":\"string\",\"etag\":\"\",\"indexed\":true,\"editPermission\":0},\"files-live-photo\":{\"value\":null,\"type\":\"string\",\"etag\":\"\",\"indexed\":false,\"editPermission\":1},\"blurhash\":{\"value\":null,\"type\":\"string\",\"etag\":\"646cf1d6d4b987b705e203a14df5e364\",\"indexed\":false,\"editPermission\":0}}",
            "oc.integritycheck.checker": "{\"core\":{\"INVALID_HASH\":{\".htaccess\":{\"expected\":\"8f73bca83268566360c55d51fd2d2dc41af8448ec67211c73a5c1d316c8f384065bfdef8f79895a3c38ab4b8be202f9fbfe23482e6ed6cca43c726ba99dfc719\",\"current\":\"d3c7e9af4479dd40a998cde7fea904c49d8748ef36611e7d11fa0e9a7155f31d59c4b91687c89372c8f939957dea1db6dc02680e691863a1167084baeceff7ce\"}},\"EXTRA_FILE\":{\"phpinfo.php\":{\"expected\":\"\",\"current\":\"157066075aef1ed9a70e921d2170fd5c669bd6330fdf8e59978b07b3685b4c9564b469e24aa07dd92558c3fd27f880e4faf0967e24554b59e1753047104e15d7\"}}}}"
        },
        "cospend": {
            "enabled": "yes",
            "installed_version": "1.6.1",
            "types": ""
        },
        "dashboard": {
            "enabled": "yes",
            "installed_version": "7.9.0",
            "types": ""
        },
        "dav": {
            "buildCalendarReminderIndex": "yes",
            "buildCalendarSearchIndex": "yes",
            "builtSocialSearchIndex": "yes",
            "chunks_migrated": "1",
            "enabled": "yes",
            "installed_version": "1.30.1",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "types": "filesystem"
        },
        "duplicatefinder": {
            "backgroundjob_interval_cleanup": "172800",
            "backgroundjob_interval_find": "432000",
            "enabled": "no",
            "ignored_files": "[]",
            "installed_version": "0.0.15",
            "types": ""
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": ""
        },
        "federation": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "authentication"
        },
        "files": {
            "cronjob_scan_files": "500",
            "enabled": "yes",
            "installed_version": "2.1.0",
            "types": "filesystem"
        },
        "files_downloadlimit": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": ""
        },
        "files_external": {
            "allow_user_mounting": "no",
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": "filesystem",
            "user_mounting_backends": "dav,owncloud,sftp,amazons3,swift,smb,files_external_dropbox,\\OC\\Files\\Storage\\SFTP_Key,\\OC\\Files\\Storage\\SMB_OC"
        },
        "files_external_dropbox": {
            "enabled": "no",
            "installed_version": "1.0.0",
            "types": "filesystem"
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "2.10.0",
            "types": ""
        },
        "files_reminders": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": ""
        },
        "files_rightclick": {
            "enabled": "no",
            "installed_version": "1.6.0",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "lookupServerEnabled": "no",
            "types": "filesystem"
        },
        "files_texteditor": {
            "enabled": "no",
            "installed_version": "2.8.0",
            "types": ""
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.22.0",
            "types": "filesystem,dav"
        },
        "firstrunwizard": {
            "enabled": "yes",
            "installed_version": "2.18.0",
            "types": "logging"
        },
        "forms": {
            "enabled": "yes",
            "installed_version": "4.2.4",
            "types": ""
        },
        "gallery": {
            "enabled": "no",
            "installed_version": "18.4.0",
            "types": ""
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "2.14.0",
            "types": "logging"
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": "authentication"
        },
        "lsd": {
            "enabled": "no",
            "installed_version": "1.0.0",
            "types": "authentication,sessions"
        },
        "metadata": {
            "enabled": "no",
            "installed_version": "0.19.0",
            "types": ""
        },
        "music": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": "filesystem"
        },
        "ncdownloader": {
            "enabled": "yes",
            "installed_version": "1.0.20",
            "types": ""
        },
        "nextcloud_announcements": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "types": "logging"
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "2.17.0",
            "types": "logging"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": "authentication"
        },
        "ocdownloader": {
            "enabled": "no",
            "installed_version": "1.5.5",
            "types": ""
        },
        "password_policy": {
            "enabled": "yes",
            "enforceHaveIBeenPwned": "0",
            "enforceNonCommonPassword": "1",
            "enforceNumericCharacters": "0",
            "enforceSpecialCharacters": "0",
            "enforceUpperLowerCase": "0",
            "historySize": "0",
            "installed_version": "1.19.0",
            "minLength": "8",
            "types": "authentication"
        },
        "phonetrack": {
            "enabled": "yes",
            "installed_version": "0.8.1",
            "types": ""
        },
        "photos": {
            "enabled": "yes",
            "installed_version": "2.5.0",
            "lastPlaceMappedUser": "zusammenkunst",
            "lastPlaceMappingDone": "true",
            "types": "dav,authentication"
        },
        "polls": {
            "enabled": "no",
            "installed_version": "3.2.0",
            "types": ""
        },
        "previewgenerator": {
            "enabled": "yes",
            "installed_version": "5.5.0",
            "pid": "9338",
            "types": "filesystem"
        },
        "privacy": {
            "enabled": "yes",
            "installed_version": "1.13.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "prevent_group_restriction"
        },
        "recommendations": {
            "enabled": "yes",
            "installed_version": "2.1.0",
            "types": ""
        },
        "registration": {
            "enabled": "no",
            "installed_version": "0.5.1",
            "types": ""
        },
        "related_resources": {
            "enabled": "yes",
            "installed_version": "1.4.0",
            "types": ""
        },
        "richdocuments": {
            "canonical_webroot": "",
            "disable_certificate_verification": "",
            "enabled": "yes",
            "external_apps": "",
            "installed_version": "8.4.2",
            "public_wopi_url": "https:\/\/collabora.example.com",
            "types": "prevent_group_restriction",
            "wopi_allowlist": "",
            "wopi_url": "https:\/\/collabora.example.com"
        },
        "richdocumentscode": {
            "enabled": "no",
            "installed_version": "22.5.802",
            "types": ""
        },
        "serverinfo": {
            "cached_count_filecache": "1091786",
            "cached_count_storages": "56",
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "filesystem"
        },
        "spreed": {
            "enabled": "yes",
            "has_reference_id": "yes",
            "installed_version": "19.0.1",
            "project_access_invalidated": "1",
            "signaling_ticket_secret": "***REMOVED SENSITIVE VALUE***",
            "signaling_token_privkey_es256": "***REMOVED SENSITIVE VALUE***",
            "signaling_token_pubkey_es256": "***REMOVED SENSITIVE VALUE***",
            "stun_servers": "***REMOVED SENSITIVE VALUE***",
            "types": "dav,prevent_group_restriction"
        },
        "support": {
            "SwitchUpdaterServerHasRun": "yes",
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": "session"
        },
        "survey_client": {
            "apps": "no",
            "database": "no",
            "enabled": "no",
            "encryption": "no",
            "files_sharing": "no",
            "installed_version": "1.13.0",
            "php": "no",
            "server": "no",
            "stats": "no",
            "types": ""
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.19.0",
            "types": "logging"
        },
        "tasks": {
            "enabled": "yes",
            "installed_version": "0.16.0",
            "types": ""
        },
        "text": {
            "enabled": "yes",
            "installed_version": "3.10.0",
            "types": "dav"
        },
        "theming": {
            "enabled": "yes",
            "installed_version": "2.4.0",
            "types": "logging"
        },
        "timemanager": {
            "enabled": "no",
            "installed_version": "0.3.3",
            "types": ""
        },
        "timetracker": {
            "enabled": "no",
            "installed_version": "0.0.71",
            "types": ""
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": ""
        },
        "twofactor_totp": {
            "enabled": "no",
            "installed_version": "7.0.0",
            "types": ""
        },
        "updatenotification": {
            "bruteforcesettings": "1.4.0",
            "calendar": "4.2.0",
            "contacts": "5.0.2",
            "core": "20.0.7.1",
            "enabled": "no",
            "files_pdfviewer": "1.2.1",
            "files_rightclick": "0.15.1",
            "forms": "3.0.2",
            "installed_version": "1.15.0",
            "metadata": "0.12.0",
            "notify_groups": "[\"admin\",\"my-users\"]",
            "ocdownloader": "1.5.5",
            "phonetrack": "0.6.7",
            "polls": "1.7.5",
            "previewgenerator": "3.1.1",
            "spreed": "10.0.5",
            "tasks": "0.13.6",
            "theming": "1.4.5",
            "timemanager": "0.1.7",
            "timetracker": "0.0.53",
            "twofactor_totp": "5.0.0",
            "types": "",
            "update_check_errors": "0"
        },
        "user_status": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": ""
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "2.3.0",
            "types": ""
        },
        "weather_status": {
            "enabled": "no",
            "installed_version": "1.5.0",
            "types": ""
        },
        "workflow_media_converter": {
            "convertMediaInParallel": "yes",
            "enabled": "no",
            "installed_version": "1.8.4",
            "threadLimit": "0",
            "types": ""
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.11.0",
            "types": "filesystem"
        }
    }
}

The output of your Apache/nginx/system log in /var/log/____:

fe80::e090:1fff:fe7c:6ff2%host0 - - [12/Jun/2024:21:47:57 +0200] "GET /ocm-provider/ HTTP/1.1" 404 178
fe80::e090:1fff:fe7c:6ff2%host0 - - [12/Jun/2024:21:47:58 +0200] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 -
fe80::e090:1fff:fe7c:6ff2%host0 - - [12/Jun/2024:21:47:59 +0200] "GET /index.php/apps/logreader/api/poll?lastReqId= HTTP/1.1" 200 3547
fe80::e090:1fff:fe7c:6ff2%host0 - - [12/Jun/2024:21:48:00 +0200] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 -
fe80::e090:1fff:fe7c:6ff2%host0 - - [12/Jun/2024:21:48:01 +0200] "GET /index.php/csrftoken HTTP/1.1" 200 123
fe80::e090:1fff:fe7c:6ff2%host0 - - [12/Jun/2024:21:48:04 +0200] "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1" 304 -
fe80::e090:1fff:fe7c:6ff2%host0 - - [12/Jun/2024:21:48:04 +0200] "GET /ocs/v2.php/apps/user_status/api/v1/user_status?format=json HTTP/1.1" 200 150
fe80::e090:1fff:fe7c:6ff2%host0 - - [12/Jun/2024:21:48:05 +0200] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 -
fe80::e090:1fff:fe7c:6ff2%host0 - - [12/Jun/2024:21:48:04 +0200] "PROPFIND /remote.php/dav/files/user/ HTTP/1.1" 207 249
fe80::e090:1fff:fe7c:6ff2%host0 - - [12/Jun/2024:21:48:09 +0200] "GET /index.php/apps/logreader/api/poll?lastReqId= HTTP/1.1" 200 22
fe80::e090:1fff:fe7c:6ff2%host0 - - [12/Jun/2024:21:48:14 +0200] "PROPFIND /remote.php/dav/files/user/ HTTP/1.1" 207 253
fe80::e090:1fff:fe7c:6ff2%host0 - - [12/Jun/2024:21:48:18 +0200] "PROPFIND /remote.php/dav/files/user/ HTTP/1.1" 207 249
fe80::e090:1fff:fe7c:6ff2%host0 - - [12/Jun/2024:21:48:19 +0200] "GET /index.php/apps/logreader/api/poll?lastReqId= HTTP/1.1" 200 22

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

No older log entries available 

I’m under impression trusted_proxies format is little “limited”… I have the feeling it only accepts IP ranges with CIDR network mask… see Your "trusted_proxies" setting is not correctly set, it should be an array of IP addresses - optionally with range in CIDR notation

for this reason I would start with lazy config

'trusted_proxies' =>
  array (
    0 => 'fe80::/10',
    1 => 'fc00::/7',
  ),

like described here:

and tighten it once it works.

Thanks for your reply. I didn’t know about the --private flag to occ config:list that was mentioned in your linked thread that allows me to see the parsed trusted_proxies array. After pasting your suggestion in my config.php, it looks like this:

"trusted_proxies": [
"fe80::\/10",
"fc00::\/7"
],

Does that look correct? Or is the escaping maybe a hint that parsing is not working as intended? Unfortunately, the error remains even with this very generous setting.

I also found the config:system:get command by your link, that looks good to me:

[root@nextcloud ~]# occ config:system:get trusted_proxies
fe80::/10 fc00::/7

Any idea why the IP is still not recognized? Maybe an issue with the header?

the output looks wrong… for me it looks like this:

occ config:system:get trusted_proxies
172.16.0.0/12
192.168.0.0/16
10.0.0.0/8
fc00::/7
fe80::/10
2001:db8::/32

or

cat config/config.php |grep trusted_proxies -A 8
  'trusted_proxies' =>
  array (
    0 => '172.16.0.0/12',
    1 => '192.168.0.0/16',
    2 => '10.0.0.0/8',
    3 => 'fc00::/7',
    4 => 'fe80::/10',
    5 => '2001:db8::/32',
  ),

the right syntax to set array values is like below:

occ config:system:set trusted_proxies 1 --value='127.0.0.1/32'

(maybe you have to delete trusted proxies first)

No. Does not look good.

Follow this steps if you want to add those two ranges:

First flush the wrong settings:

occ config:system:set trusted_proxies

Now enter the ranges one by one, it begins with ‘0’:

occ config:system:set trusted_proxies 0 --value=fe80::/10
occ config:system:set trusted_proxies 1 --value=fc00::/7

Now it should look this way:

[root@nextcloud ~]# occ config:system:get trusted_proxies
fe80::/10
fc00::/7

… and if it looks that way, then it looks good :wink:

ps:
It creates an array where the array fields are indexed with integers.
It does not matter if you begin with 0 and then 1, 2, 3, 4 (etc.) but you must take integers and every integer coresponds to one value.
So you could do my example with 10 and 20 as well instead of 0 and 1.


Much and good luck,
ernolf

Thanks for the replies. Actually, it looked like that before, I think the line break between both subnet specifications somehow got swallowed in the posting. Nevertheless, I followed your instructions to clear the trusted_proxies setting and set it again (didn’t know that you can even change configuration using the occ command, very neat!) Now it looks again like it should, but still no change in the brute force detection.

[root@nextcloud ~]# occ config:system:get trusted_proxies
fe80::/10
fc00::/7
[root@nextcloud ~]# occ config:system:set trusted_proxies
System config value trusted_proxies set to empty string [root@nextcloud ~]# occ config:system:get trusted_proxies

[root@nextcloud ~]# occ config:system:set trusted_proxies 0 --value=fe80::/10
System config value trusted_proxies => 0 set to string fe80::/10
[root@nextcloud ~]# occ config:system:set trusted_proxies 1 --value=fc00::/7
System config value trusted_proxies => 1 set to string fc00::/7
[root@nextcloud ~]# occ config:system:get trusted_proxies
fe80::/10
fc00::/7
[root@nextcloud ~]#

Maybe it is possible to check whether the requests really have the correct headers?

Yes. Simply speak to your webserver with curl:

curl -I https://yourcloud.bar.baz/index.php/heartbeat

Then you get the headers in the response.


Much and good luck,
ernolf

1 Like

I also had problems with an apache reverse proxy back then, I solved the problem by installing the “Nginx Proxy Manager” via docker and then controlling everything via that.

This simplifies the work extremely, also with regard to ssl certificates.
With just a few clicks you can add new domains and control them directly.

Hi everyone,

when doing curl -LI nextcloud.example.com/index.php/heartbeat, I get the following results:

HTTP/1.1 200 OK
Server: Apache
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Powered-By: PHP/8.2.17
Content-Security-Policy: default-src 'self'; script-src 'self' 'nonce-='; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *; object-src 'none'; base-uri 'self';
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Referrer-Policy: no-referrer
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-Robots-Tag: none
X-XSS-Protection: 1; mode=block
Content-Type: text/html; charset=UTF-8
Set-Cookie: oc_sessionPassphrase=i7%%%%; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: __Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax
Set-Cookie: __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict
Set-Cookie: occe0h96hubw=; path=/; secure; HttpOnly; SameSite=Lax

However, this only seems to include response headers, not the request headers I was trying to check. Is that right? Is it possible to check the request headers arriving at the nextcloud for correctness?

Thanks for suggesting an alternative using docker, however I am not using docker on my infrastructure so far and I don’t want to migrate my configuration to it, especially as it really seems like the appropriate headers are already sent, just not interpreted.

At the moment, this looks to me like I found a bug in nextcloud, or am I missing something?