Skip to content

Commit

Permalink
Update RBE troubleshooting (flutter#54568)
Browse files Browse the repository at this point in the history
Add `could not get valid Application Default Credentials token` troubleshooting
  • Loading branch information
jtmcdole authored Aug 15, 2024
1 parent f2c7fcf commit 23ceae6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/rbe/rbe.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 23ceae6

Please sign in to comment.