You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.
We are currently running this on 4 different hosts, all under the same domain via round robin DNS.
Something we run into is that a user might have to login multiple times if they end up on a different hosts between sessions. It would be nice if there were a way to distribute cookies between all the proxy hosts. I'm curious how you think that could be built.
Another issue is that cookies don't seem to persist on disk at all, so everyone has to re-login if there is a host restart. Maybe a distributed datastore could be leveraged to solve both issues. Maybe etcd?
Thoughts? Ideas?
The text was updated successfully, but these errors were encountered:
@joehillen The server side is stateless so there is no need to store cookies there. You shouldn't be having any issues w/ different instances treating things differently (we use it across several subdomains w/o a problem at Bitly). Do your instances all have the same configuration? Is it possible they have different cookie secrets?
Also, what version code are you running and is there anything in the logs on the request that triggers authentication that gives an indication of what the issue might be?
We are currently running this on 4 different hosts, all under the same domain via round robin DNS.
Something we run into is that a user might have to login multiple times if they end up on a different hosts between sessions. It would be nice if there were a way to distribute cookies between all the proxy hosts. I'm curious how you think that could be built.
Another issue is that cookies don't seem to persist on disk at all, so everyone has to re-login if there is a host restart. Maybe a distributed datastore could be leveraged to solve both issues. Maybe etcd?
Thoughts? Ideas?
The text was updated successfully, but these errors were encountered: