Closed derekkl closed 2 years ago
Hi - from a connection point of view the only parameters concerned I believe are these ones below that you specify in the template. I haven't come across this issue yet - but had some issues early on only when either the token was invalid or the Agent Pool name didnt match to the one setup.
I found the problem. I was using the entire project URL https://dev.azure.com/CableOne-ProductDevelopers/DevOpsDerek rather than the organization URL https://dev.azure.com/CableOne-ProductDevelopers/.
The verbiage in the guide threw me off, I think
"Setup a project in Azure Devops and get the project based URL ($AZP_URL) . For example https://dev.azure.com/Organisation_Name"
I see the link shows clearly it should be the Organization_Name, but I used the Project URL.
Thanks! Updated the guide.
I was able to create the templates, build the docker image, and deploy the BC and deployment via the templates.
However, the pod is crashlooping due to this error when trying to reach my Azure DevOps project:
[2022-01-13 17:12:46Z INFO VisualStudioServices] Starting operation Location.GetConnectionData [2022-01-13 17:12:47Z ERR VisualStudioServices] GET request to https://dev.azure.com/CableOne-ProductDevelopers/DevOpsDerek/_apis/connectionData?connectOptions=1&lastChangeId=-1&lastChangeId64=-1 failed. HTTP Status: NotFound, AFD Ref: Ref A: 372D1668B0A241C38AAAD1B940380E0A Ref B: SN1EDGE1709 Ref C: 2022-01-13T17:12:47Z
This has been replicated by a teammate of mine, they are having the same issue when trying to reach their project.
I am able to connect to the project via a normal curl command, I'm not sure what it is appending to this endpoint that is making it 404 page not found.
Here's a curl command from a debug of the Azure Devops pod that is running.
sh-4.4$ curl -v https://dev.azure.com/CableOne-ProductDevelopers/DevOpsDerek
Object moved to here.