Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

action not using no_proxy (on windows) #98

Open
Ravio1i opened this issue Apr 28, 2023 · 0 comments
Open

action not using no_proxy (on windows) #98

Ravio1i opened this issue Apr 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Ravio1i
Copy link

Ravio1i commented Apr 28, 2023

Describe the bug

When running the action on a windows runner (2019) behind a corporate proxy, and pulling with with: download-repository the no_proxy is ignored.

Current behavior

Run actions/jfrog_setup-jfrog-cli@v3
  with:
    download-repository: jfrog_cli_root-remote
    version: 2.35.0
  env:
    JF_URL: ***
    JF_USER: ***
    JF_ACCESS_TOKEN: ***
::group::Setup JFrog CLI
Setup JFrog CLI
  ##[debug]isExplicit: 2.[35](***/sample-pipelines/actions/runs/39980/jobs/159441#step:3:36).0
  ##[debug]explicit? true
  ##[debug]checking cache: C:\actions-runner\_work\_tool\jf.exe\2.35.0\x64
  ##[debug]not found
  ##[debug]isExplicit: 2.35.0
  ##[debug]explicit? true
  ##[debug]checking cache: C:\actions-runner\_work\_tool\jfrog.exe\2.35.0\x64
  ##[debug]not found
  Downloading JFrog CLI from https://***/artifactory/jfrog_cli_root-remote/v2/2.35.0/jfrog-cli-windows-amd64/jfrog.exe
  ##[debug]Downloading https://***/artifactory/jfrog_cli_root-remote/v2/2.35.0/jfrog-cli-windows-amd64/jfrog.exe
  ##[debug]Destination C:\actions-runner\_work\_temp\ee691c3f-b5be-4a67-97d6-c56b[42](https://***/sample-pipelines/actions/runs/39980/jobs/159441#step:3:43)24b26f
  ##[debug]set auth
  tunneling socket could not be established, statusCode=502
  Waiting 10 seconds before trying again
  ##[debug]set auth
  tunneling socket could not be established, statusCode=[50](****=
  Waiting 14 seconds before trying again
  ##[debug]set auth
  Error: tunneling socket could not be established, statusCode=502

Reproduction steps

Setting up a windows runner behind a proxy by specifying .env on host, and specifying the artifactory ulr in no proxy

$env:http_proxy="http://proxy.url:port"
$env:https_proxy="http://proxy.url:port"
$env:no_proxy="localhost;127.0.0.1;<artifactory_url>"
http_proxy="http://proxy.url:port"
https_proxy="http://proxy.url:port"
no_proxy="localhost;127.0.0.1;<artifactory_url>"

Expected behavior

Downloading the jfrog version

Setup JFrog CLI version

v3

JFrog CLI version

2.35.0

Workflow operating system type and version

windows-2019

JFrog Artifactory version (if relevant)

No response

JFrog Xray version (if relevant)

No response

@Ravio1i Ravio1i added the bug Something isn't working label Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant