Login on the NC desktop app on my server works.
Login fails, error access to token endpoint, "connection refused" (translated from German)
Client version: 2.6.5
Operating system: Windows 10 Pro
OS language: German
Installation path of client: C:\Program Files\Nextcloud
Nextcloud version: 18.0.7.1
Storage backend (external storage): mariadb
https://gist.github.com/steven-omaha/1cce6b510745df58aef5260fa0a99b13
EDIT: feel free to delete this comment if it is a different issue, the description seemed to match exactly the problem I was having too.
Is your server by chance behind a reverse proxy?
I was setting up a server today, and I came across the same issue, and I had forgotten that there is a workaround adding 'overwriteprotocol' => 'https' to config.php. https://github.com/nextcloud/desktop/issues/1690
Nextcloud should be able to detect (or at least ask during initial server configuration) that it is behind a reverse proxy and set the HTTPS address correctly.
Yes, mine is behind a traefik. Thanks for the hint, will check
That fixed it.
Most helpful comment
EDIT: feel free to delete this comment if it is a different issue, the description seemed to match exactly the problem I was having too.
Is your server by chance behind a reverse proxy?
I was setting up a server today, and I came across the same issue, and I had forgotten that there is a workaround adding
'overwriteprotocol' => 'https'to config.php. https://github.com/nextcloud/desktop/issues/1690Nextcloud should be able to detect (or at least ask during initial server configuration) that it is behind a reverse proxy and set the HTTPS address correctly.