-
Notifications
You must be signed in to change notification settings - Fork 417
0.22.0 - object of type 'asyncpg.pgproto.pgproto.WriteBuffer' has no len() #700
New issue
Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “No 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? No Sign in to your account
Comments
@fantix Seems like bad interation of the new |
I am hitting this issue as well, on 0.22.0 and using the new optimized |
That's indeed the issue I think. Though I'm not sure if we want to pass over the |
This fixes an issue in 0.22.0 where we passed WriteBuffer to writelines by mistake, which leads to an error under SSL and uvloop - the implementation that calls len() on each line of writelines(). Fixes: MagicStack#700
This fixes an issue in 0.22.0 where we passed WriteBuffer to writelines by mistake, which leads to an error under SSL and uvloop - the implementation that calls len() on each line of writelines(). Fixes: #700
Do you know when the fix for this will be release? Is this a warning log or does it mean that sql commands are failing? |
the issue with a local PostgreSQL install?:
uvloop?: Running under uvloop
After having upgraded our underlying asyncpg version from 0.21.0 to 0.22.0 two days ago, every ~12 hours our http service has been running into an issue at which it can no longer connect to the database without restarting. The issue being reported is
For context, we use tortoise-orm to interface with asyncpg.
The text was updated successfully, but these errors were encountered: