-
-
Notifications
You must be signed in to change notification settings - Fork 279
SSL socket created but not properly closed. #621
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
I've tested this out and can't replicate the issue you are getting. I'm using the latest v2.2.0 of the client library. Kapture.2023-12-01.at.10.03.00.mp4 |
Hey, I still face this issue with the updated library in my fastapi application. I'll share a gist with you here. |
Same issue but with |
@AdityaPunetha saying same issue doesn't really help. You need to provide a reproducible example of this. I have shown in my recording this is working without an issue so it's rather hard to fix a issue I nor anyone on the team have no way of reproducing. |
Repo: https://github.com/AdityaPunetha/supabase-client-bug/tree/master |
+1! |
Were you able to reproduce it? @silentworks |
@AdityaPunetha this is not the same as the original issue you are posting this on. You need to call signout somewhere in your code for the extra thread to stop there is another issue related to this on here #494 (comment). |
@AdityaPunetha in your case you should be using the async client along with the Kapture.2024-01-11.at.22.15.34.mp4 |
Thank you so much for dedicating your time to create this video. I've grasped the issue, and I believe it would be beneficial to others encountering the same problem if you could upload the new code. You can create the PR and i'll just merge it. I was having a hard time due to lack of documentation, your explanation proved incredibly helpful, Once again, Thank you |
@AdityaPunetha thank you for the reproducible demo repo, it really helped in figuring out what the issue was that everyone was hitting. I've created a PR to your repo with the changes AdityaPunetha/supabase-client-bug#1 |
Closing this out as the original issue was resolved. |
Describe the bug
On using
supabase.table()
in my FastAPI application, I think the library doesn't end up closing the SSL Socket leading to this error:To Reproduce
Steps to reproduce the behavior:
run using uvicorn
2. Exit using Ctrl+C
Expected behavior
Normal exit.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: