login - Why do I have a reauth=1 redirection loop when I try to log in to WordPress hosted on AWS Fargate?

I have set up an AWS Fargate cluster with ten WordPress containers behind an AWS Application Load Balancer (ALB).I teste

I have set up an AWS Fargate cluster with ten WordPress containers behind an AWS Application Load Balancer (ALB).

I tested that my settings work when I have one container. Why can I not log in when I have ten containers?

I have set up an AWS Fargate cluster with ten WordPress containers behind an AWS Application Load Balancer (ALB).

I tested that my settings work when I have one container. Why can I not log in when I have ten containers?

Share Improve this question asked May 27, 2020 at 5:40 James MishraJames Mishra 1011 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

The issue turned out that the login flow is interrupted because the second HTTP request usually goes to a different container than the container that delivered the wp-login.php login form.

The solution is to turn on Sticky Sessions for the AWS Application Load Balancer (ALB) Target Group that serves the Fargate containers.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742399027a4436533.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信