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

[MEV Boost\Builder] Response Body not closed (OkHttp) #5756

Closed
Tracked by #5396
StefanBratanov opened this issue Jun 10, 2022 · 0 comments · Fixed by #5758
Closed
Tracked by #5396

[MEV Boost\Builder] Response Body not closed (OkHttp) #5756

StefanBratanov opened this issue Jun 10, 2022 · 0 comments · Fixed by #5758
Assignees

Comments

@StefanBratanov
Copy link
Contributor

StefanBratanov commented Jun 10, 2022

The following warning was shown to one of our users.

consensus_1         | Jun 09, 2022 2:37:48 PM okhttp3.internal.platform.Platform log
consensus_1         | WARNING: A connection to http://mev-boost:18550/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
consensus_1         | Jun 09, 2022 2:37:48 PM okhttp3.internal.platform.Platform log
consensus_1         | WARNING: A connection to http://mev-boost:18550/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);

This warning is due to the fact the ResponseBody in OkHttpRestClient is not closed and it must be.

@StefanBratanov StefanBratanov changed the title [MEV Boost\Builder] Response Body not closed [MEV Boost\Builder] Response Body not closing Jun 10, 2022
@StefanBratanov StefanBratanov changed the title [MEV Boost\Builder] Response Body not closing [MEV Boost\Builder] Response Body not closing (OkHttp) Jun 10, 2022
@StefanBratanov StefanBratanov self-assigned this Jun 10, 2022
@StefanBratanov StefanBratanov changed the title [MEV Boost\Builder] Response Body not closing (OkHttp) [MEV Boost\Builder] Response Body not closed (OkHttp) Jun 10, 2022
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

Successfully merging a pull request may close this issue.

1 participant