Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Service Exception: HttpResponseError: The request body is too large and exceeds the maximum permissible limit #1900

@AdamL-Microsoft

Description

@AdamL-Microsoft

Per alerts on prod, seeing multiple (50+ at the time of this bug report) Azure function exceptions from:

prop__functionName
Functions.queue_file_changes

Exception stack trace:

Result: Failure
Exception: HttpResponseError: The request body is too large and exceeds the maximum permissible limit.
RequestId:8f313dbd-c003-007a-11c5-60f512000000
Time:2022-05-05T21:16:26.9122823Z
ErrorCode:RequestBodyTooLarge
Error:None
MaxLimit:65536
Stack: File "/azure-functions-host/workers/python/3.8/LINUX/X64/azure_functions_worker/dispatcher.py", line 402, in _handle__invocation_request
call_result = await self._loop.run_in_executor(
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/azure-functions-host/workers/python/3.8/LINUX/X64/azure_functions_worker/dispatcher.py", line 611, in _run_sync_func
return ExtensionManager.get_sync_invocation_wrapper(context,
File "/azure-functions-host/workers/python/3.8/LINUX/X64/azure_functions_worker/extension.py", line 215, in _raw_invocation_wrapper
result = function(**args)
File "/home/site/wwwroot/queue_file_changes/__init__.py", line 38, in main
file_added(event, last_try)
File "/home/site/wwwroot/queue_file_changes/__init__.py", line 25, in file_added
new_files(container, path, fail_task_on_transient_error)
File "/home/site/wwwroot/onefuzzlib/notifications/main.py", line 176, in new_files
send_event(crash_report_event)
File "/home/site/wwwroot/onefuzzlib/events.py", line 79, in send_event
queue_signalr_event(event_message)
File "/home/site/wwwroot/onefuzzlib/events.py", line 26, in queue_signalr_event
send_message("signalr-events", message, StorageType.config)
File "/home/site/wwwroot/onefuzzlib/azure/queue.py", line 121, in send_message
queue.send_message(
File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/core/tracing/decorator.py", line 83, in wrapper_use_tracer
return func(*args, **kwargs)
File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/storage/queue/_queue_client.py", line 491, in send_message
process_storage_error(error)
File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/storage/queue/_shared/response_handlers.py", line 148, in process_storage_error
error.raise_with_traceback()
File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/core/exceptions.py", line 247, in raise_with_traceback
raise super(AzureError, self).with_traceback(self.exc_traceback)
File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/storage/queue/_queue_client.py", line 477, in send_message
enqueued = self._client.messages.enqueue(
File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/storage/queue/_generated/operations/_messages_operations.py", line 282, in enqueue
raise HttpResponseError(response=response, model=error)
<https://teams.microsoft.com/l/message/19:7cbbfbf16ed343579038e6a56ff6646f@thread.tacv2/1651788575205?tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47&amp;groupId=97adb960-d2b2-4b40-8c4c-8520fff564c1&amp;parentMessageId=1651785717681&amp;teamName=OneFuzz&amp;channelName=Service Exceptions&amp;createdTime=1651788575205>

Information

  • Onefuzz version: 5.3

Provide detailed reproduction steps (if any)

Currently unsure on repro steps. Investigating.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions