microsoft / vso-agent

Visual Studio Team Services and TFS agent for Mac OSX and Linux
MIT License
132 stars 57 forks source link

Configuring the agent fails with Bad Request (400) - duplicate envvars differing by case #245

Closed DRCawthon closed 8 years ago

DRCawthon commented 8 years ago

When we pulled PREVIEW and tried to ./run.sh on CentOS7 we got an error about Bad Request (400): An item with the same key has already been added.

The agent would not start.

We looked in ENV variables and noticed that HTTP_PROXY/HTTPS_PROXY/NO_PROXY was in there multiple times in both upper and lower case.

Solution was to unset the lower case duplicates then we could start/configure the agent.

DRCawthon commented 8 years ago

centos7 agent issue

bryanmacfarlane commented 8 years ago

I'll fix - capabilities should be case insensitive on Linux

bryanmacfarlane commented 8 years ago

The replacement for this agent does not have this issue. We are releasing a new preview tomorrow or early next week. It already has more features than this one

https://github.com/Microsoft/vsts-agent