Comments (9)
Do you have a web server like nginx as a proxy in front of devpi-server? If so, you have to allow bigger uploads there. For nginx the setting is client_max_body_size. You should also check the error logs on the server side to see why the connection was reset.
from devpi.
@fschulze
Thanks for your reply.
I have checked. I do not have any web server in front of devpi-server. It seems that the error is occur in devpi client. Beacuse it didn't print any error message in devpi-server when I execute upload.
Do you have a web server like nginx as a proxy in front of devpi-server? If so, you have to allow bigger uploads there. For nginx the setting is client_max_body_size. You should also check the error logs on the server side to see why the connection was reset.
from devpi.
Is this a one time error, or does it always happen when you try to upload? Is devpi-server on the same machine, or remote? The error is a connection related error, so it might have been a network glitch.
from devpi.
Always when upload large WHL files. If the size of WHL is not so large, it can upload successfully. Devpi-server is on the same machine.
from devpi.
Try setting a bigger limit on devpi-server with --max-request-body-size 2147483648
(the default is 1073741824), that will pass the max_request_body_size
setting to waitress. Please let me know if that fixes your issue, but leave this ticket open, so I can add the information to the documentation, where it is currently missing.
from devpi.
--max-request-body-size 2147483648
It worked! The large WHL file has been uploaded successfully. Thank you very much!
from devpi.
There also seems to be a bug in waitress. It should return 413 Content Too Large
instead of aborting/resetting the connection.
from devpi.
Hello. I am having a similar problem while uploading files bigger than 1 GB to devpi using postgres. I have tried using the --max-request-body-size
, and increased rhe max_wal_size
in postgres, but keep getting the following error:
pg8000.exceptions.DatabaseError: {'S': 'ERROR', 'V': 'ERROR', 'C': '54000', 'M': 'out of memory', 'D': 'Cannot enlarge string buffer containing 0 bytes by 1391196735 more bytes.', 'W': 'COPY files, line 1, column data', 'F': 'stringinfo.c', 'L': '303', 'R': 'enlargeStringInfo'}
Any idea how I could solve this issue ? Thanks
from devpi.
@SyedSameer95 this seems to be caused by the way devpi-postgresql stores binaries, see the just created #1029
from devpi.
Related Issues (20)
- Password-less authentication HOT 2
- Add an option to prevent upload packages with Private classifier
- Invalid nginx configuration generated when `--mirror-cache-expiry` is specified
- devpi test on windows unable to clean up in 7.0.3 HOT 1
- devpi use yml config file secretfile question HOT 2
- Any cryptographically random string is fine, one example is:
- [Solved] Cannot use a mirror that have do not have a project list in /pypi/web/simple, namely sjtu pypi mirror HOT 2
- Where is the documentation for the REST api? HOT 3
- server-6.12.0 fails to start HOT 1
- devpi-server not respecting --mirror-cache-expiry argument HOT 14
- Only root can upload documentation? HOT 8
- Project not found if mirrored server doesn't update project list after new project upload
- Option to modify index to change password HOT 2
- Running devpi-server as upstream cache in HA mode HOT 7
- Packages built with hatch will not upload to devpi HOT 5
- Setting password not possible with --restrict-modify
- Support packages for nogil Python
- Update documentation
- Building documentation fails with sphinx 8. HOT 2
- devpi upload fails on version 7.0 and later with PermissionError on folders
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devpi.