Unable to connect to nextcloud from within Wlan

I know this topic has already been discussed in several flavours.
we have an Nextcloud server running on a Synology-Diskstation which is accessible over the Internet.
On our domain.com we have an C-Name record “data.domain.com” pointing to the xyz.myfritz.net. In the Fritzbox this request is forewarded to Nextcloud. On our domain, there is an Let’s encrypt certificate installed so that we can access out site over https://data.domain.com from the web. This works like expected. When we are in the same Wlan we cannot connect to Nextcloud we get in Firefox an : SEC_ERROR_INADEQUATE_KEY_USAGE Error.
The Nextcloud Client gives an 404 Not Found Error whie trying to access te site at https://data.domain.com/nextcloud/nextcloud/status.php. What is strange here, that /nextcloud appears twice in the path??

can you post your config.php? maybe your rewrite path is wrong. is it automatically redirecting to this when you try to access data.domain.com/nextcloud?

Hi,
here is the content of my config.php (domain-names, passwords, … etc. are changed):

<?php
$CONFIG = array (
   'instanceid' => 'abc123',
   'passwordsalt' => 'Passwortsalt',
   'secret' => 'secret',
   'trusted_domains' => 
   array (
     0 => 'data.domain.com',
     1 => 'xyz.myfritz.net',
     2 => '192.168.178.26',
     3 => 'domain.synology.me',
   ),
   'datadirectory' => '/volume1/web/data_new',
   'overwrite.cli.url' => 'https://data.domain.com/nextcloud',
   'overwriteprotocol' => 'https',
   'dbtype' => 'mysql',
   'version' => '18.0.5.1',
   'dbname' => 'nextcloud',
   'dbhost' => '127.0.0.1:3307',
   'dbport' => '',
   'dbtableprefix' => 'oc_',
   'dbuser' => 'oc_user',
   'dbpassword' => 'dbpassword',
   'installed' => true,
   'theme' => '',
   'loglevel' => 2,
   'maintenance' => false,
   'updater.secret' => 'secret',
   'updater.release.channel' => 'stable',
   'app_install_overwrite' => 
   array (
     0 => 'calendar',
     1 => 'occweb',
   ),
 );

Test

'overwrite.cli.url' => 'https://data.domain.com',

Hi, I’ve tried it, and changed the overwrite.cli.url to:

'overwrite.cli.url' => 'https://data.domain.com',

but still get the the same 404 error.
Accession from outside is still working without any problem.

Check your webserver settings.
Post lines corresponding “nextcloud”.

I’m on Synology. Do You mean the Web Station or the Apache HTTP Server?

Yes. Check all settings with text, folder … “nextcloud” and post them.

Hi, sorry for the delay of my response. I can test only when I’m in office, so it takes more time to check things.
One thing I remarked is that I have two .htaccess files with quite a similar content. One is in the root of the web-directory /web and one in my /web/nextcloud folder.
I’ve disabled them both this morning, but nothing happenend (still the error described above). When I lookek at my Nextcloud-client this afternoon, it had a normal connection and I was able to upload files.
I’ll check that tomorrow again to see if the issue was linked to the .htaccess-files.
I post the content of the file from within the /nextcloud-directory here:

<IfModule mod_headers.c>
  <IfModule mod_setenvif.c>
    <IfModule mod_fcgid.c>
       SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
       RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
    </IfModule>
    <IfModule mod_proxy_fcgi.c>
       SetEnvIfNoCase Authorization "(.+)" HTTP_AUTHORIZATION=$1
    </IfModule>
  </IfModule>

  <IfModule mod_env.c>
    # Add security and privacy related headers

    # Avoid doubled headers by unsetting headers in "onsuccess" table,
    # then add headers to "always" table: https://github.com/nextcloud/server/pull/19002
    Header onsuccess unset Referrer-Policy
    Header always set Referrer-Policy "no-referrer"

    Header onsuccess unset X-Content-Type-Options
    Header always set X-Content-Type-Options "nosniff"

    Header onsuccess unset X-Download-Options
    Header always set X-Download-Options "noopen"

    Header onsuccess unset X-Frame-Options
    Header always set X-Frame-Options "SAMEORIGIN"

    Header onsuccess unset X-Permitted-Cross-Domain-Policies
    Header always set X-Permitted-Cross-Domain-Policies "none"

    Header onsuccess unset X-Robots-Tag
    Header always set X-Robots-Tag "none"

    Header onsuccess unset X-XSS-Protection
    Header always set X-XSS-Protection "1; mode=block"

    SetEnv modHeadersAvailable true
  </IfModule>

  # Add cache control for static resources
  <FilesMatch "\.(css|js|svg|gif)$">
    Header set Cache-Control "max-age=15778463"
  </FilesMatch>

  # Let browsers cache WOFF files for a week
  <FilesMatch "\.woff2?$">
    Header set Cache-Control "max-age=604800"
  </FilesMatch>
</IfModule>
<IfModule mod_php7.c>
  php_value mbstring.func_overload 0
  php_value default_charset 'UTF-8'
  php_value output_buffering 0
  <IfModule mod_env.c>
    SetEnv htaccessWorking true
  </IfModule>
</IfModule>
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{HTTP_USER_AGENT} DavClnt
  RewriteRule ^$ /remote.php/webdav/ [L,R=302]
  RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  RewriteRule ^\.well-known/host-meta /public.php?service=host-meta [QSA,L]
  RewriteRule ^\.well-known/host-meta\.json /public.php?service=host-meta-json [QSA,L]
  RewriteRule ^\.well-known/webfinger /public.php?service=webfinger [QSA,L]
  RewriteRule ^\.well-known/nodeinfo /public.php?service=nodeinfo [QSA,L]
  RewriteRule ^\.well-known/carddav /remote.php/dav/ [R=301,L]
  RewriteRule ^\.well-known/caldav /remote.php/dav/ [R=301,L]
  RewriteRule ^remote/(.*) remote.php [QSA,L]
  RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
  RewriteCond %{REQUEST_URI} !^/\.well-known/(acme-challenge|pki-validation)/.*
  RewriteRule ^(?:\.|autotest|occ|issue|indie|db_|console).* - [R=404,L]
</IfModule>
<IfModule mod_mime.c>
  AddType image/svg+xml svg svgz
  AddEncoding gzip svgz
</IfModule>
<IfModule mod_dir.c>
  DirectoryIndex index.php index.html
</IfModule>
AddDefaultCharset utf-8
Options -Indexes
<IfModule pagespeed_module>
  ModPagespeed Off
</IfModule>
#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####

ErrorDocument 403 /nextcloud/
ErrorDocument 404 /nextcloud/

In my opinion, the end of the file could be the reason for the double /nextcloud/nextcloud entry when an 404 error encountered.
I’ll keep on searching. Al least my Nextcloud instance seems to work properly even without the settings in the .htaccess.

Hi, I now activated the logging from within the desktop-client (F12). I post here the first response of the system, hoping, that someone can tell me where the problem sits?
This would be really great since I really like it to work with Nextcloud. But without properly syncing in the office I cannot use Nextcloud.

|[OCC::WebFlowCredentials::createQNAM |Get QNAM|
|---|---|
|[OCC::AccessManager::createRequest |2 "" "https://data.ourdomain.com/nextcloud/status.php" has X-Request-ID "614a52ba-9557-4141-aa77-15606ca2ea4f"|
|[OCC::AbstractNetworkJob::start |OCC::CheckServerJob created for "https://data.ourdomain.com/nextcloud" + "status.php" "OCC::ConnectionValidator"|
|[OCC::AccountManager::saveAccount |Saving account "https://data.ourdomain.com/nextcloud"|
|[OCC::AccountManager::saveAccountHelper |Saving  1  unknown certs.|
|[OCC::AccountManager::saveAccountHelper |Saving cookies. "/Users/gm/Library/Preferences/Nextcloud/cookies0.db"|
|[OCC::AccountManager::saveAccount |Saved account settings, status: QSettings::NoError|
|[OCC::Account::slotHandleSslErrors |"SSL-Errors happened for url  \"https://data.ourdomain.com/nextcloud/status.php\" \tError in  QSslCertificate(\"3\", \"eb:45:d8:82:d3:d5:72:56\", \"fbWC9zVstwWuJnyiw7lMCQ==\", \"xyz.myfritz.net\", \"xyz.myfritz.net\", QMap((1, \"www.fritz.nas\")(1, \"fritz.nas\")(1, \"www.myfritz.box\")(1, \"myfritz.box\")(1, \"www.fritz.box\")(1, \"fritz.box\")(1, \"xyz.myfritz.net\")), QDateTime(2017-01-30 08:50:45.000 UTC Qt::UTC), QDateTime(2038-01-15 08:50:45.000 UTC Qt::UTC)) : \"Der Name des Hosts ist keiner aus der Liste der für dieses Zertifikat gültigen Hosts\" ( \"Der Name des Hosts ist keiner aus der Liste der für dieses Zertifikat gültigen Hosts\" ) \n " Certs are known and trusted! This is not an actual error.|
|[OCC::WebFlowCredentials::slotFinished |request finished|
|[OCC::AbstractNetworkJob::slotFinished |QNetworkReply::ContentNotFoundError "Server hat \"404 Not Found\" auf \"GET https://data.ourdomain.com/nextcloud/status.php\" geantwortet" QVariant(int, 404)|
|[OCC::WebFlowCredentials::stillValid |QNetworkReply::ContentNotFoundError|
|[OCC::WebFlowCredentials::stillValid |"Error transferring https://data.ourdomain.com/nextcloud/status.php - server replied: Not Found"|
|[OCC::AccessManager::createRequest |2 "" "https://data.ourdomain.com/nextcloud/nextcloud/status.php" has X-Request-ID "ebb3dbdf-6be7-4706-b702-b4e9fcfaa8d0"|
|[OCC::AbstractNetworkJob::start |OCC::CheckServerJob created for "https://data.ourdomain.com/nextcloud" + "nextcloud/status.php" "OCC::ConnectionValidator"|
|[OCC::CheckServerJob::finished |Retrying with QUrl("https://data.ourdomain.com/nextcloud/nextcloud/status.php")|
|[OCC::AccountManager::saveAccount |Saving account "https://data.ourdomain.com/nextcloud"|
|[OCC::AccountManager::saveAccountHelper |Saving  1  unknown certs.|
|[OCC::AccountManager::saveAccountHelper |Saving cookies. "/Users/gm/Library/Preferences/Nextcloud/cookies0.db"|
|[OCC::AccountManager::saveAccount |Saved account settings, status: QSettings::NoError|
|[OCC::Account::slotHandleSslErrors |"SSL-Errors happened for url  \"https://data.ourdomain.com/nextcloud/nextcloud/status.php\" \tError in  QSslCertificate(\"3\", \"eb:45:d8:82:d3:d5:72:56\", \"fbWC9zVstwWuJnyiw7lMCQ==\", \"xyz.myfritz.net\", \"xyz.myfritz.net\", QMap((1, \"www.fritz.nas\")(1, \"fritz.nas\")(1, \"www.myfritz.box\")(1, \"myfritz.box\")(1, \"www.fritz.box\")(1, \"fritz.box\")(1, \"xyz.myfritz.net\")), QDateTime(2017-01-30 08:50:45.000 UTC Qt::UTC), QDateTime(2038-01-15 08:50:45.000 UTC Qt::UTC)) : \"Der Name des Hosts ist keiner aus der Liste der für dieses Zertifikat gültigen Hosts\" ( \"Der Name des Hosts ist keiner aus der Liste der für dieses Zertifikat gültigen Hosts\" ) \n " Certs are known and trusted! This is not an actual error.|
|[OCC::WebFlowCredentials::slotFinished |request finished|
|[OCC::AbstractNetworkJob::slotFinished |QNetworkReply::ContentNotFoundError "Server hat \"404 Not Found\" auf \"GET https://data.ourdomain.com/nextcloud/nextcloud/status.php\" geantwortet" QVariant(int, 404)|
|[OCC::WebFlowCredentials::stillValid |QNetworkReply::ContentNotFoundError|
|[OCC::WebFlowCredentials::stillValid |"Error transferring https://data.ourdomain.com/nextcloud/nextcloud/status.php - server replied: Not Found"|
|[OCC::CheckServerJob::finished |error: status.php replied  404 "<!DOCTYPE html>\n<html>\n<head>\n<meta http-equiv=content-type content=\"text/html; charset=utf-8\" />\n<meta http-equiv=\"Cache-Control\" content=\"private, no-transform\" />\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n<meta name=\"format-detection\" content=\"telephone=no\" />\n<meta http-equiv=\"x-rim-auto-match\" content=\"none\" />\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui\" />\n<meta name=\"mobile-web-app-capable\" content=\"yes\" />\n<meta name=\"apple-mobile-web-app-capable\" content=\"yes\" />\n<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\" />\n<meta http-equiv=\"cleartype\" content=\"on\">\n<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favicon.ico\" />\n<link rel=\"apple-touch-icon\" href=\"/css/rd/logos/logo_fritzDiamond.png\" />\n<link rel=\"apple-touch-startup-image\" href=\"/css/rd/logos/logo_fritzDiamond.png\">\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/css/rd/singleside_old.css\"/>\n<title>FRITZ!Box</title>\n</head>\n<body>\n<div id=\"main_page_all\">\n<header class=\"\" name=\"\" id=\"blueBarBox\">\n<div class=\"blue_bar_titel\" name=\"\" id=\"blueBarTitel\">FRITZ!Box</div>\n</header>\n<div id=\"page_content_no_menu_box\">\n<div class=\"area_box\">\n<div class=\"blue_bar_back\" >\n<div><h2>FRITZ!Box</h2></div>\n</div>\n<div class=\"page_content\">\n<p>Die angegebene URL wurde nicht gefunden. Sie werden auf die Startseite der FRITZ!Box weitergeleitet.</p>\n<p>Falls Sie nicht automatisch auf die Startseite der FRITZ!Box weitergeleitet werden, klicken Sie <a href=\"/\">hier</a>.</p>\n<br>\n</div>\n</div>\n</div>\n</div>\n<script>\nwindow.setTimeout(function () {\nwindow.location.href = \"/\";\n}, 10000);\n</script>\n</body>\n</html>\n"|
|[OCC::ConnectionValidator::slotNoStatusFound |QNetworkReply::ContentNotFoundError "Server hat \"404 Not Found\" auf \"GET https://data.ourdomain.com/nextcloud/nextcloud/status.php\" geantwortet" "<!DOCTYPE html>\n<html>\n<head>\n<meta http-equiv=content-type content=\"text/html; charset=utf-8\" />\n<meta http-equiv=\"Cache-Control\" content=\"private, no-transform\" />\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n<meta name=\"format-detection\" content=\"telephone=no\" />\n<meta http-equiv=\"x-rim-auto-match\" content=\"none\" />\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui\" />\n<meta name=\"mobile-web-app-capable\" content=\"yes\" />\n<meta name=\"apple-mobile-web-app-capable\" content=\"yes\" />\n<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\" />\n<meta http-equiv=\"cleartype\" content=\"on\">\n<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favicon.ico\" />\n<link rel=\"apple-touch-icon\" href=\"/css/rd/logos/logo_fritzDiamond.png\" />\n<link rel=\"apple-touch-startup-image\" href=\"/css/rd/logos/logo_fritzDiamond.png\">\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/css/rd/singleside_old.css\"/>\n<title>FRITZ!Box</title>\n</head>"|
|[OCC::WebFlowCredentials::stillValid |QNetworkReply::ContentNotFoundError|
|[OCC::WebFlowCredentials::stillValid |"Error transferring https://data.ourdomain.com/nextcloud/nextcloud/status.php - server replied: Not Found"|
|[OCC::FolderMan::slotAccountStateChanged |Account "georges@data.ourdomain.com" disconnected or paused, terminating or descheduling sync folders|
|[OCC::AccessManager::createRequest |6 "GET" "https://data.ourdomain.com/nextcloud/ocs/v2.php/core/navigation/apps?absolute=true&format=json" has X-Request-ID "9877f98e-f263-418a-b4e5-ccdce0bb881b"|
|[OCC::AbstractNetworkJob::start |OCC::OcsNavigationAppsJob created for "https://data.ourdomain.com/nextcloud" + "ocs/v2.php/core/navigation/apps" ""|
|[OCC::AccountManager::saveAccount |Saving account "https://data.ourdomain.com/nextcloud"|
|[OCC::AccountManager::saveAccountHelper |Saving  1  unknown certs.|
|[OCC::AccountManager::saveAccountHelper |Saving cookies. "/Users/gm/Library/Preferences/Nextcloud/cookies0.db"|
|[OCC::AccountManager::saveAccount |Saved account settings, status: QSettings::NoError|
|[OCC::Account::slotHandleSslErrors |"SSL-Errors happened for url  \"https://data.ourdomain.com/nextcloud/ocs/v2.php/core/navigation/apps?absolute=true&format=json\" \tError in  QSslCertificate(\"3\", \"eb:45:d8:82:d3:d5:72:56\", \"fbWC9zVstwWuJnyiw7lMCQ==\", \"xyz.myfritz.net\", \"xyz.myfritz.net\", QMap((1, \"www.fritz.nas\")(1, \"fritz.nas\")(1, \"www.myfritz.box\")(1, \"myfritz.box\")(1, \"www.fritz.box\")(1, \"fritz.box\")(1, \"xyz.myfritz.net\")), QDateTime(2017-01-30 08:50:45.000 UTC Qt::UTC), QDateTime(2038-01-15 08:50:45.000 UTC Qt::UTC)) : \"Der Name des Hosts ist keiner aus der Liste der für dieses Zertifikat gültigen Hosts\" ( \"Der Name des Hosts ist keiner aus der Liste der für dieses Zertifikat gültigen Hosts\" ) \n " Certs are known and trusted! This is not an actual error.|
|[OCC::WebFlowCredentials::slotFinished |request finished|
|[OCC::AbstractNetworkJob::slotFinished |QNetworkReply::ContentNotFoundError "Server hat \"404 Not Found\" auf \"GET https://data.ourdomain.com/nextcloud/ocs/v2.php/core/navigation/apps?absolute=true&format=json\" geantwortet" QVariant(int, 404)|
|[OCC::WebFlowCredentials::stillValid |QNetworkReply::ContentNotFoundError|
|[OCC::WebFlowCredentials::stillValid |"Error transferring https://data.ourdomain.com/nextcloud/ocs/v2.php/core/navigation/apps?absolute=true&format=json - server replied: Not Found"|
|[OCC::OcsJob::finished |Could not parse reply to "GET" QUrl("https://data.ourdomain.com/nextcloud/ocs/v2.php/core/navigation/apps") (QPair("absolute","true")) "Ungültiger Wert" : "<!DOCTYPE html>\n<html>\n<head>\n<meta http-equiv=content-type content=\"text/html; charset=utf-8\" />\n<meta http-equiv=\"Cache-Control\" content=\"private, no-transform\" />\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n<meta name=\"format-detection\" content=\"telephone=no\" />\n<meta http-equiv=\"x-rim-auto-match\" content=\"none\" />\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui\" />\n<meta name=\"mobile-web-app-capable\" content=\"yes\" />\n<meta name=\"apple-mobile-web-app-capable\" content=\"yes\" />\n<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\" />\n<meta http-equiv=\"cleartype\" content=\"on\">\n<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favicon.ico\" />\n<link rel=\"apple-touch-icon\" href=\"/css/rd/logos/logo_fritzDiamond.png\" />\n<link rel=\"apple-touch-startup-image\" href=\"/css/rd/logos/logo_fritzDiamond.png\">\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/css/rd/singleside_old.css\"/>\n<title>FRITZ!Box</title>\n</head>\n<body>\n<div id=\"main_page_all\">\n<header class=\"\" name=\"\" id=\"blueBarBox\">\n<div class=\"blue_bar_titel\" name=\"\" id=\"blueBarTitel\">FRITZ!Box</div>\n</header>\n<div id=\"page_content_no_menu_box\">\n<div class=\"area_box\">\n<div class=\"blue_bar_back\" >\n<div><h2>FRITZ!Box</h2></div>\n</div>\n<div class=\"page_content\">\n<p>Die angegebene URL wurde nicht gefunden. Sie werden auf die Startseite der FRITZ!Box weitergeleitet.</p>\n<p>Falls Sie nicht automatisch auf die Startseite der FRITZ!Box weitergeleitet werden, klicken Sie <a href=\"/\">hier</a>.</p>\n<br>\n</div>\n</div>\n</div>\n</div>\n<script>\nwindow.setTimeout(function () {\nwindow.location.href = \"/\";\n}, 10000);\n</script>\n</body>\n</html>\n"|
|[OCC::OcsJob::finished |Reply to "GET" QUrl("https://data.ourdomain.com/nextcloud/ocs/v2.php/core/navigation/apps") (QPair("absolute","true")) has unexpected status code: 404 "<!DOCTYPE html>\n<html>\n<head>\n<meta http-equiv=content-type content=\"text/html; charset=utf-8\" />\n<meta http-equiv=\"Cache-Control\" content=\"private, no-transform\" />\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n<meta name=\"format-detection\" content=\"telephone=no\" />\n<meta http-equiv=\"x-rim-auto-match\" content=\"none\" />\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui\" />\n<meta name=\"mobile-web-app-capable\" content=\"yes\" />\n<meta name=\"apple-mobile-web-app-capable\" content=\"yes\" />\n<meta name=\"apple-mobile-web-app-status-bar-style\" content=\"black-translucent\" />\n<meta http-equiv=\"cleartype\" content=\"on\">\n<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favicon.ico\" />\n<link rel=\"apple-touch-icon\" href=\"/css/rd/logos/logo_fritzDiamond.png\" />\n<link rel=\"apple-touch-startup-image\" href=\"/css/rd/logos/logo_fritzDiamond.png\">\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/css/rd/singleside_old.css\"/>\n<title>FRITZ!Box</title>\n</head>\n<body>\n<div id=\"main_page_all\">\n<header class=\"\" name=\"\" id=\"blueBarBox\">\n<div class=\"blue_bar_titel\" name=\"\" id=\"blueBarTitel\">FRITZ!Box</div>\n</header>\n<div id=\"page_content_no_menu_box\">\n<div class=\"area_box\">\n<div class=\"blue_bar_back\" >\n<div><h2>FRITZ!Box</h2></div>\n</div>\n<div class=\"page_content\">\n<p>Die angegebene URL wurde nicht gefunden. Sie werden auf die Startseite der FRITZ!Box weitergeleitet.</p>\n<p>Falls Sie nicht automatisch auf die Startseite der FRITZ!Box weitergeleitet werden, klicken Sie <a href=\"/\">hier</a>.</p>\n<br>\n</div>\n</div>\n</div>\n</div>\n<script>\nwindow.setTimeout(function () {\nwindow.location.href = \"/\";\n}, 10000);\n</script>\n</body>\n</html>\n"|

Hi, I was really fed up, since I was reading a lot of posts and trying and trying without any visible change. So I decided to do a fresh install of the new nextcloud 19. Everything worked well, and I expected that may be I regain a system that is working like expected.
The problem is still the same!
One thing, that is really, really strange.
From outside our office the client works like a charm.
In our office, where nextcloud lies on a Synology NAS connected to our Wlan, I got the same error again.
I connected to nextcloud over my mobile phone and it worked immediately. Which isn’t surprising, since I have then the same situation to connect to the server from outside the LAN.
The big surprise was, that after switching back to the Wlan in the office, Nextcloud kept the connection without any issues!
I’ll retry this tomorrow. It wouldn’t be to complicated to redo that procedure every day (connect to Wlan (with error), connect over mobile and return to the Wlan (without error), but frankly there should be another cleaner solution. Any help or idea would be really apreciated.