Skip to content

Restart Server should not fail if GitHub isn't reachable #2

Description

@ataft

If GitHub is not reachable (site down, access token expired, etc.), then the FlexIt server goes down and never comes back up. It should be able to handle the error and either come back up or never go down regardless of GitHub status.

Here's the end of the log when this error happens:

Pulling changes from GitHub
remote: The 'ABC' enterprise forbids access via a fine-grained personal access tokens if the token's lifetime is greater than 366 days. Please adjust your token's lifetime at the following URL: https://github.com/settings/personal-access-tokens/10219752
fatal: unable to access 'https://github.com/hartnellcollege/hartnell-flexit-docker-deploy.git/': The requested URL returned error: 403

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions