PowerShell / PowerShell/vscode-powershell
Auto update feature for PS6 doesn't support proxy
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 1.9k
- Fork
- 548
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
System Details
System Details Output
### VSCode version: 1.39.2 6ab598523be7a800d7f3eb4d92d7ab9a66069390 x64
### VSCode extensions:
aaron-bond.better-comments@2.0.5
cnojima.readable-indent@1.2.1
CoenraadS.bracket-pair-colorizer@1.0.61
DavidAnson.vscode-markdownlint@0.31.0
eamodio.gitlens@10.1.1
felipecaputo.git-project-manager@1.7.1
Gruntfuggly.todo-tree@0.0.160
humao.rest-client@0.22.2
ms-azure-devops.azure-pipelines@1.157.4
ms-azuretools.vscode-apimanagement@0.1.1
ms-azuretools.vscode-azureappservice@0.16.0
ms-azuretools.vscode-azurefunctions@0.19.0
ms-azuretools.vscode-azurestorage@0.7.2
ms-azuretools.vscode-cosmosdb@0.11.0
ms-azuretools.vscode-docker@0.8.1
ms-mssql.mssql@1.6.0
ms-vscode-remote.remote-wsl@0.39.9
ms-vscode.azure-account@0.8.6
ms-vscode.azurecli@0.4.6
ms-vscode.powershell@2019.9.0
ms-vscode.vscode-node-azure-pack@0.0.9
ms-vsts.team@1.149.2
msazurermtools.azurerm-vscode-tools@0.7.0
sdras.night-owl@1.1.3
Tyriar.theme-sapphire@0.9.1
vsciot-vscode.azure-iot-toolkit@2.11.0
vscode-icons-team.vscode-icons@9.4.0
waderyan.gitblame@3.0.1
### PSES version:
### PowerShell version:
Name Value
---- -----
PSVersion 6.2.3
PSEdition Core
GitCommitId 6.2.3
OS Microsoft Windows 10.0.17763
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Issue Description
I am experiencing a problem with the auto update feature in PS extension for VSCode.
Expected Behaviour
If http.proxy and/or https.proxy is configured in any settings.json, the same proxy should be used with the Invoke-RestMethod -proxy
Actual Behaviour
Invoke-Restmethod with no -proxy will cause the auto update to fail as it can't download the installer.
Attached Logs
No logs, as I manually upgraded before saving them but you can clearly see what is happening in console that there is no -proxy etc.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia individuando il percorso di aggiornamento automatico dell’estensione e la relativa chiamata a Invoke-RestMethod, quindi esamina come vengono esposti http.proxy e https.proxy da settings.json. Verifica che l’updater utilizzi il proxy configurato durante il download dell’installer e conferma che l’aggiornamento abbia esito positivo in un ambiente con proxy.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- powershell, typescript, vscode
- Ambito
- devtools, networking
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100