Skip to content

Azure Function Max Request Size Changed From AF 2.0 to 3.0 #5614

@v-alwout

Description

@v-alwout

Investigative information

  • Timestamp: 2020-02-06T23:02:23.322Z
  • Function App version: 3.0
  • Invocation ID: 406926fc-092b-4203-8ab0-87c5c50d8a81
  • Region: US West

Repro steps

  1. Deploy Azure Function 3.0 version of App to Staging Slot
  2. Swap slots with production
  3. Ensure production is on AF 3.0
  4. Notice Exception with Request being too large
  5. Swap back to old version
  6. Downgrade back to AF 2.0 (everything works again)

Expected behavior

Step 4 should not happen as the request sizes have not changed

Actual behavior

We get a Microsoft.AspNetCore.Server.IIS.BadHttpRequestException with message: Exception while executing function: FileManager Exception binding parameter 'req' Request body too large.

Known workarounds

Completely retool our systems from the ground up to upload files directly to blob storage and trigger function off of blob storage changes. (not really on the table currently)

Related information

  • Programming language used: C#
  • Bindings used: HttpTrigger

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions