This topic contains 2 replies, has 3 voices. Last updated by Jason (Lead Developer) 4 years, 10 months ago.
Topic Author | Topic |
---|---|
Posted: Saturday Mar 10th, 2012 at 6:27 pm #7844 | |
I have migrated our server to Amazon EC2 and I have set up Electric Load Balancing with autoscaling and an RDS MySql database. However, while everything else works, the s2member login will not. It just comes back immediately with “Max failed logins. Please wait 30 minutes and try again.” This is clearly not the case. This happens once the load balancer adds a second server but then even when forcing it to use one server, it still does not work. I have tried changing the sticky settings to pin a session to the same server with an ELB generated cookie and I have tried pinning with the lifetime of the wordpress sid cookie and the PHPSSID, but nothing works. What could be going wrong here and what must I do to make s2member pro work over multiple servers (sharing the same database – they are just clones of each other) – I don’t see how it could not work when the database is shared and the requests stick to the same server. There are no log entries. Any clues? |