Giter VIP home page Giter VIP logo

Comments (6)

chrispat avatar chrispat commented on May 13, 2024

We have not moved to node 4 yet please use try with a previous version.

Sent from my Windows Phone


From: Jeppe Lund Andersenmailto:[email protected]
Sent: ‎9/‎26/‎2015 4:03 AM
To: Microsoft/vso-agentmailto:[email protected]
Subject: [vso-agent] Bad Request (400) when starting agent on OS X (#96)

I started getting the following error when running node agent/vsoagent.js on OS X (10.10)
Node: 4.1.1
NPM: 2.14.1

Jeppes-MacBook-Pro:agents jeppe$ node agent/vsoagent.js
Enter alternate username > [masked]
Enter alternate password >
Enter server url > https://[masked].visualstudio.com
Enter agent name (enter sets Jeppes-MacBook-Pro.local) > goto-osx-build-01
Enter agent pool name (enter sets default) >
successful connect as Jeppe Andersen
Retrieved agent pool: Default (1)
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap SHELL=/bin/bash
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap TMPDIR=/var/folders/nc/80xlnfl53zn_nzp_dns741480000gn/T/
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.hIWASLMb7j/Render
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap TERM_SESSION_ID=9FFD9560-AD28-4382-A646-19407F967A01
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap USER=jeppe
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.TxxYJhBQga/Listeners
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap PATH=/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap PWD=/Users/jeppe/agents
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap XPC_FLAGS=0x0
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap XPC_SERVICE_NAME=0
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap HOME=/Users/jeppe
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap LOGNAME=jeppe
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap LC_CTYPE=UTF-8
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap _=/usr/local/bin/node
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap OLDPWD=/Users/jeppe
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : PATH=/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap ant not found
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap clang=/usr/bin/clang
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap cmake not found
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap curl=/usr/bin/curl
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap git=/usr/bin/git
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap jake=.
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap java=/usr/bin/java
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap make=/usr/bin/make
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap mdtool not found
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap mdtool not found
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap mvn not found
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap node.js=/usr/local/bin/node
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap nodejs not found
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap npm=/usr/local/bin/npm
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap gulp not found
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap python=/usr/bin/python
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap python3=/Library/Frameworks/Python.framework/Versions/3.4/bin/python3
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap sh=/bin/sh
Sat Sep 26 2015 09:59:36 GMT+0200 (CEST) : cap xcode=/Applications/Xcode.app/Contents/Developer

Jeppes-MacBook-Pro.local
Error starting the agent
Failed Request: Bad Request(400) - https://[masked].visualstudio.com/_apis/distributedtask/pools/1/agents


Reply to this email directly or view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fMicrosoft%2fvso-agent%2fissues%2f96&data=01%7c01%7cChris.Patterson%40microsoft.com%7ced47b386cd6f4f89152808d2c648ecb5%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=RFbcfUjgc2w7Ttbww4uFbPS7leCVkxIQMg2T7RflzcE%3d.

from vso-agent.

jlandersen avatar jlandersen commented on May 13, 2024

Hi Chris

I tried with 0.12.7 and it is still the same - is there a limit on 1 account for an agent? It seems to work if I remove all agents and run the agent setup again.

from vso-agent.

chrispat avatar chrispat commented on May 13, 2024

What is the exact error message

Sent from my Windows Phone


From: Jeppe Lund Andersenmailto:[email protected]
Sent: ‎9/‎26/‎2015 10:07 AM
To: Microsoft/vso-agentmailto:[email protected]
Cc: Chris Pattersonmailto:[email protected]
Subject: Re: [vso-agent] Bad Request (400) when starting agent on OS X (#96)

Hi Chris

I tried with 0.12.7 and it is still the same - is there a limit on 1 account for an agent? It seems to work if I remove all agents and run the agent setup again.


Reply to this email directly or view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fMicrosoft%2fvso-agent%2fissues%2f96%23issuecomment-143448385&data=01%7c01%7cChris.Patterson%40microsoft.com%7cbd697deff1f94586713d08d2c67bdb3b%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=ppF1UzzI9B4cIN4rkGKRJhVUjdMRb0ELbPJ%2b%2bJR6Znc%3d.

from vso-agent.

jlandersen avatar jlandersen commented on May 13, 2024

The error message is this exact message:

Error starting the agent
Failed Request: Bad Request(400) - https://[masked].visualstudio.com/_apis/distributedtask/pools/1/agents

I see now that there is a limit on 1 private agent in the free version - the error message is a little better on Windows :-)

from vso-agent.

chrispat avatar chrispat commented on May 13, 2024

CJ the xplat agent does not appear to be returning the appropriate error message to the user.

Sent from my Windows Phone


From: Jeppe Lund Andersenmailto:[email protected]
Sent: ‎9/‎26/‎2015 10:57 AM
To: Microsoft/vso-agentmailto:[email protected]
Cc: Chris Pattersonmailto:[email protected]
Subject: Re: [vso-agent] Bad Request (400) when starting agent on OS X (#96)

The error message is this exact message:

Error starting the agent
Failed Request: Bad Request(400) - https://nocture.visualstudio.com/_apis/distributedtask/pools/1/agents

and it seems clear to me now that it happens if I try to set up more than 1 agent using the same user account/alternate credentials. Was not aware that this was not possible.


Reply to this email directly or view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fMicrosoft%2fvso-agent%2fissues%2f96%23issuecomment-143461355&data=01%7c01%7cChris.Patterson%40microsoft.com%7c8f3e5029740246b83c6108d2c682c586%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=SfxemJH0UNOD6er9In7obxWOEbyopt%2fxwMhq%2bFSHxP8%3d.

from vso-agent.

chrispat avatar chrispat commented on May 13, 2024

You are not receiving the correct error message for some.reason. Each account gets a free private agent and a free hosted agent. You have the option to purchase more.

https://www.visualstudio.com/en-us/get-started/setup/get-more-build-or-load-testing-vs

Sent from my Windows Phone


From: Jeppe Lund Andersenmailto:[email protected]
Sent: ‎9/‎26/‎2015 10:57 AM
To: Microsoft/vso-agentmailto:[email protected]
Cc: Chris Pattersonmailto:[email protected]
Subject: Re: [vso-agent] Bad Request (400) when starting agent on OS X (#96)

The error message is this exact message:

Error starting the agent
Failed Request: Bad Request(400) - https://nocture.visualstudio.com/_apis/distributedtask/pools/1/agents

and it seems clear to me now that it happens if I try to set up more than 1 agent using the same user account/alternate credentials. Was not aware that this was not possible.


Reply to this email directly or view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fMicrosoft%2fvso-agent%2fissues%2f96%23issuecomment-143461355&data=01%7c01%7cChris.Patterson%40microsoft.com%7c8f3e5029740246b83c6108d2c682c586%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=SfxemJH0UNOD6er9In7obxWOEbyopt%2fxwMhq%2bFSHxP8%3d.

from vso-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.