{"action":"closed","issue":{"url":"https://api.github.com/repos/rkrzewski/akka-cluster-etcd/issues/7","labels_url":"https://api.github.com/repos/rkrzewski/akka-cluster-etcd/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/rkrzewski/akka-cluster-etcd/issues/7/comments","events_url":"https://api.github.com/repos/rkrzewski/akka-cluster-etcd/issues/7/events","html_url":"https://github.com/rkrzewski/akka-cluster-etcd/issues/7","id":110120936,"number":7,"title":"Get rid of HTTP redirect handling","user":{"login":"rkrzewski","id":671159,"avatar_url":"https://avatars.githubusercontent.com/u/671159?v=3","gravatar_id":"","url":"https://api.github.com/users/rkrzewski","html_url":"https://github.com/rkrzewski","followers_url":"https://api.github.com/users/rkrzewski/followers","following_url":"https://api.github.com/users/rkrzewski/following{/other_user}","gists_url":"https://api.github.com/users/rkrzewski/gists{/gist_id}","starred_url":"https://api.github.com/users/rkrzewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkrzewski/subscriptions","organizations_url":"https://api.github.com/users/rkrzewski/orgs","repos_url":"https://api.github.com/users/rkrzewski/repos","events_url":"https://api.github.com/users/rkrzewski/events{/privacy}","received_events_url":"https://api.github.com/users/rkrzewski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rkrzewski/akka-cluster-etcd/labels/area/etcd-client","name":"area/etcd-client","color":"006b75"},{"url":"https://api.github.com/repos/rkrzewski/akka-cluster-etcd/labels/kind/cleanup","name":"kind/cleanup","color":"bfdadc"},{"url":"https://api.github.com/repos/rkrzewski/akka-cluster-etcd/labels/size/S","name":"size/S","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-06T23:14:08Z","updated_at":"2015-12-05T17:46:40Z","closed_at":"2015-12-05T17:46:40Z","body":"Akka HTTP does not support redirects yet, https://github.com/akka/akka/issues/15990\r\nI've implemented a workaround (`pl.caltha.akka.http.HttpRedirects`) because I was under impression that this was necessary to talk to etcd cluster: when connecting to a follower node, requests that require consistency guarantees are redirected to current master node. However, it turned out that etcd since 2.0 handles master communication internally and consistency guarantees are in effect on all operations. HTTP Redirect replies are never returned to the client.\r\n\r\nNo matter how fun and instructive implementing HttpRedirects flow was, it needs to go."}}