Closed insanity13 closed 8 years ago
Can you add details on how you ran it as a daemon. Do you mean a launch daemon? Can you provide other details? Are you connecting to an on-prem server?
Sorry for a long silence. Yes, it's a on-premise server. Today update agent to 0.3.13 but it does not helps.
Any ideas?
check out the read me for updated instructions for on-premise (use preview version).
However that's not what you're hitting. 401 means bad creds.
So, first, let's interactive (not daemon). Does that work? Second, look in the plist that's referenced. What creds are in it?
/So, first, let's interactive (not daemon). Does that work?/ Yes, I've said it in my previous message.
Second, look in the plist that's referenced. What creds are in it?
I wonder if it's a quoting/escaping issue in that file?? Also, you will need to append the flag to force basic (let me look that up). Just realized that will be needed.
So I've updated agent to "0.4" version, node to 4.2.3 Removes old agent, reconfigure, set force-basic, and now got 403 at interactive mode:
this user in "Agent Pool Service Account" and "Agent Pool Administrators"
Got it! Added user to "Project Collection Service" group.
Daemon still fails
adding scott
Just to confirm, you got it to work interactively by adding to the Project Collection Service group (we should figure out why - wasn't expecting).
But, you're still having an issue with the service? (note the plist is just telling it to run what you did interactively). Try interactively with -u and -p args (what the plist does)
I've got a minus character in my password
Ha!
I wonder if it's a quoting/escaping issue in that file??
:) Looks like we need to fix that.
Does quoting it work?
I've tried -u "user.name" -p "password", but it does not helps.
I updated the README.md to have specific on-prem instructions link. There were additional permissions needed (now doc'd) and a couple of fixes.
I would recommend getting a new agent via the latest instructions
When agent start interactively it work fine. But when I try to start it as daemon it fails with 401. stdout.log shows that env vars set right. How to set authentification for deamon correctly? I'm could not find anything in docs.