Nextcloud App 401 HTTP Error

I am getting HTTP 401 Error while logging in from Nextcloud Application, SSL is not a fault at all, I have been trying to fix this since morning, now you are the only one I can trust… (I installed Nextcloud From Softaclaus)

401 is normally an authentication error. Perhaps check the webserver logs, the app might try to call a file/resource that isn’t allowed for some reason (which might not be the case for the webinterface). Or if you are on a mobile you perhaps pass through a different network interface and end up in a different vhost. But that’s all just guessing, we don’t know neither your configuration nor a more detailed error.

1 Like

I will give 777 permissions to all files, and I don’t know what to do if it’s not logging in, seriously…

It can also come from the webserver configuration directly. In general it is not a good idea to set permissions to 777.


{“reqId”:“ZJwUZYbxKwxPGh9pxc2PLgAAAJU”,“level”:3,“time”:“2023-06-28T11:07:21+00:00”,“remoteAddr”:“webserveripadress”,“user”:“LowSpear”,“app”:“PHP”,“method”:“GET”,“url”:“/cloud/index.php/apps/theming/theme/dark.css?plain=0&v=1afb0826”,“message”:“Using ${var} in strings is deprecated, use {$var} instead at /home/redonan1/public_html/cloud/3rdparty/scssphp/scssphp/src/Compiler.php#3491”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36”,“version”:“”,“data”:{“app”:“PHP”},“id”:“649c14697613b”}

it says “connection closed”