Nextcloud version (eg, 20.0.5): 27.1.2
Operating system and version (eg, Ubuntu 20.04): Ubunut 22.04
Apache or nginx version (eg, Apache 2.4.25): not sure, on System is apache 2.4.52 installed but i use also an Nginx Proxy Manager and have no idea how the communication here works
PHP version (eg, 7.4): 8.2.11
Since a few days i have the problem that i can´t connect to my Nextcloud via domain or IP-Adress in my Home Network. If i try to reach Nextcloud from outside of my home network, for example with my mobile Internet connection, everything works as it should, at least as long my server had a connection to the internet. For now i took it off the internet because i don´t know whats going on here. The errors i get are ERR_SSL_PROTOCOL_ERROR, when i try to connect to nextcloud with a vpn and NET::ERR_CERT_AUTHORITY_INVALID without a vpn. These errors still exist after i put the server down. A little research points out that there maybe is a man in the middle attack, thats why i put the server down. The SSL Certificate i get shown with these errors in the web browser are not installed by myself. I can see this cause i use lets encrypt Certificates for Nextcloud and they have a time limit of 90 days, but the shown SSL Certificate is valid till 2038. Also when i try to connect to nextcloud via intern IP-Adress i get ERR_SSL_PROTOCOL_ERROR. I tried all i can find on the internet to solve ssl errors like delete Certificates, timeset etc. But the shown certificate, which comes with the error, i couldn´t find anywhere till now to delete it.
Also my Router gives me “The DNS rebind protection of your Router rejected your request for security reasons.” when i try to reach my domain/subdomain name.
So i need help to get rid of this errors and connection to my nexcloud again.
Is this the first time you’ve seen this error? (Y/N): Y
The output of your Nextcloud log in Admin > Logging:
is empty
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
?php
$CONFIG = array (
'instanceid' => 'xxx',
'passwordsalt' => 'xxxx',
'secret' => 'xxxx',
'trusted_domains' =>
array (
0 => 'intern IP',
1 => 'domain',
),
'datadirectory' => 'path/to/data,
'dbtype' => 'mysql',
'version' => '27.1.2.1',
'overwrite.cli.url' => 'https://domain',
'dbname' => 'name',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'name',
'dbpassword' => 'password',
'installed' => true,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'overwriteprotocol' => 'https',
'twofactor_enforced' => 'false',
'twofactor_enforced_groups' =>
array (
0 => 'admin',
),
'twofactor_enforced_excluded_groups' =>
array (
0 => 'app1',
1 => 'app2',
),
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'nextcloud',
'mail_domain' => 'domain',
'mail_smtpport' => '465',
'mail_smtphost' => 'xxx,
'mail_smtpauth' => 1,
'mail_smtpname' => 'name.domain,
'mail_smtppassword' => 'xxx'
'mail_smtpsecure' => 'ssl',
'default_phone_region' => 'DE',
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
),
'remember_login_cookie_lifetime' => 1296000,
'session_lifetime' => 1800,
'session_keepalive' => false,
'auto_logout' => true,
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'htaccess.RewriteBase' => '/',
);
The output of your Apache/nginx/system log in /var/log/____
:
Apache is empty