Update RBE troubleshooting (flutter/engine#54568)

Add `could not get valid Application Default Credentials token` troubleshooting
This commit is contained in:
John McDole
2024-08-15 12:07:05 -07:00
committed by GitHub
parent 67cc9696a8
commit 885d9f1054

View File

@@ -145,6 +145,20 @@ of the single parameter `rebase_path()`.
## Troubleshooting
### Error obtaining credentials
If you get the following error while running `et build`:
```shell
E0815 09:30:03.169505 1413247 main.go:147] Error obtaining credentials: application default credentials were invalid: could not get valid Application Default Credentials token: oauth2: cannot fetch token: 400 Bad Request
```
Check your `${HOME}/.config/gcloud/application_default_credentials.json` to see if you are signed into another project / account. Run the following to reset the default credentials:
```shell
gcloud auth application-default login
```
### Slow builds
RBE builds can be slow for a few different reasons. The most common reason is