Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

action not using no_proxy (on windows)

Aperta
#98 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
github-actions, typescript
Ambito
ci-cd, devops

Direzione di ricerca

Non è indicato alcun file sorgente né alcun test. Inizia tracciando il percorso di download del repository dell'azione e il modo in cui gestisce le variabili d'ambiente del proxy su Windows; riproduci il problema con la configurazione windows-2019 fornita. Il lavoro è completato quando l'URL Artifactory configurata bypassa il proxy e la versione richiesta di JFrog CLI viene scaricata correttamente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
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

Lingua principale
TypeScript
Stelle
266
Fork
110
Merge medio
3g 15h
PR unite (30g)
3

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di jfrog/setup-jfrog-cli

Tutte le issue di jfrog/setup-jfrog-cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.