Skip to content
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

error decoding log message: net/http: request canceled (Client.Timeout exceeded while reading body) #8

Open
zkcrescent opened this issue Apr 8, 2019 · 1 comment

Comments

@zkcrescent
Copy link

I build plugin from the codes, when I use docker logs CONTAINER_ID --follow , it occurred this error, I read some other plugin codes, basically the same as yours, so I cant find out what happened, btw, my docker version is 18.09.2, same as cli. regards

@alexandruionica
Copy link

I have the same issue with a custom logging driver which had as a base the example code here.
The only work around is to restart the Docker engine after enabling the driver and then the issue seems to go away.

I have also tried to kill the driver after enabling it in order to have Docker restart the driver only, but this doesn't lead to any improvement.

If I enable debug logging in Docker's daemon.json then it seems only part of the debug output makes it (`journalctl -u docker -f) and as soon as the restart happens I can see extra debug output like for example API calls (which could not be seen before the restart).
I'm not sure if this is the right place to report the problem but it's obscure enough that few would have encountered it and probably the main Docker project is less suited for such a report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants