uploading a Nuget package Err #14166

Closed
opened 2025-11-02 11:05:01 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @Karlvision on GitHub (Feb 21, 2025).

Description

When uploading a Nuget package, after I obfuscated and encrypted the Dll files in the package, the upload prompted an error, Error: Error while copying content to a stream. is it possible that the upload will have a checksum?

Gitea Version

1.21

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Image

Database

None

Originally created by @Karlvision on GitHub (Feb 21, 2025). ### Description When uploading a Nuget package, after I obfuscated and encrypted the Dll files in the package, the upload prompted an error, Error: Error while copying content to a stream. is it possible that the upload will have a checksum? ### Gitea Version 1.21 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? ![Image](https://github.com/user-attachments/assets/20920e57-dbe3-4d92-9d03-9dffe341cc18) ### Database None
GiteaMirror added the topic/packagestype/bug labels 2025-11-02 11:05:01 -06:00
Author
Owner

@Karlvision commented on GitHub (Feb 26, 2025):

When I set up another open source private repository, I tried to upload the file that was reporting the error, and everything worked fine.

Image

Image

Image

@Karlvision commented on GitHub (Feb 26, 2025): When I set up another open source private repository, I tried to upload the file that was reporting the error, and everything worked fine. ![Image](https://github.com/user-attachments/assets/e2a28861-6671-4428-a0d1-c929571c4c87) ![Image](https://github.com/user-attachments/assets/ff087be8-e1a9-4ce5-a382-45396d86bee6) ![Image](https://github.com/user-attachments/assets/1c760272-3561-40ea-9e7c-fa7009b2c888)
Author
Owner

@lunny commented on GitHub (Feb 26, 2025):

I noticed that you are still using v1.21. Can you upgrade to v1.23 and try again?

@lunny commented on GitHub (Feb 26, 2025): I noticed that you are still using v1.21. Can you upgrade to v1.23 and try again?
Author
Owner

@Karlvision commented on GitHub (Feb 27, 2025):

I noticed that you are still using v1.21. Can you upgrade to v1.23 and try again?

Hello, I upgraded to the latest version 1.23.4, the problem still exists

@Karlvision commented on GitHub (Feb 27, 2025): > I noticed that you are still using v1.21. Can you upgrade to v1.23 and try again? Hello, I upgraded to the latest version 1.23.4, the problem still exists
Author
Owner

@wxiaoguang commented on GitHub (Mar 4, 2025):

Do you see error logs on Gitea side? Error: Error while copying content to a stream. is a client message. Server error messages could help.

after I obfuscated and encrypted the Dll files in the package

Is it related to the "obfuscated and encrypted"? Will a normal DLL succeed?

@wxiaoguang commented on GitHub (Mar 4, 2025): Do you see error logs on Gitea side? `Error: Error while copying content to a stream.` is a client message. Server error messages could help. > after I obfuscated and encrypted the Dll files in the package Is it related to the "obfuscated and encrypted"? Will a normal DLL succeed?
Author
Owner

@Karlvision commented on GitHub (Mar 8, 2025):

Do you see error logs on Gitea side? is a client message. Server error messages could help.Error: Error while copying content to a stream.

after I obfuscated and encrypted the Dll files in the package

Is it related to the "obfuscated and encrypted"? Will a normal DLL succeed?

normal DLL OK obfuscated Err

@Karlvision commented on GitHub (Mar 8, 2025): > Do you see error logs on Gitea side? is a client message. Server error messages could help.`Error: Error while copying content to a stream.` > > > after I obfuscated and encrypted the Dll files in the package > > Is it related to the "obfuscated and encrypted"? Will a normal DLL succeed? normal DLL OK obfuscated Err
Author
Owner

@Karlvision commented on GitHub (Mar 12, 2025):

Help me

@Karlvision commented on GitHub (Mar 12, 2025): Help me
Author
Owner

@Theo-Rowan commented on GitHub (Apr 2, 2025):

I suspect the issue is caused by the large size of the nupkg package file. Has this problem been fixed yet?

@Theo-Rowan commented on GitHub (Apr 2, 2025): I suspect the issue is caused by the large size of the nupkg package file. Has this problem been fixed yet?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14166