Skip to content

[BUG] Error "fetch failed" when using proxy #814

Closed as not planned
Closed as not planned
@lindeberg

Description

@lindeberg

Describe the bug
Error "fetch failed" when using proxy on a self-hosted runner with a proxy with least privelege network access, and these domains are allowed:

  • api.deps.dev
  • api.securityscorecards.dev
2024-08-16T06:36:11.3271510Z Dependency review did not detect any denied packages
2024-08-16T06:36:31.3476555Z ##[error]fetch failed

To Reproduce
Steps to reproduce the behavior:

  1. Set up a self-hosted runner with least privelege network access
      - name: Dependency Review
        uses: actions/dependency-review-action@v4
        with:
          fail-on-severity: low
          license-check: false
  1. Allow the domains above
  2. Run dependency-review such that it triggers calls to these domains
  3. See the error

Expected behavior
It should be all good!

Screenshots
image

Action version
v4.3.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    StalebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions