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 closing resp body #1028

Closed
relipocere opened this issue Nov 10, 2021 · 1 comment
Closed

error closing resp body #1028

relipocere opened this issue Nov 10, 2021 · 1 comment

Comments

@relipocere
Copy link

Recently started getting this error logged into the standard output, it started appearing 1 day ago.
It is logged on this line in restapi.go

log.Println("error closing resp body")

It seems the response body can't be closed properly. The underlying error err2 has value context canceled
Bot seems to keep working fine, but I'm concerned it may be causing memory leaks.
issue

@CarsonHoffman
Copy link
Collaborator

This is a bug in Go 1.17.3. Downgrade to 1.17.2 or wait for 1.17.4, where the patch will presumably be applied.

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