Skip to content

There is a 2GB limit to the size of the nugget package, so push is not possible. #797

@woosuk-yang

Description

@woosuk-yang

Describe the bug

I am trying to push to the baget server for packages over 2GB. Packages under 2GB are uploaded, but for packages over 2GB, the error "500 (Internal Server Error)" appears.

The way I'm using the baget is in a docker. So I took an error log of the docker and confirmed that it was an error, "System.IO.InvalidDataException: Multipart body length limit 2147483647 exceeded." Can't I upload more than 2GB of packages?

Please let me know if there is a way to set the related config.

To Reproduce

Steps to reproduce the behavior:

  1. Using this version of BaGet : v0.4.0-preview2
  2. the way to use Baget : Ubuntu 20.04, docker
  3. Run this code : ../nuget.exe push -Source http://0.0.0.0:5555/v3/index.json -ApiKey -Verbosity detailed *.nupkg
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

  • nuget push error log
    image

  • my baget server error log
    image

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions