You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server closed connection: FRAME_ERROR - cannot decode <<1,0>>, code=501, class_id=60, method_id=30
Traceback (most recent call last):
File "/home/nhumrich/test3.py", line 22, in <module>
loop.run_until_complete(close(consumer_id))
File "/usr/lib/python3.5/asyncio/base_events.py", line 387, in run_until_complete
return future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/home/nhumrich/test3.py", line 18, in close
await channel.basic_cancel(consumer_id)
File "/usr/lib/python3.5/site-packages/aioamqp/channel.py", line 678, in basic_cancel
'basic_cancel', frame, request, no_wait=no_wait, timeout=timeout))
File "/usr/lib/python3.5/site-packages/aioamqp/channel.py", line 201, in _write_frame_awaiting_response
return (yield from f)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
aioamqp.exceptions.ChannelClosed: (501, 'FRAME_ERROR - cannot decode <<1,0>>')
The text was updated successfully, but these errors were encountered:
So this issue is now moreso the fact that either a) the return to basic_consume should just be a string, or b) that basic_cancel should except the dict, or c) should give a much better error for invalid input.
Everytime I try to use
basic_cancel
I get an error that says "501 Frame Error"aioamqp.exceptions.ChannelClosed: (501, 'FRAME_ERROR - cannot decode <<1,0>>')
Here is an example program:
Running on Python 3.5.2 gives me:
The text was updated successfully, but these errors were encountered: