-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reverse proxying hits occasional upstream connections refused #801
Comments
Etcd should not reject the connection intentionally, but it has a time limit for single connection. If it exceeds that time, it will stop waiting. |
I don't really understand your response. Are you suggesting that the issue is that the reverse proxy opens a connection to etcd and keeps it open, pipelining data; after the time limit is hit the connection drops and must be reopened? Assuming this is the case, how do you explain the differing times between the drops? |
Nop. |
@jefferai Sorry it's taken so long to get to this, but are you still having this issue? I've seen cases like this solved by tuning etcd -- check out the tuning guide: https://coreos.com/docs/cluster-management/debugging/etcd-tuning/ |
Unsure. We stopped using etcd (and all software based on etcd) because of #815 . We will evaluate it again at some point when things have a chance to stabilize. |
I would like to put etcd behind a reverse proxy so that I can more easily control authentication and authorization. The heartbeats come in regularly but every now and again etcd refuses the connection. This is running etcd b4e4bf4.
Normally I see expected access log entries, many per second.
However, fairly regularly (every 11 seconds with occasional deviances) I get errors:
I'm not sure that this is really affecting anything negatively, other than a dropped heartbeat now and again, but it's not clear why it should happen, either.
This is my nginx config; it's extremely basic.
The text was updated successfully, but these errors were encountered: