Comments (24)
I suggest raising support tickets with Google Play as well, maybe we get a better answer and resolution as the issue seems to be more widespread and only affecting API usage (I was able to consistently upload via the web Console): https://support.google.com/googleplay/android-developer/contact/general_contact
from gradle-play-publisher.
We just ran into this issue as well. This is caused by an incomplete declaration of app's Financial features.
The deadline for that was August 31st. And it seems that they started rejecting builds into accounts that are not setup.
To fix this:
- Go to Google Play Store
- Open your app
- Go to App Content (under Policy and programs)
- Finish Financial Features declaration
- Submit changes for review (seems to take minutes)
- Publish your app
![image](https://private-user-images.githubusercontent.com/115018354/268101010-73f003a9-6c88-40cd-9d96-3d6565c4614c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDgxMDc5NjgsIm5iZiI6MTcwODEwNzY2OCwicGF0aCI6Ii8xMTUwMTgzNTQvMjY4MTAxMDEwLTczZjAwM2E5LTZjODgtNDBjZC05ZDk2LTNkNjU2NWM0NjE0Yy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMjE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDIxNlQxODIxMDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03ODk2OTBmN2NlYWM1M2U4OWE4OTA1NzMxM2U2MDhkYjU1OGNlMTVkNjc1MmU4NzZiYzY4YmU3NTMwNjg3OWIzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.H1QnmfxD9711Z2QQeCuW-fHpX3ueRdFkIC6KOAS5cts)
from gradle-play-publisher.
@SUPERCILEX , thanks for the tip. It might have occurred to me.
However, I'm quite sure the problem is not just the incomplete store listing. Our store listing is updated according to the comments above, and the store console does not show any issues.
In our case, there are 4 APKs to upload due to different ABIs. The sizes of the apks are from 70 to around 100 MB. So 'gradle-play-publisher' tries to upload 4 APKs and 4 times the same mapping = 8 files.
Here are my observations after setting the gradle log level to '--info' and observing the task multiple times:
- The number of failed uploads is random. Sometimes just 1 file fails, sometimes 4. Once (after manually deleting the mapping), the task uploaded all APKs successfully.
- There are a lot of responses with http code 308. That is expected, due to resumable file transfers.
- But there are a couple of http 401 responses with a subsequent reauthentication.
- I believe the uploads do not resume correctly after the auth and fail with insufficient data written.
- The count of authentication calls is the same as the count of failed uploads.
- I do not see a subsequent request with the same upload ID to the response with code 308, that happened prior to the authentication.
So, if the gradle error is:
> A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishApk$Processor
> There were multiple failures while executing work items
> A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishApk$ApkUploader
> insufficient data written
> A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishApk$ApkUploader
> insufficient data written
> A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishApk$ApkUploader
> insufficient data written
with 3 failed uploads, then there were 3 authentification calls during the task execution.
@SUPERCILEX , could you please have a look at it? Should I create a new issue?
from gradle-play-publisher.
I just finally got my act together and reached out to Google, I'll keep you posted when I hear back.
from gradle-play-publisher.
I contacted Google yesterday. They said they need time to look into it. I pointed them to this issue, but the more reports they get, the more real it will be to them.
from gradle-play-publisher.
Google seems to have fixed something in the meantime, because my apps got finally uploaded after many tries in the last three days.
from gradle-play-publisher.
We can confirm, we have encountered the same problem.
* What went wrong:
> A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishBundle$Processor
> There was a failure while executing work items
> A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishBundle$BundleUploader
> insufficient data written
from gradle-play-publisher.
Thanks that was it for us as well
from gradle-play-publisher.
We also ran into this recently, although the problem was with a user-account deletion section recently added/modified for App Content. It would be nice if Google somehow disclosed this in the error for gradle-play-publisher to pick up on and report back, but I guess it's missing on Google's part.
from gradle-play-publisher.
We have this issue too, but it still persists even after declaring financial features and user-account deletion.
Our build generates multiple apks for different ABIs and it seems that 3 out of 4 apks are uploaded correctly. The publish task fails with "insufficient data written" error when uploading the 4th apk.
@SUPERCILEX , is there a switch to run the task in verbose mode with logging please?
from gradle-play-publisher.
I had the same issue with the Data safety
section
Once submitted (even in review), it worked
from gradle-play-publisher.
@LudoFarkas https://docs.gradle.org/current/userguide/logging.html#logLevels debug dumps the network requests IIRC.
from gradle-play-publisher.
@LudoFarkas We are in a similar situation, even after submitting all of our documentation, we are still seeing this issue (but not consistently)
from gradle-play-publisher.
I'm reopening because this started happening again after filling out all required forms in the console and publishing that.
from gradle-play-publisher.
Confirming: We are affected as well
from gradle-play-publisher.
Even seeing where some uploads work and others fail inside the same invocation of gradle.
The stark difference in time spent before getting that error seems smelly to me.
from gradle-play-publisher.
We're seeing this as well. Is this a google issue?
from gradle-play-publisher.
Howdy there!
sadly i am seeing same issue in my project :( Listing in play store looks fine
> A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishApk$Processor
> There were multiple failures while executing work items
> A failure occurred while executing com.github.triplet.gradle.play.tasks.PublishApk$ApkUploader
> insufficient data written
Any more ideas please ?
from gradle-play-publisher.
same here 🤔😢
from gradle-play-publisher.
Same here. I am really relying on this. Uploading it manually with mulitple ABIS and bundles is not really an option. Any alternative? Is someone in contact with Google already?
from gradle-play-publisher.
I too can confirm that all of our uploads were successful yesterday.
from gradle-play-publisher.
Working again. What a relief 👍
from gradle-play-publisher.
Confirming things are working again. The price for depending on centralized entities for our products.
from gradle-play-publisher.
This issue has been automatically marked as stale because it has not had recent
activity. It will be closed if no further activity occurs. Thank you for your
contributions.
from gradle-play-publisher.
Related Issues (20)
- Can't publish wearable version of the same app HOT 1
- Consider shading Google API client dependencies HOT 2
- A gradle task for uploading native debug symbols HOT 1
- Deprecation warning about `Project.getConvention()` when run using gradle 8.2.1 HOT 7
- Wear release note is not retrieve with bootstrapListing HOT 1
- set :play:android-publisher as an API dependency HOT 1
- Conflict with 'com.google.firebase.appdistribution' plugin HOT 1
- bootstrapReleaseListing: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden" HOT 2
- Error: PKIX path building failed HOT 1
- Task installRelease not found when publishing is disabled HOT 1
- Release notes languages management HOT 6
- Release notes for 3.8.5 release? Where to find? HOT 2
- Key Signature Mismatch on CI and not Locally HOT 4
- Publish to Wear OS only? HOT 6
- Build fails on the version conflict with ResolutionStrategy.IGNORE HOT 3
- available-version-codes.txt (No such file or directory) when turned on gradle configuration cache HOT 3
- in-app update priority is always 0 HOT 1
- The Project.getConvention() method has been deprecated. This is scheduled to be removed in Gradle 9.0. HOT 1
- Some problems were found with the configuration of task ':app:promoteArtifact' (type 'UpdatableTrackLifecycleTask')
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 gradle-play-publisher.