-
Notifications
You must be signed in to change notification settings - Fork 145
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
Failed to publish AAB with error #188
Comments
Experiencing this issue too |
Same here |
1 similar comment
Same here |
By "randomly", do you mean it sometimes fails and sometimes succeeds? |
It's looks like the issue is on Google side. The same error occurs when publishing via fastlane: fastlane/fastlane#21507 |
@r0adkll From the issue shared by @aabiryukov, it seems the fix is to update the android publisher url to |
Interesting, we can give that a go |
It's worth mentioning Fastlane developers confirmed the URL is not an issue, and all they could do was optimize network calls so it had less chances to happen |
If anyone is interested in testing this, please try using the branch for #190 in your action. Note that this error is random, and a one-shot run is not enough to say whether this has helped |
Same "Invalid Credentials" error from the attempt-fix... branch, if you want one more data point. |
I have the same error just when I'm trying to use
|
I don't think the whatsNewDirectory really affects anything. This is my task - name: upload PROD package to Google Play
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.PLAY_CONSOLE_SERVICE_ACCOUNT_JSON }}
packageName: io.thering.app
releaseFiles: app-release.aab
releaseName: ${{ inputs.tag }}
track: internal
status: inProgress And I end up having the same issue everyone is describing (which has occured every time I launched a build from this morning) |
I'm not using the whatsNew property and still experiencing this issue. I'm using 1.1.1 though |
We do face the same issue. |
Same issue with 1.1.1, started happening today! --- and then, after several failures, it worked. |
I've seen this maybe every other run for a week or so, but it feels more frequent today. |
I have just published a release that bumps all versions - including androidpublisher. Let me know if you see a change in the status of this. For now, I will mark this as invalid since it seems to be on Google's side |
@boswelja Will monitor to see if the issue shows up again. |
v1.1.2 didn't help us |
Alright, version 1.1.2 worked for us, but not on the first try. It took 5-6 attempts to successfully upload the file to the Play Store. Is it possible to implement a retry option? This way, it could automatically retry the file submission to the Play Store if it fails, with an adjustable amount of time between each retry. This is the solution that Fastlane has come up with. cc @boswelja |
For me, this problem started last week. I've been using it for months and never had any problems. Something has definitely changed on Google's side. In my case it always works on the second try. |
I've faced the same issue today, updated to 1.1.2 and it doesn't work. I've tried to re-run the failed upload job 8 times.
|
Looks like fastlane "solved" this issue by introducing a retry mechanism with a max_retries parameter. Maybe this will need to do the same workaround? |
I'm not sure how to feel about that solution. Is Google aware of this issue? Does GitHub Actions have a retry mechanism for jobs/workflows already? |
@boswelja Sorry, I just saw your response. I'm not sure if Google is aware of the issue or not, but as everything Google I'm sure they will move at a glacial pace to fix it after ignoring it for a while. Github Actions doesn't offer a retry mechanism besides running a custom run command, which gets very messy and complex. I put up a PR for a try mechanism if you're interested! No hard feelings at all if you don't feel comfortable with the solution. I would test it locally, but I'm not sure how so I'd recommend keeping that in mind. |
@r0adkll any update on this issue ,i am getting "Error: Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project." |
It is a problem on Google's side, as per the discussion above. |
Lots of folks over here having success with:
Is that a possibility here? |
As per the conversation above, it did not help. In fact, it outright broke some functionality. |
It worked for me after I created a new service account key. |
As the failure doesn't occur consistently: Did your upload with the new service account key succeed multiple times? |
After formatting the Can someone confirm or debunk this observation? |
I've tested the code locally(with real credentials and aab) and the successful upload is completely random. At first, I thought that the problem was passing authentication parameters to the |
Hey fellow developers! |
I didn't see any potential problems related to authentication in this code. I agree with @boswelja, it's definitely a Google related problem(maybe API library, maybe backend). Anyway, this issue broke my pipeline, I don't want to return to the stone age and publish apps by hand. I can suggest wrapping the upload action with retry-action, I don’t know what consequences this can lead to. Depending on the step where it fails, it can create a new release on every retry for example. In my tests, it fails on uploadReleaseFiles. If it always the case, then, my opinion, this retry mechanism will not lead to any problems. |
Thanks for the recommendation. Just give me a chance to use the retry-action. I wrapped up the upload-google-play with retry-action with a max of 10 times retry and tested it out. It's working as expected. |
@randytang2021, can you please share your script here with us? |
old code: `
` code with retry: `
` |
Describe the bug
Am randomly facing the below error:
Workflow Step Configuration
``
Step Debugging
At the moment, I don't have the debug logs. I'll share them with you once I've collected this information from the workflow.
The text was updated successfully, but these errors were encountered: