Skip to content

batch download large files might fail due to message size limit #1319

@homework36

Description

@homework36
  File "/usr/local/lib/python3.7/site-packages/amqp/connection.py", line 521, in on_inbound_method
    method_sig, payload, content,
  File "/usr/local/lib/python3.7/site-packages/amqp/abstract_channel.py", line 145, in dispatch_method
    listener(*args)
  File "/usr/local/lib/python3.7/site-packages/amqp/channel.py", line 280, in _on_close
    reply_code, reply_text, (class_id, method_id), ChannelError,
amqp.exceptions.PreconditionFailed: Basic.publish: (406) PRECONDITION_FAILED - message size 83413489 is larger than configured max size 16777216

This means that we are trying to publish a message to a RabbitMQ queue via AMQP that is larger (≈83MB) than the configured maximum allowed message size (16MB).

And the downloaded archive.zip will be a broken empty file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions