-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
HTTPError: 413 Request Entity Too Large from https://pypi.org/legacy/ #285
Comments
@andife I think you might be hitting PyPI's size limits. You can try requesting higher limits from them: https://pypi.org/help/#file-size-limit. Judging by the file sizes @ https://github.com/onnx/onnx/actions/runs/11545065797#artifacts, individual dists should be fine, but perhaps you've hit an overall project size limit. This could also be some sort of a temporary outage. There's no way for me to know. Maybe, @di / @woodruffw would be able to check the PyPI logs. But it could also be a temporary fluke. It might work the next time. I'd retry to verify this. FWIW, the error is printed out by Twine. We just call it and have no way of handling it. If you believe there's a client-side bug, report it on their tracker. If it keeps happening, try opening a bug @ pypi/warehouse. But in general, I don't see how it would be caused by the action itself so I'm closing the issue for now. |
Yeah, that looks like a PyPI quota error. |
Thanks for the answer, but which quota exactly? I have the same quotas as for test.pypi.org where publishing was succesful one week before i switched to pypi.org |
Maybe the project upload one? I'm not sure. I'd try to cut another release to see if that was a glitch. I don't have visibility into the PyPI internal to know for sure. |
This is not a file or project size limit error, PyPI will return a |
Triaging some more now -- the only place I can find ...so that's not it. I'll keep looking. |
I looked a bit more into the workflow itself (https://github.com/onnx/onnx/actions/runs/11545065797/job/32132991237), and it has AFAICT there is nowhere else in PyPI that can return an Edit: I looked a bit more, and as best I can tell this originates from |
Many thanks for the further investigations |
@andife did you happen to attempt a rerun? This would be an additional data point for the investigators. |
It happened twice. At the moment the dev build happens only by weekly schedule. We had to add a manual transfer trigger for a dev build... |
The error is reproducible |
Okay, I reopened for visibility but I think it might need to be moved to Warehouse. @di @woodruffw WDYT? |
@webknjaz I think this is nginx indeed: |
Can't move this issue across orgs to https://github.com/pypi/warehouse but if someone can file an issue there we can look into this more. |
I opened an issue: pypi/warehouse#17076 |
onnx/onnx@3763953 is root cause. The upload endpoint was coded as |
Thanks, Ee! |
I am currently in the process of converting the publish / release process to trusted publishing and am using the gh-action-pypi-publish for this. I am a bit puzzled as the process worked when I published to testpypi, but now it no longer works with pypi.
I wonder if it could be related to the github action, or a configuration option that should still be set?
HTTPError: 413 Request Entity Too Large from https://pypi.org/legacy/
Do I have to split the publishing? Or is it only an issue of the pypi server?
Thanks a lot
onnx/onnx#6499
The text was updated successfully, but these errors were encountered: