Code Monkey home page Code Monkey logo

Comments (8)

thoaingan avatar thoaingan commented on July 19, 2024

For what it's worth, I installed another VSTS extension called "VSTS Rollup" (https://marketplace.visualstudio.com/items?itemName=canarysautomationspvtltd.vstsrollup#) that works similarly to this extension, using the same exact PAT to authenticate with VSTS, and it works fine.

I turned on logging and found these entries in the Web App application log. The URI that it's complaining about is valid. However, I see that there's an outstanding PR #21 that seems to address this very specific 404 error.

2018-07-23T19:07:43 PID[7472] Error [Critical] 00.088 adb482f4-29c1-44e2-83c0-49fe4d313c2e Exception encountered processing notification: TF31002: Unable to connect to this Team Foundation Server: https://tcb.visualstudio.com/c991f69e-eb96-47c7-b593-4955410ac0db/.
Team Foundation Server Url: https://tcb.visualstudio.com/c991f69e-eb96-47c7-b593-4955410ac0db/.

Possible reasons for failure include:

  • The name, port number, or protocol for the Team Foundation Server is incorrect.
  • The Team Foundation Server is offline.
  • The password has expired or is incorrect.

Technical information (for administrator):
The remote server returned an error: (404) Not Found.
Stack Trace: at Microsoft.TeamFoundation.Client.TfsConnection.EnsureProviderConnected()
at Aggregator.Core.Facade.WorkItemRepository..ctor(IRuntimeContext context)
at Aggregator.WebHooks.Controllers.WorkItemController.<>c.b__1_1(IRuntimeContext runtimeContext)
at Aggregator.Core.Context.RuntimeContext.CreateWorkItemRepository()
at Aggregator.Core.Context.RuntimeContext.get_WorkItemRepository()
at Aggregator.Core.EventProcessor..ctor(IRuntimeContext runtime)
at Aggregator.WebHooks.Controllers.WorkItemController.Post(JObject payload)
Inner Exception: The remote server returned an error: (404) Not Found.
Stack Trace: at System.Net.HttpWebRequest.GetResponse()
at Microsoft.TeamFoundation.Client.Channels.TfsHttpWebRequest.SendRequestAndGetResponse(HttpWebRequest webRequest, WebException& webException)

from tfsaggregator-webhooks.

thoaingan avatar thoaingan commented on July 19, 2024

I incorporated the changes in PR #21, rebuilt and uploaded the modified DLL to our Web App, and that seems to fix our 404 & 500 errors. Please consider merging PR #21.

from tfsaggregator-webhooks.

giuliov avatar giuliov commented on July 19, 2024

That patch is superseded by the changes in the develop branch. I suggest to consider that version.

from tfsaggregator-webhooks.

elduddz avatar elduddz commented on July 19, 2024

develop is broken, I cannot get it to compile

from tfsaggregator-webhooks.

jessehouwing avatar jessehouwing commented on July 19, 2024

Tfs-aggregator-webhooks is deprecated.

Tfs-aggregator/develop now contains the latest bits of the webhooks solution.

It requires tfs 2018 update 3 to be installed locally to build.

from tfsaggregator-webhooks.

elduddz avatar elduddz commented on July 19, 2024

👍

from tfsaggregator-webhooks.

elduddz avatar elduddz commented on July 19, 2024

might be interested to know that the "Deploy to Azure" picks the -webhooks project

from tfsaggregator-webhooks.

giuliov avatar giuliov commented on July 19, 2024

We are focusing our energies on https://github.com/tfsaggregator/aggregator-cli as the solution for VSTS/ADO and the cloud

from tfsaggregator-webhooks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.