-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
ResourceWarning: unclosed ssl.SSLSocket #2721
Comments
Can you share your Also are you connecting to AWS's S3? Or some self-hosted instance of S3-compatible API? If you're connecting to AWS S3, how's the connection configuration? Is it..
|
@aldy505 our only s3 config is in
|
@csvan What about the authentication? I haven't touch AWS S3 in a long time, so I can't really reproduce what you're facing. But.. you can find additional configurations (keys on My guess from the error is the connection to S3 is not properly terminated. The solution would be to make sure your EC2 and S3 instance is within the same AZ, or tweak your network settings on |
@aldy505 seems rather to be an issue in Python itself (or rather |
If this is a CPython issue, as indicated by the linked comment, it seems like there's not much for us to do at the moment. It seems like the ideal solution is for this to get fixed upstream in Python itself, and then we'll eventually ingest the fix as we upgrade. The logic described in the linked comment makes sense to me as well: we shouldn't filter for these errors on our end. |
Self-Hosted Version
23.12.1
CPU Architecture
x86_64
Docker Version
24.0.5
Docker Compose Version
2.24.0
Steps to Reproduce
Expected Result
Nothing unusual should be logged
Actual Result
Logs are being spammed by the following:
This does NOT happen when using regular file storage, so it seems somehow related to the s3 backing.
Event ID
No response
The text was updated successfully, but these errors were encountered: