-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Cannot connect to Kubernetes server failed to decode watch event #532
Comments
If you manually start a pod. For example a busy box using: then manually try to fetch the url:
and check the file with cat or less? I do think you should install dns clusteraddon and use https://kubernetes:443 url for the api. Or is 10.254.0.0/16 your service range? |
I do have the dns addon. 10.254.0.1 is the service endpoint for the apiserver in my case. I've set up a pod that continuously monitors the strings out of the endpoint watch URL and report back when I see an error. |
Maybe the API evolved in k8s 1.3. We will have a look at this. |
Everything else seems to be working fine. I'm only seeing such events once every few hours. This only seems to be a problem since Kubernetes 1.3.0, previously Traefik works fine with 1.2.4. |
The latest 1.3.2 seems to include a watch cache filtering related fix kubernetes/kubernetes#28966 I'll try to upgrade today to see if it's related. |
@javefang Did the upgrade help? |
Our cluster admin haven't got a chance to upgrade that. Although we recently set up a second cluster which I'm not seeing a single crash yet (4 days). Will keep an eye on it and try to figure out the difference. |
We've been having this problem too. Traefik pods crash roughly 20 times a day because of it. Here's an example from our logs:
This is using Kubernetes 1.3.7, which is the latest stable release as of today. |
FYI, this is fixed on the master (you can try with |
will try it out (interested to know what was the fix if you can point out the commits?) |
Sweet! If you can remember, please let us know when the changes in #628 get rolled out to the latest tag on the Docker Hub image. |
Still having this problem with the latest image on the Docker hub. It seems the problem either wasn't fixed or a new problem is causing the same symptom. #732 seems to have the latest discussion. |
I'm having the same problems. For us they mostly surface when uploading large files through traefik. Edit: I meant it got noticed through uploading. I don't think it's related to the large files. I'm getting the same panics in the api server as @emilevauge pointed out in #732 |
Tried out the new v1.1.0 Traefik image and still have containers dying off in kubernetes 1.4.6 with this problem. |
+1 |
If #836 is the fix for this, it won't be fixed until Traefik 1.2. |
Is this really fixed in v1.1.2 as the changelog states? @emilevauge |
…rated by kubernetes-client Signed-off-by: Ilya Buziuk <[email protected]>
…ng (preserve order of query params / supporting & in path) Signed-off-by: Ilya Buziuk <[email protected]>
…ng (preserve order of query params / supporting & in path) (#25) Signed-off-by: Ilya Buziuk <[email protected]>
…essing Signed-off-by: Ilya Buziuk <[email protected]>
…essing (#26) Signed-off-by: Ilya Buziuk <[email protected]>
…ng (preserve order of query params / supporting & in path) (fabric8-services#25) Signed-off-by: Ilya Buziuk <[email protected]>
…essing (fabric8-services#26) Signed-off-by: Ilya Buziuk <[email protected]>
Hi,
I was using Traefik v1.0.0 with Kubernetes 1.3.0. Randomly I'm getting invalid character errors and it crashes Traefik after a few failures. Any one experiencing the same problem?
Thanks!
The text was updated successfully, but these errors were encountered: