Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Pipelines trigger failing with "Client.Timeout exceeded while awaiting headers" #4324

Closed
shayki5 opened this issue Mar 6, 2023 · 0 comments · Fixed by #4326
Closed
Labels
bug Something isn't working

Comments

@shayki5
Copy link
Contributor

shayki5 commented Mar 6, 2023

Report

I configured the Azure Pipelines trigger (with scaledJob) as explained here for few small pools in my organization and it worked well.
When I configured it to another pool that running many pipelines the scaling didn't work.
I checked Keda logs and saw:

{"error": "Get \"https://my-azure-devops/_apis/distributedtask/pools/52/jobrequests\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}

When I tried to access the above api URL I succeeded to get results, but - it took 4 seconds because the result count is 760.

image image

So I guess this is the issue and because it takes 4 seconds it failed with Client.Timeout exceeded.

Expected Behavior

Scaling up/down of the scaledJob according to the waiting pipelines.

Actual Behavior

Nothing happened, new Jobs wasn't created.

Steps to Reproduce the Problem

  1. Configure scaledJob with Azure DevOps pool that running many pipelines.
  2. Keda not auto scaling.

Logs from KEDA operator

{"error": "Get \"https://my-azure-devops/_apis/distributedtask/pools/52/jobrequests\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}

KEDA Version

2.9.3

Kubernetes Version

< 1.23

Platform

Other

Scaler Details

Azure Pipelines

Anything else?

No response

@shayki5 shayki5 added the bug Something isn't working label Mar 6, 2023
@github-project-automation github-project-automation bot moved this from To Triage to Ready To Ship in Roadmap - KEDA Core Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant