Windows client wont connect to my self-hosted server

Self hosted on Alpine VM + docker and everything was working perfect. Actually I am still using my nextcloud instance with my Android smart phone/nextcloud app and sync is working perfectly.

But at some point, my desktop app randomly stopped working. here is the error snapshot

Also I cant log in the app on my wife’s apple. It keeps throwing password error despite entering it correctly.

I route everything through Ngiunx proxy manager and its set as https only. I can access my nextcloud straight from the web with URL https://nc.mydomain.us

If I’m not correct in my guess, we need to see your nextcloud/config/config.php file. You’ll want to redact anything unique in there - instanced, secret, passwordsalt, etc. You might also find out more about what’s happening if you can get to the access logs on the webserver in the Docker container and/or your reverse proxy.

Nextcloud might not fully realize it’s behind an HTTPS proxy, in which case it will tell your client to connect with HTTP - or on another address! Your proxy might silently correct this, or your client might figure out the error, but you don’t want to rely on either happening all the time.

My config.php file includes overwrite statements like so:

  'overwrite.cli.url' => 'https://nc.mydomain.us/',
  'overwriteprotocol' => 'https',
  'trusted_proxies' =>  array (
    0 => 'reverse.proxy.ip.addr',
  ),

If you don’t have those directives, you can use the reverse proxy instructions in the admin docs to get them set up.