Skip to content

[docs] add troubleshooting for app access request size limit#39804

Closed
GavinFrazar wants to merge 1 commit intomasterfrom
gavinfrazar/document-aws-request-size-limit
Closed

[docs] add troubleshooting for app access request size limit#39804
GavinFrazar wants to merge 1 commit intomasterfrom
gavinfrazar/document-aws-request-size-limit

Conversation

@GavinFrazar
Copy link
Copy Markdown
Contributor

@GavinFrazar GavinFrazar commented Mar 25, 2024

Closes: #23784

This PR adds troubleshooting for when a user runs into Teleport's 10MB http body request size limit.

Related: #40242

@GavinFrazar GavinFrazar added documentation aws Used for AWS Related Issues. application-access backport/branch/v13 no-changelog Indicates that a PR does not require a changelog entry labels Mar 25, 2024
@github-actions
Copy link
Copy Markdown
Contributor

🤖 Vercel preview here: https://docs-r6lxd6w5d-goteleport.vercel.app/docs/ver/preview

Comment thread docs/pages/application-access/cloud-apis/aws-console.mdx
@GavinFrazar GavinFrazar requested review from greedy52 and removed request for kimlisa, mdwn and xinding33 March 28, 2024 18:39

## Request too large

Teleport enforces a 10MB size limit for the body of each HTTP request.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we enforce the 10MB on regular HTTP app? i though we only rewrite body for AWS/Azure/GCP.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, I'll check. I thought we enforced this in a lot of places

@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from ptgott March 28, 2024 18:47
@GavinFrazar
Copy link
Copy Markdown
Contributor Author

closing this in favor of #40242

aws clients prevent trying to upload a lambda function update larger than 50MiB, and Teleport won't block anything smaller than that, so users should not run into this trouble now:

$ tsh aws lambda update-function-code --function-name gavintest --zip-file fileb://./toobig.zip

An error occurred (RequestEntityTooLargeException) when calling the UpdateFunctionCode operation: Request must be smaller than 70167211 bytes for the UpdateFunctionCode operation
ERROR: exit status 254

@GavinFrazar GavinFrazar closed this Apr 5, 2024
@GavinFrazar GavinFrazar deleted the gavinfrazar/document-aws-request-size-limit branch April 5, 2024 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

application-access aws Used for AWS Related Issues. documentation no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tsh aws proxy's request size limit is prohibitive

4 participants