-
Notifications
You must be signed in to change notification settings - Fork 230
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
A 404 "Not Found" error occurs when trying to get the agent queues using TFS 2015 Update 4 on-premise #371
Comments
This is due to using the latest version of the lib with an older version of TFS. Please see our main page here for a mapping of what version of the lib to use based on what version of TFS you have. |
Thank you. I guess I'm confused by which "later versions" in "All API versions will work on the server version mentioned as well as later versions." from readme.md. Does "later versions" mean "later TFS versions"? |
As a work-around, I was able to use IIS URL Rewrite with this rule, added to the
It basically rewrites API requests from Thank you. |
@icnocop We will clean up that text, I agree it's confusing. I still am confused by your request: why would you need a new version of the lib to use against 2015 on-prem? Also, I would not recommend doing the IIS rewrite. |
I'm using https://github.com/huserben/TfsExtensions which depends on v6.6.3. In order to use it against TFS 2015 on-prem, I had to implement the IIS URL Rewrite work-around. Should v6.6.3 be compatible with TFS 2015 on-prem? Thank you. |
You'll have to talk with the Extension owner about this, which will also answer your last question. |
Closing, as mentioned please speak with the Extension owner. |
Environment
Node version: 10.15.1
Npm version: 6.4.1
OS and version: Windows Server 2019 Version 1809 OS Build 17763.107
azure-devops-node-api version: 10.0.0
Issue Description
A 404 "Not Found" error occurs when trying to get the agent queues using TFS 2015 Update 4 on-premise.
Expected behaviour
I expected the URL to be queried:
http://tfs2015:8080/tfs/DefaultCollection/_apis/distributedtask/queues/
Actual behaviour
The URL is queried:
http://tfs2015:8080/tfs/DefaultCollection/Project Name/_apis/distributedtask/queues/
Steps to reproduce
getAgentQueues("Project Name")
against TFS 2015 Update 4 on-premise.Logs
I will try to reproduce this issue in isolation if needed, but it may take a bit.
The text was updated successfully, but these errors were encountered: