When logging in, I was instantaniously redirected to the login page. So I investigated but found no errors (later i found debugerrors) in the logs (I even disable suspicious_login). I then looked into the network tab and found in the server response of the login POST following:
Set-Cookie: ocua81y1ulx6=LONG_STRING_PROBABLY_SESSION; expires=Mon, 31-Aug-2020 17:31:12 GMT; Max-Age=86400; path=/; secure; HttpOnly; SameSite=Strict; Secure
Set-Cookie: ocua81y1ulx6=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; Secure
Note: This is in the same response and no headers in between.
The only possible way that this can happen is:
- something went wrong in the database but nextcloud doest log it
- this is intended and Im doing something wrong
When i set the loglevel to 0 i found following error:
Debug core OC\AppFramework\Middleware\Security\Exceptions\NotLoggedInException: Current user is not logged in at 2020-08-30T17:40:13+00:00
…/Middleware/Security/SecurityMiddleware.php line 142
0. …/MiddlewareDispatcher.php line 97
OC\AppFramework\Middleware\Security\SecurityMiddleware->beforeController()
1. .../AppFramework/Http/Dispatcher.php line 97
OC\AppFramework\Middleware\MiddlewareDispatcher->beforeController()
2. lib/private/AppFramework/App.php line 125
OC\AppFramework\Http\Dispatcher->dispatch()
3. lib/private/AppFramework/Routing/RouteActionHandler.php line 47
OC\AppFramework\App::main()
4. <<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke()
5. lib/private/Route/Router.php line 299
call_user_func()
6. lib/base.php line 1008
OC\Route\Router->match()
7. index.php line 38
OC::handleRequest()
- Why is this error DEBUG
- Whats the underlying Problem here?