Closed shrynx closed 7 years ago
Sounds like like LB issue. Can you share more details on yr setup (LB, Ports etc)?
On 22 Feb 2017, at 13:27, Shriyans notifications@github.com wrote:
I am using pm2 for the meteor app. Sometimes process 1 generates the request but response comes in process 2 and it doesn't have the credential token to match and hence fails. One way would be to save the tokens temporarily in a database and read from it. Any suggestions ?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/steffow/meteor-accounts-saml/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/AGosJeHbW9o1iEPu2_2jGQFjJYSGHm52ks5rfCmZgaJpZM4MIlMi.
@steffow yes, we are using pm2 for load balancing, spinning up 3 processes. Do you suggest another approach ? The application is running on 3000, 3001 and 3002 and then load balanced using pm2 further https via nginx.
You'd need to insert a cookie or sth to provide session persistence. LBs can do this.
I am using pm2 for the meteor app. Sometimes process 1 generates the request but response comes in process 2 and it doesn't have the credential token to match and hence fails. One way would be to save the tokens temporarily in a database and read from it. Any suggestions ?