Skip to content

artifact Unable to make request message should suggest checking githubstatus.com for non self-hosted runners #2225

@jsoref

Description

@jsoref

const message = `Unable to make request: ${code}\nIf you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`

 

Perl
Failed to CreateArtifact: Unable to make request: ETIMEDOUT
If you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github

That's a cute error message, but I'm not using self-hosted runners, so it isn't helpful.

The job run had another error earlier:

#   Failed test 'apply.pl (stdout) expired'
#   at t/apply.t line 112.
#          got: 'SPELLCHECKER/apply.pl: Timeout connecting to GitHub this is probably an outage of sorts.
# Check https://www.githubstatus.com/history
# Try again later.'
#     expected: 'SPELLCHECKER/apply.pl: GitHub Run Artifact expired. You will need to trigger a new run.
# '

#   Failed test 'apply.pl (exit code) expired'
#   at t/apply.t line 114.
#          got: '9'
#     expected: '1'
# Looks like you failed 2 tests of 17.

If apply.pl was being run normally, that would have rendered as:

apply.pl: Timeout connecting to GitHub this is probably an outage of sorts.
Check https://www.githubstatus.com/history
Try again later.

Which feels like a better error message than "If you are using self-hosted runners, ..." for systems that aren't self-hosted.
Especially, since, it's probably possible for a runner to know if it's self-hosted.

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