After migrating a site to local i can't login into the backend-part /admin/login
.
There is an error message in the browsers console log
VM1974:1 POST http://great-site.localhost/index.php?p=admin/actions/users/login net::ERR_EMPTY_RESPONSE
I debugged into the backend until the return $this->asJson($return);
line 1671 in UserController (vendor/craftcms/cms/src/controllers/UsersController.php).
But somehow it seems to not return anything as the browser console says.
I am on Craft Version 3.3.6
PHP Version 7.3.18
Questions upfront
Could it be that i am running on http instead https now?
Could it be that i am not creating a session correctly?