aioamqp
aioamqp copied to clipboard
Check connection is open
Sometimes, i see in logs error: type=<class 'AttributeError'>, error='NoneType' object has no attribute 'drain' after channel.basic_publish. It is vary hard for reproduce.
which version of python are you using? maybe there's been a change in the standard library
python 3.7. Issue is open in python bag-tracker. Update library to new version - does not help.
You are planning to merge?
Hello @ikrivosheev.
I'm not going to merge this:
- until we know whats going on, if it's a disconnection handling problem, a specific python version bug
- until commits does not explain what we're going to fix with a comment (inside the commit or so)
- until we have some test reproducing the bug