I believe there are some missing metadata in AMQP configuration.
python documentation for frame object states:
"""
Process incoming Open frame to finish the connection negotiation.
The incoming frame format is::
- frame[0]: container_id (str)
- frame[1]: hostname (str)
- frame[2]: max_frame_size (int)
- frame[3]: channel_max (int)
- frame[4]: idle_timeout (Optional[int])
- frame[5]: outgoing_locales (Optional[List[bytes]])
- frame[6]: incoming_locales (Optional[List[bytes]])
- frame[7]: offered_capabilities (Optional[List[bytes]])
- frame[8]: desired_capabilities (Optional[List[bytes]])
- frame[9]: properties (Optional[Dict[bytes, bytes]])
"""
and frame that emulator sends looks like this:
[b'AMQPNetLite-9da6f748', b'localhost', 262144, 255, 1073741823]
while frame received from actual service bus looks a bit different:
[b’c7c56a778s8s9876’97687a876s6, None, 65555, 5111, 145949, None, None, None, None, None]
Not sure how to do that, but setting missing configuration fields to null would solve the issue.
Hi!
I'm trying to connect to emulator using python and it fails while establishing AMQP connection.
I think i know why I'm having an issue but first the details:
this is error from python:
logs from emulator:
I believe there are some missing metadata in AMQP configuration. python documentation for
frame
object states:and frame that emulator sends looks like this:
[b'AMQPNetLite-9da6f748', b'localhost', 262144, 255, 1073741823]
while frame received from actual service bus looks a bit different:
[b’c7c56a778s8s9876’97687a876s6, None, 65555, 5111, 145949, None, None, None, None, None]
Not sure how to do that, but setting missing configuration fields to
null
would solve the issue.