{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/223","repository_url":"https://api.github.com/repos/Microsoft/vsts-agent","labels_url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/223/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/223/events","html_url":"https://github.com/Microsoft/vsts-agent/issues/223","id":157911367,"number":223,"title":"Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: VS30063","user":{"login":"WebDucer","id":761881,"avatar_url":"https://avatars.githubusercontent.com/u/761881?v=3","gravatar_id":"","url":"https://api.github.com/users/WebDucer","html_url":"https://github.com/WebDucer","followers_url":"https://api.github.com/users/WebDucer/followers","following_url":"https://api.github.com/users/WebDucer/following{/other_user}","gists_url":"https://api.github.com/users/WebDucer/gists{/gist_id}","starred_url":"https://api.github.com/users/WebDucer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebDucer/subscriptions","organizations_url":"https://api.github.com/users/WebDucer/orgs","repos_url":"https://api.github.com/users/WebDucer/repos","events_url":"https://api.github.com/users/WebDucer/events{/privacy}","received_events_url":"https://api.github.com/users/WebDucer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/vsts-agent/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":29,"created_at":"2016-06-01T13:49:15Z","updated_at":"2016-09-26T20:57:39Z","closed_at":"2016-08-23T03:50:05Z","body":"We switched to TFS 2015 on perm.\r\n\r\nThe xplat agent on a mac works fine (except the checkout git of submodules).\r\n\r\nNow I wanted to test the new cross platform agent and fails with following error message on agent. During the configuration agent was added to the agent pool and is seen as online.\r\n\r\n```\r\n[2016-06-01 13:34:56Z INFO Program] Version: 2.101.0\r\n[2016-06-01 13:34:56Z INFO Program] Commit: 043f11f423a30cdc7143344a72e66f49f8b13861\r\n[2016-06-01 13:34:56Z INFO Worker] Waiting to receive the job message from the channel.\r\n[2016-06-01 13:34:56Z INFO Worker] Message received.\r\n[2016-06-01 13:34:57Z INFO Worker] Job message: {\"tasks\":[{\"instanceId\":\"1675c3ed-c74d-48fb-a647-c5968d74c549\",\"displayName\":\"gradlew assemblyDebug\",\"enabled\":true,\"continueOnError\":false,\"alwaysRun\":false,\"id\":\"8d8eebd8-2b94-4c97-85af-839254cc6da4\",\"name\":\"Gradle\",\"version\":\"1.0.26\",\"inputs\":{\"wrapperScript\":\"gradlew\",\"options\":\"\",\"tasks\":\"assemblyDebug\",\"cwd\":\"\",\"javaHomeSelection\":\"JDKVersion\",\"jdkVersion\":\"default\",\"jdkUserInputPath\":\"\",\"jdkArchitecture\":\"x86\",\"publishJUnitResults\":\"false\",\"testResultsFiles\":\"**/build/test-results/TEST-*.xml\",\"testRunTitle\":\"\",\"codeCoverageTool\":\"None\",\"classFilesDirectories\":\"build/classes/main/\",\"classFilter\":\"\"}}],\"requestId\":49,\"lockToken\":\"00000000-0000-0000-0000-000000000000\",\"lockedUntil\":\"0001-01-01T00:00:00\",\"plan\":{\"scopeIdentifier\":\"ad66c17f-9e99-4632-86b6-0753aca7736a\",\"planType\":\"Build\",\"version\":5,\"planId\":\"0973ec0a-f706-4e89-8761-eafdbfd9516b\",\"artifactUri\":\"vstfs:///Build/Build/30\",\"artifactLocation\":null},\"timeline\":{\"id\":\"0be77d0b-b5d8-44cb-ae45-5014ef962672\",\"changeId\":1,\"location\":null},\"jobId\":\"4da723ae-9d5a-4161-9d5e-0633a47f7044\",\"jobName\":\"Build\",\"environment\":{\"endpoints\":[{\"data\":{\"repositoryId\":\"0699e0aa-4400-447e-b6e1-ee1c7f6d3c52\",\"rootFolder\":null,\"clean\":\"false\",\"checkoutSubmodules\":\"True\"},\"name\":\"iRecy Mobilewaage (Android)\",\"type\":\"TfsGit\",\"url\":\"http://devteam:8080/tfs/iRecy Android/_git/iRecy%20Mobilewaage%20%28Android%29\",\"authorization\":{\"parameters\":{\"AccessToken\":\"********\"},\"scheme\":\"OAuth\"}}],\"mask\":[{\"type\":\"regex\",\"value\":********}],\"variables\":{\"system.definitionId\":\"2\",\"build.definitionName\":\"CI Build\",\"build.definitionVersion\":\"7\",\"build.queuedBy\":\"TFSService\",\"build.queuedById\":\"6dcca9b6-d9eb-4a1a-a28b-9b20a28c5f0e\",\"build.requestedFor\":\"TFSService\",\"build.requestedForId\":\"6dcca9b6-d9eb-4a1a-a28b-9b20a28c5f0e\",\"build.sourceVersion\":\"9fb78a4eb0ce3ca6dfd21d53a74d77da4beb4406\",\"build.sourceBranch\":\"refs/heads/develop\",\"build.sourceBranchName\":\"develop\",\"system.debug\":\"false\",\"ANDROID_HOME\":\"/Users/Shared/android-sdk\",\"build.buildId\":\"30\",\"build.buildUri\":\"vstfs:///Build/Build/30\",\"build.buildNumber\":\"30\",\"build.containerId\":\"35\",\"system\":\"build\",\"system.hosttype\":\"build\",\"system.collectionId\":\"876fee52-bd4d-493f-a140-f3899d451672\",\"system.teamProjectId\":\"ad66c17f-9e99-4632-86b6-0753aca7736a\",\"system.teamProject\":\"iRecy Mobilewaage (Android)\",\"system.culture\":\"en-US\",\"system.teamFoundationCollectionUri\":\"http://devteam:8080/tfs/iRecy%20Android/\",\"system.taskDefinitionsUri\":\"http://devteam:8080/tfs/iRecy%20Android/\",\"build.sourceVersionAuthor\":\"Gavin Fuchs\",\"build.sourceVersionMessage\":\"Merge branch 'Thommen_Änderungen_Mobile_Waage_feedback_001' into develop\"},\"systemConnection\":{\"data\":{\"ServerId\":\"876fee52-bd4d-493f-a140-f3899d451672\",\"ServerName\":\"iRecy Android\"},\"name\":\"SystemVssConnection\",\"url\":\"http://devteam:8080/tfs/iRecy Android/\",\"authorization\":{\"parameters\":{\"AccessToken\":\"********\"},\"scheme\":\"OAuth\"}}}}\r\n[2016-06-01 13:34:57Z INFO JobRunner] Job ID 4da723ae-9d5a-4161-9d5e-0633a47f7044\r\n[2016-06-01 13:34:57Z INFO ConfigurationStore] currentAssemblyLocation: /Users/admin/vsts-agent-osx/bin/Agent.Worker.dll\r\n[2016-06-01 13:34:57Z INFO ConfigurationStore] binPath: /Users/admin/vsts-agent-osx/bin\r\n[2016-06-01 13:34:57Z INFO ConfigurationStore] RootFolder: /Users/admin/vsts-agent-osx\r\n[2016-06-01 13:34:57Z INFO ConfigurationStore] ConfigFilePath: /Users/admin/vsts-agent-osx/.Agent\r\n[2016-06-01 13:34:57Z INFO ConfigurationStore] CredFilePath: /Users/admin/vsts-agent-osx/.Credentials\r\n[2016-06-01 13:34:57Z INFO ConfigurationStore] ServiceConfigFilePath: /Users/admin/vsts-agent-osx/.Service\r\n[2016-06-01 13:34:57Z INFO Worker] Listening for cancel message from the channel.\r\n[2016-06-01 13:34:57Z INFO Worker] Waiting for the job to complete or for a cancel message from the channel.\r\n[2016-06-01 13:34:57Z INFO Worker] Job completed.\r\n[2016-06-01 13:34:57Z ERR  Program] Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: VS30063: You are not authorized to access http://devteam:8080.\r\n   at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.<SendAsync>d__17.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n...\r\n```\r\n\r\nI use the same domain user for this agent as for the xplat agent. both are configured as deamons on OS X."},"comment":{"url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/comments/249695368","html_url":"https://github.com/Microsoft/vsts-agent/issues/223#issuecomment-249695368","issue_url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/223","id":249695368,"user":{"login":"peterM","id":2149830,"avatar_url":"https://avatars.githubusercontent.com/u/2149830?v=3","gravatar_id":"","url":"https://api.github.com/users/peterM","html_url":"https://github.com/peterM","followers_url":"https://api.github.com/users/peterM/followers","following_url":"https://api.github.com/users/peterM/following{/other_user}","gists_url":"https://api.github.com/users/peterM/gists{/gist_id}","starred_url":"https://api.github.com/users/peterM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterM/subscriptions","organizations_url":"https://api.github.com/users/peterM/orgs","repos_url":"https://api.github.com/users/peterM/repos","events_url":"https://api.github.com/users/peterM/events{/privacy}","received_events_url":"https://api.github.com/users/peterM/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T20:57:39Z","updated_at":"2016-09-26T20:57:39Z","body":"[2016-09-26 20:52:35Z ERR  Agent] Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: VS30063: You are not authorized to access \"https\" \r\n\r\nI have installed TFS '15' RC2 on premise and this issue i had on RC1 too.\r\n\r\nI tried RC1 agent, RC2 agent and VSO Agent. \r\nLast agent i tried is  vsts-agent-win7-x64-2.107.0\r\n\r\nSo thank tou for help.\r\n"}}
{"actor":{"display_login":"peterM"}}