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

[BUG]: Incorrect HTTP_PROXY variable when using proxy without credentials #5136

Open
1 of 4 tasks
domsew opened this issue Mar 4, 2025 · 0 comments
Open
1 of 4 tasks

Comments

@domsew
Copy link

domsew commented Mar 4, 2025

What happened?

When agent is configured with --proxyurl http://proxy.example.com:8888 but without --proxyusername and --proxypassword, the ennviroment variable is set to:
HTTP_PROXY="http://undefined:undefined@proxy.example.com:8888/" instead of HTTP_PROXY="http://proxy.example.com:8888/"

Versions

4.248.0 / Linux

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Debian bookworm

Version controll system

git

Relevant log output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant