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

Unable to download secure file: Invalid Resource #11

Open
israserg opened this issue Jan 14, 2019 · 0 comments
Open

Unable to download secure file: Invalid Resource #11

israserg opened this issue Jan 14, 2019 · 0 comments

Comments

@israserg
Copy link

Hi
We constantly get the 'Invalid Resource' error during running the task on TFS onPrem
The "Basic Authentication" in IIS is Disabled
The Agent is authenticated against server via OAuth2

What can be a root cause?
Thank you

Sergey

Log:
2019-01- ##[section]Starting: Download Secure File
2019-01- Task : Download Secure File
2019-01- Description : Downloads a secure file
2019-01- Version : 0.0.9
2019-01- Author : Matt Labrum
2019-01- Help :
2019-01- ##[debug]agent.workFolder=D:\vsagent1_work
2019-01- ##[debug]loading inputs and endpoints
2019-01- ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2019-01- ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2019-01- ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2019-01- ##[debug]loading INPUT_FILEINPUT
2019-01- ##[debug]loading INPUT_TARGETPATH
2019-01- ##[debug]loading SECUREFILE_TICKET_1bc82f80-12a1-422f-a88b-9c51e170c4c8
2019-01- ##[debug]loaded 6
2019-01- ##[debug]System.TeamFoundationCollectionUri=https://pttfs-auto/tfs/DefaultCollection/
2019-01- ##[debug]SYSTEMVSSCONNECTION auth param ACCESSTOKEN = ********
2019-01- ##[debug]fileInput=1bc82f80-12a1-422f-a86b-9c58e170c4c8
2019-01- ##[debug]targetPath=C:\Temp\mycert
2019-01- ##[debug]targetName=null
2019-01- ##[debug]secure file name for id 1bc82f80-12a1-422f-a86b-9851e170c4c8 = note.txt
2019-01- Downloading secureFileId=1bc82f80-12a1-422f-a86b-9c51e170c4c8 to destFile=C:\Temp\mycert\note.txt
2019-01- ##[debug]SYSTEM.TEAMPROJECT=Myproject
2019-01- ##[debug]secure file ticket for id 1bc82f80-12a1-422f-a86b-9851e170c4c8 = ********
2019-01- Debug Start
2019-01- 1bc82f80-12a1-422f-a86b-9881e170c4c8
2019-01- ********
2019-01- false
2019-01- Debug End
2019-01- Error: Invalid Resource
2019-01- at RestClient. (D:\vsagent1_work_tasks\downloadsSecureFile_c5cac6da-5bcf-4591-a212-0877a8792c4a\0.0.9\node_modules\typed-rest-client\RestClient.js:162:28)
2019-01- at next (native)
2019-01- at fulfilled (D:\vsagent1_work_tasks\downloadsSecureFile_c5cac6da-5bcf-4591-a212-0387a8792c4a\0.0.9\node_modules\typed-rest-client\RestClient.js:6:58)
2019-01- at process._tickCallback (internal/process/next_tick.js:109:7)
2019-01- Unable to download secure file: Invalid Resource

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant