Cannot login locally : nonsensical error “You took too long to login, please try again now”

This happened after I changed from apache to nginx. I can login via https, dyndns url and nginx reverse proxy from outside and at home. But using http and local IP it doesn’t work, the login page appears and on login I get this error message. This is with Firefox.
With Chrome I get redirected to my https, dyndns url. Which I don’t want.

What could be the reason for that? Which config is responsible owncloud config.php or nginx? And what causes such an error message that is obviously nonsense?

I have set overwritehost to my dnydns domain. Without that it doesn’t work.
I did not specify overwriteprotocol
And ‘htaccess.RewriteBase’ is set to ‘/’

This is unlikely to be what you want to hear, but it is the correct answer, nonetheless.

You are running an unsupported configuration that cannot be expected to function normally. None of what you need to fix has anything to do with ownCloud. You need to fix your network setup so that you can use HTTPS and the same hostname from both inside and outside your network.

2 Likes