-
Notifications
You must be signed in to change notification settings - Fork 2.1k
http2 failure in UploadAsset
#2113
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
Comments
Investigating... possibly related? I remember we recently (<1year ago) made a couple changes with respect to the request:
but I'm not sure if these are related. |
Turned out that is was hiding the actual errors:
|
Glad you found it. Closing issue. |
I still think there is an issue here to be fixed. Upgrading to HTTP/2 shouldn't have swallowed these error messages. |
Is anyone able to write a unit test that demonstrates the problem? |
any update on this? |
FWIW this happens occasionally for some goreleaser users as well (using v39). |
having the same issue when using goreleaser |
Still getting this error |
i have same, i using recreate but it said already exist... --> Uploading: app_compat_db.xml |
According to the official documentation here: https://docs.github.com/en/rest/releases/assets?apiVersion=2022-11-28#upload-a-release-asset
So I don't believe these reported errors are a fault of this client library, as the GitHub v3 API provides no apparent mechanism to overwrite an existing file using |
Running into the same issue, from what I gather the only "fix" is to wait and hope that this behaviour passes? In my use case I create a release via
error every single time (so far). Seeing the above comment mentions files with the same name, that is not the case here as no assets have been uploaded yet. |
We are using
ghr
to upload binary assets from Github to CI.Currently I am seeing an increased failure rate:
AFAIK
ghr
usesUploadAsset
: https://github.com/tcnksm/ghr/blob/93494744e6930d13e5c052eac9ca64a6027779a4/github.go#L184 from https://github.com/tcnksm/ghr/blob/93494744e6930d13e5c052eac9ca64a6027779a4/github.go#L209and the error looks like golang/go#25009
The text was updated successfully, but these errors were encountered: