(aaps-ci-troubleshooting)=
This page collects troubleshooting tips for the [Browser build](../SettingUpAaps/BrowserBuild.md).
(aaps-ci-preparation-web)=
- When you open aaps-ci-preparation.html using a file manager, it will start a temporary local server on your phone to display the webpage and receive the Google refresh token.
- If you see the screen below, it means you have been inactive for a while, and the file manager has already shut down the local server.
- Please reopen aaps-ci-preparation.html using the file manager app and complete the remaining steps.
(aaps-ci-google-token-expired)=
- Google OAuth2 refresh tokens will expire if not used for 6 months, and may also become invalid under other conditions (e.g., you have changed your Google account password, or manually revoked access). For more details, see the Google OAuth2 documentation.
- You will see an error indicating that the access token is invalid, as shown below:
- If your build fails due to an expired or revoked Google refresh token, you will need to redo the Google Drive Auth steps to obtain a new
GDRIVE_OAUTH2token and update the secret in your GitHub repository, then re-run the build workflow.
(aaps-ci-disable-software)=
- Disable any VPN or security app (firewall, antimalware,...) on the phone before trying to get the OAUTH key.
(aaps-ci-actions-permission)=
- Make sure GitHub Actions policies are set to “Allow all actions and reusable workflows” (Settings → Actions → General).
actions/checkout@v4 and actions/setup-java@v4 are not allowed to be used in xxxxx/AndroidAPS.
Actions in this workflow must be: within a repository owned by xxxxx


