Closed StanleyOK closed 8 years ago
I would guess that you have changed the url in the config file since restarting Visual Studio Team Foundation Background Job Agent
. The config changes are picked up automatically by the standard plugin in Application Tier\Web Services\bin\Plugins
, but that is not the case for the plugin in Application Tier\TFSJobAgent\Plugins
(which handles vNext builds). So restart the TfsJobAgent.
webhookUrl
?) in these configs - will restart TfsJobAgent just in case.
Configs In Application Tier\Web Services\bin\Plugins
and in Application Tier\TFSJobAgent\Plugins
have the same url value (webhookUrl
). Maybe these values shouldn't be equal ?Application Tier\TFSJobAgent\Plugins
, it will be read from Application Tier\Web Services\bin\Plugins
.<defaultproxy>
in Application Tier\Web Services\web.config
and Application Tier\TFSJobAgent\TfsJobAgent.exe.config
(for vNext builds).It works now after I added <defaultproxy>
to TfsJobAgent.exe.config
, thank you.
Glad to hear it!
Thank you for developing TfsNotificationRelay – very interesting tool for TFS, but I there's problem with vNext builds. I’ve installed TfsNotificationRelay v1.15.0 on TFS 2015.1. but it sends post on Slack only after XAML builds After vNext build: no post on Slack and error in Event Viewer:
TF53010: The following error has occurred in a Team Foundation component or extension: . . . Detailed Message: TfsNotificationRelay: Notify failed for bot slack5. Exception Stack Trace: at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification) at DevCore.TfsNotificationRelay.Slack.SlackNotifier.<>c.<NotifyAsync>b__0_0(Task
1 t) . . . Exception Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond …:… (type SocketException) . . . Full error from Event Log: VNext_Slack_ERROR.txt My system: TFS server: Windows Server 2012 R2 Standard, TFS 2015 14.0.24712.0 (Tfs2015.Update1); SQL Server 2014 (64-bit) Build machines: Windows Server 2008 R2 Standard, TFS 2012 Up. 2What's your guess - why it works for XAML builds only ?