-
Notifications
You must be signed in to change notification settings - Fork 41
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
Error: response body closed before all bytes were read #141
Comments
It looks like this is flaky. I ran this on both Linux (GitHub Actions runner) and MacOS (my local machine) many times the past two days without ever encountering this problem. Today, it fails almost all the time on the GitHub runner (but it also works sometimes).
|
Try https://github.com/Jake-Shadle/xwin/releases/tag/0.6.6-rc.1 and see if you have issues still, I realize it's flaky so it won't be 100% certain, but this is my current best guess at a fix. |
Thank you for providing a fix so quickly @Jake-Shadle. Will let you know if I still encounter the issue with |
Unfortunately, the issue occurs (for me). |
Ok, in that case, try doing |
Unfortunately setting |
I can't see your CI job, is it the exact same error? That should be impossible, the original error comes from ureq. |
@Jake-Shadle Looks like the maturin devs (PyO3/maturin#2222) are not willing to upgrade to latest xwin as it's using "bloated reqwest" as a dependency. Maybe ureq v3 could solve this? |
Well the move to reqwest didn't fix it, I doubt using ureq 3 will either, something else is going on at a deeper level. |
Maybe Microsoft servers are closing the connection? I was able to workaround the issue by retrying |
Sorry my bad. I forgot that the repo is not yet public. I removed the links. |
I suppose it's possible, but it could also be some kind of rate limiting happening in Github actions, is it happening for you on a local machine as well? I've literally never seen this locally nor in this project's CI, but if it happens only in Github actions it would indicate they are doing something, not Microsoft. Well, I guess they're both Microsoft, but not the SDK servers. |
It is happening for me locally both on Linux (Docker) and macOS. Windows works well. |
Ok, maybe it is a server issue then, I'll add retries. |
Alright, using
Hope that is helpful. This is with |
With Thanks a lot for the support @Jake-Shadle. |
xwin download
throwsError: response body closed before all bytes were read
on Linux/macOS making cross-compilation effectively not working.On Windows it's working.
The text was updated successfully, but these errors were encountered: