Failed user login on production server using Symfony framework (Authentication request could not be processed due to…)

后端 未结 11 1681
温柔的废话
温柔的废话 2021-01-07 21:35

I\'am using Symfony for a project and I have been trying to get the login to work on production server with no success for the past 2 days. I keep getting the error

11条回答
  •  攒了一身酷
    2021-01-07 22:20

    It looks like that the error:

    Authentication request could not be processed due to a system problem.

    is too generic and does not tell anything about where the problem is (there is an issue opened about this matter here).

    I solved my issue by checking the logs and see what happened (in var/logs/dev.log), hoping this helps someone.

    In my specific case, there was a wrong parameter in parameters.yml about database connection. But, again, the error is too generic and does not necessarily imply that the problem is related with database connection.

提交回复
热议问题