Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

big requests lead to 413 PayloadTooLargeError #98

Open
gerrnot opened this issue Jul 22, 2022 · 1 comment
Open

big requests lead to 413 PayloadTooLargeError #98

gerrnot opened this issue Jul 22, 2022 · 1 comment

Comments

@gerrnot
Copy link

gerrnot commented Jul 22, 2022

Hi,

A colleague pushed a change with many changed files/folders (87) to GitHub.

As the list of files is part of the webhook event, this had the effect that a quite large webhook event (request body) was delivered to smee.io.

The webhook type was a regular json and had a size of 156484 bytes.

I think it would be good for stability to also support larger pushes and increase the size to maybe 1MB.

Workaround: Push a smaller commit afterwards, then only the changes of the newer commit are part of the event.

Regards,
Gernot

@wolfy1339
Copy link
Contributor

GitHub can send payloads of up to 25MB 1

Smee is not meant to be used as a production service, it's to help facilitate during development.

Now, 25MB is definitely out of the question, 1MB payloads sound reasonable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants