Code Monkey home page Code Monkey logo

Comments (8)

bryanmacfarlane avatar bryanmacfarlane commented on May 20, 2024

I used to have reconfigure but it was easier to simply create a new folder and install a new agent. Delete the other one if needed. Details below.

Two options:

  1. create another one in another directory and wack the current agent directory (recommended and easiest)
  2. reconfigure the existing directory:

you just have to delete the .agent file. So:
rm .agent

If you're pointing to a new url, you'll likely want to cleanup some repos on disk (stuff in _work/build)

Note: If you're running as a service on osx, you need to stop it and uninstall the service. That will remove the plist. See the readme (svc.sh stop, svc.sh uninstall)

So, it's just easier to create a new folder, install the agent and configure. delete the old agent if not needed.

I'll update the readme.

from vso-agent.

alber70g avatar alber70g commented on May 20, 2024

I also have another issue when starting an agent on OS X. I tried on both my own and from another VSO to be an agent for the build process, but on both i get the response "Forbidden 403"

##[Error] 2015-06-09T17:14:26.132Z: Could not create an agent session.  Retrying in 15 sec
##[Error] 2015-06-09T17:14:26.132Z: Failed Request: Forbidden(403) - https://xxx.visualstudio.com/_apis/distributedtask/pools/1/sessions

from vso-agent.

bryanmacfarlane avatar bryanmacfarlane commented on May 20, 2024

That means you didn't add the account to the agent pool service accounts (403 creating session to listen to queue).

On the main readme, there's instructions. There's also a video.

from vso-agent.

alber70g avatar alber70g commented on May 20, 2024

Oh sorry, I missed that part. It's working now 👍

from vso-agent.

bryanmacfarlane avatar bryanmacfarlane commented on May 20, 2024

np - I'll see if I can't make the error message/handling clearer. thx

from vso-agent.

vdangwal avatar vdangwal commented on May 20, 2024

Agent Started.
##[Error] 2016-08-10T17:19:23.834Z: Message Queue Error:
##[Error] 2016-08-10T17:19:23.834Z: Could not create an agent session. Retrying in 15 sec
##[Error] 2016-08-10T17:19:23.834Z: Message Queue Error:
##[Error] 2016-08-10T17:19:23.834Z: Failed Request: Forbidden(403) - Access denied. Digital Solutions needs Listen permissions for pool Default to perform the action. For more information, contact the Team Foundation Server administrator.

Could anyone please help? this is in premises Mac VM using VMWare.

from vso-agent.

bryanmacfarlane avatar bryanmacfarlane commented on May 20, 2024

@vdangwal - create another issue and fill out the template

from vso-agent.

vdangwal avatar vdangwal commented on May 20, 2024

@bryanmacfarlane Issue #316 has been created. Please let me know if you need any information.

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.