Hello,
I am working on migrating our UiPath packages to our Azure instance and setting up automatic deployments.
I have the build completing via the UIPathPack@2 task and have moved on to the UiPathDeploy@2 task.
I created a test user specifically for this test, it is a local user to orchestrator and not via AD and it was given administrator rights. I set up a service connection using this account and Basic Authentication.
I was then getting errors that it could not connect, we do not have the orchestrator available externally so I set up an azure agent on an internal server that can access orchestrator and used that in the yaml:
pool:
name: RPA-Development-01
demands:
- agent.name -equals MCPITBOTDEV01-Development-01
After that I received some generic message that no agent was found that satisfies the specified demands, this was an NPM issue so I installed NPM on the machine the agent is on and added a custom capability to the bot for NPM with the AppData path
That got me past the agent issue, but now I am getting an ##[error]Unhandled: connect ETIMEDOUT error with an IP address following it
This is where I am stuck. One of the solutions I was able to find mentioned enabling OAuth2.0 but we do not use Azure AD, just Windows so that doesnt appear to be an option. I ensured that the machine the agent is running on can access the orchestrator site and the login credentials in the service connection successfully login from there.
Here is the yml I am running:
- stage: DEVELOPMENT
displayName: DEVELOPMENT
dependsOn: BUILD
condition: succeeded()
jobs:- deployment: PACKAGE_DEPLOY
displayName: PACKAGE_DEPLOY
pool:
name: RPA-Development-01
demands:- agent.name -equals MCPITBOTDEV01-Development-01
environment: RPA-Development-01
strategy:
runOnce:
deploy:
steps:
- task: UiPathDeploy@2
inputs:
orchestratorConnection: ‘MCDEV-brabe’
packagePath: '$(Pipeline.Workspace)\drop'
folderName: ‘Shared’
- agent.name -equals MCPITBOTDEV01-Development-01
- deployment: PACKAGE_DEPLOY
I am not seeing anything in the logs on the orchestrator server, and am just at a bit of a wall so open to any suggestions.