-
Notifications
You must be signed in to change notification settings - Fork 189
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
Bind addresses are used as ip addresses to connect to server #10381
Comments
I tried to workaround this by replacing the wildcard bind 0.0.0.0 by an actual interface ip, eg:
But this fails on the gateway, because it tries to talk to itself via 127.0.0.1. During a quick search, I didn't find a config option to tell the gateway where it could contact itself... |
priority escalation since it is blocking us |
Known issue since yesterday, working on it. We are holding the release candidate until that is fixed. |
Release 6.6.1 in preparation #10401 |
Still an issue on v6.6.1-rc.1 |
I'm not sure how the port changes will affect this bug. The config changes have actually no effect for the Helm Chart because this is setting this already since forever. The difference / problem is, that oCIS by default has a bind address Therefore the health checks fail in many pods, because they try to use the bind address to do the checks... |
I was not aware of that, sorry. We have to figure out the ip of one of the interface the bind actually happens and check with that. |
I tried to do that on the Kubernetes side as a workaround, but failed on another place: #10381 (comment) |
#10405 might further improve things... |
Seems to be fixed this time! I have no pod restarts when waiting for 5 minutes. (Testing with oCIS 6.6.1-rc.2) |
Describe the bug
The healthchecks use the http server bind address for connection to the server, eg:
ocis/services/proxy/pkg/server/debug/server.go
Lines 20 to 22 in f54979f
This fails if the http server bind address uses a bind-all-interfaces logic, like
0.0.0.0
.Steps to reproduce
Expected behavior
Healthchecks succeed -> no pod restarts
Actual behavior
Healthchecks fail -> pod restarts
Setup
oCIS 6.6.0 in Kubernetes, eg. owncloud/ocis-charts#778
Additional context
The text was updated successfully, but these errors were encountered: