Nextcloud version: 15.0.7
Operating system and version: Ubuntu 18.04
Apache or nginx version: Apache/2.4.29
PHP version: PHP 7.2.17
The issue you are facing: I am unable to log in to my server client through any of the windows clients. I have only been able to log in using the direct IP address. When looking through the logs for apache2 and Nextcloud, no errors are generated. I had a small error when the client was trying to access the server over port 80. This is due to port 80 being blocked, I added a redirect to 443 into the apache conf file and that went away.
When right clicking on the “grant access” screen and choosing “view source,” then I am able to get a response from Nextcloud which states: 'Access forbidden, state token mismatch."
I searched the forum for information related to “state token mismatch” and added a few rewrite lines into the reverse proxy configuration. Nextcloud is fully accessible from any of my linux hosts, both on network and off the network. There is something specific about my windows hosts that are not able to access the server.
Is this the first time you’ve seen this error?: Yes
Steps to replicate it:
- Log in with a new account
- Enter username and password
- Give 2FA
- Grant access
- Watch it spin
The output of your Nextcloud log in Admin > Logging:
It’s blank. Only thing showing in there are a few messages about timezone, which have been corrected.
The output of your config.php file in /path/to/nextcloud
: https://pastebin.com/GqJ6A1j9
The output of your Apache log in: Access.log (last 45 lines when I tried to log in) = https://pastebin.com/AtYUWUQz
And that’s it. I’m not sure what’s really going on with this yet. Any clues?