Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 2.23 KB

File metadata and controls

39 lines (27 loc) · 2.23 KB

(aaps-ci-troubleshooting)=

Browser build: troubleshooting

This page collects troubleshooting tips for the [Browser build](../SettingUpAaps/BrowserBuild.md).

AAPS-CI Troubleshooting

(aaps-ci-preparation-web)=

aaps-ci-preparation web page

  • 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_html_not_found

(aaps-ci-google-token-expired)=

Google Refresh 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:

aaps_ci_token_expired

  • 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_OAUTH2 token and update the secret in your GitHub repository, then re-run the build workflow.

(aaps-ci-disable-software)=

Disable Software That May Interfere With OAUTH Verification

  • Disable any VPN or security app (firewall, antimalware,...) on the phone before trying to get the OAUTH key.

(aaps-ci-actions-permission)=

Check GitHub Actions Permission Settings

  • Make sure GitHub Actions policies are set to “Allow all actions and reusable workflows” (Settings → Actions → General).

aaps_ci_actions_permission

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