-
Notifications
You must be signed in to change notification settings - Fork 3.3k
urllib3.exceptions.ResponseNotChunked from watching namespaced configmap or secret #1047
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
Comments
Could you share more code about how you extracted the resource version? Also could you enable the debug switch and share the API response? |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
We are running in the same issue.
|
According to changelog, this bug fixed in v17.17.0
thanks to dhague |
What happened (please include outputs or screenshots):
The following api calls against CoreV1Api
list_namespaced_secret
list_namespaced_config_map
fail straight away with w.stream() if the resource version is added
raise ResponseNotChunked( urllib3.exceptions.ResponseNotChunked: Response is not chunked. Header 'transfer-encoding: chunked' is missing.
What you expected to happen:
Not fail straight away the below code works for list_namespaced_event etc
How to reproduce it (as minimally and precisely as possible):
`
w = watch.Watch()
`
Anything else we need to know?:
resource version is definitely set to a string
Environment:
kubectl version
): Major:"1", Minor:"14", GitVersion:"v1.14.7",python --version
): Python 3.8.1pip list | grep kubernetes
): 11.0.0b2The text was updated successfully, but these errors were encountered: