-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Wildcards in NO_PROXY environment variable break tasks relying on typed-rest-client #14346
Comments
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
Is there any news on getting this fixed? We are running Azure DevOps Server and have just upgraded to the latest server (2020.1.1 RC1) and the latest agent (2.189.0) and are getting the same error. This is preventing us from being able to use the Azure App Service Deploy task to deploy into Azure from our private agents. |
Hi @maciejporebski @johnsharland77 this issue seems to be already fixed for DownloadPackageV1 task (v1.185.0) and rolled out for Azure DevOps Services. To receive last task update on on-prem at the moment - you need to manually download it using tfx-cli tool. |
@maciejporebski @johnsharland77 let me close this one since it seems to be already resolved - please let us know if you still have any issues. |
Hey @anatolybolshakov. We now get this error when the Release pipeline attempts to download artifacts. Task: Download build artifacts The version of 'typed-rest-client' in the node_modules of that task is 1.2.0
|
Hi @maciejporebski reopening this one - let us take a look. |
Looks like issue is still relevant for tasks which use typed-rest-client less than v1.8.3 (fixed in PR) - for azure-devops-node-api it was picked up in v10.2.1. We need to update all tasks which use these dependencies - to resolve issue for other in-the-box tasks. |
Hi @maciejporebski we've rolled out related fix - closing this issue at the moment. Please let us know if you have any other questions. |
Note
Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: DownloadPackageV1 (and likely other tasks using typed-rest-client)
Working version: 1.179.0
Broken version: 1.182.2
list here (V# not needed):
https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/DownloadPackageV1
Environment
Issue Description
When using a task which utilized typed-rest-client on a machine with no_proxy environment variable containing wildcards the task fails (in case of DownloadPackageV1 task it fails silently).
The failure is caused by the typed-rest-client constructing a RegExp for each value in the no_proxy list without escaping the wildcard: https://github.com/microsoft/typed-rest-client/blob/master/lib/HttpClient.ts#L146
Issue for root cause in typed-rest-client repo: microsoft/typed-rest-client#215
PR for root cause in typed-rest-client repo: microsoft/typed-rest-client#216
This issue mentions the same problem in NuGetAuthenticateTask: #14015
Task logs
[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
[Insert error from the logs here for a quick overview]
The text was updated successfully, but these errors were encountered: