R5 & TFS 2012 Manage Sync Servers Failure

5 posts, 0 answers
  1. Chris Adams
    Chris Adams avatar
    29 posts
    Member since:
    Nov 2009

    Posted 17 Jan 2013 Link to this post

    Hello-

    We recently noticed a problem when we went to change our password for one of our Sync Servers.  The sync server in question is TFS 2012 and it is failing with the following error:
    Exception Type: TeamPulse.Client.TeamPulseException<BR>Exception Message: A
    Communication Exception occurred while attempting to connect to the
    Synchronization Service. No server entry has been added to TeamPulse. Please
    ensure the TeamPulse Integration Service is running on your TeamPulse server and
    at
    TeamPulse.Client.Presentation.Sync.SyncServersPresenterModel.service_TestConnectionToRemoteServerCompleted(Object
    sender, TestConnectionToRemoteServerCompletedEventArgs e)<BR>   at
    TeamPulse.Client.SynchronizationService.TeamPulseSynchronizationServiceClient.OnTestConnectionToRemoteServerCompleted(Object
    state)<BR>(Inner Exception)<BR>Exception Type:
    System.ServiceModel.CommunicationException<BR>Exception Message: The remote
    server returned an error: NotFound.<BR>   at
    System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult
    result)<BR>   at
    System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[]
    outs, IAsyncResult result)<BR>   at
    System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName,
    Object[] args, IAsyncResult result)<BR>   at
    TeamPulse.Client.SynchronizationService.TeamPulseSynchronizationServiceClient.TeamPulseSynchronizationServiceClientChannel.EndTestConnectionToRemoteServer(IAsyncResult
    result)<BR>   at
    TeamPulse.Client.SynchronizationService.TeamPulseSynchronizationServiceClient.TeamPulse.Client.SynchronizationService.ITeamPulseSynchronizationService.EndTestConnectionToRemoteServer(IAsyncResult
    result)<BR>   at
    TeamPulse.Client.SynchronizationService.TeamPulseSynchronizationServiceClient.OnEndTestConnectionToRemoteServer(IAsyncResult
    result)<BR>   at
    System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult
    result)<BR>(Inner Exception)<BR>Exception Type:
    System.Net.WebException<BR>Exception Message: The remote server returned an
    error: NotFound.<BR>   at
    System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object
    state)<BR>   at
    System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult
    asyncResult)<BR>   at
    System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult
    result)<BR>(Inner Exception)<BR>Exception Type:
    System.Net.WebException<BR>Exception Message: The remote server returned an
    error: NotFound.<BR>   at
    System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult
    asyncResult)<BR>   at
    System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object
    sendState)<BR>   at
    System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object
    sendState)

     

     
    This is troubling because we have the following facts still true:

    1)  We can access the URL http://servername/Services/SynchronizationService.svc with not problem
    2)  We have another sync'd server pointing to TFS 2010 and it works fine

    Any assistance at all on how we can debug and figure out what is happening is greatly appreciated!

    Thanks,
    -Chris

  2. Joel
    Admin
    Joel avatar
    300 posts

    Posted 21 Jan 2013 Link to this post

    Hi Chris,

    The service that you mentioned you can connect to is really just a proxy that calls down to the TeamPulse Integration Service and it's the integration service that communicates with TFS.  Since you mentioned that you have another project that is syncing fine, it's not likely the integration service not running that's the problem, but it's still worth checking to make sure that it is indeed running.

    You also mentioned that you were just trying to change the password of the connection to your TFS 2012 server.  Does this mean that connecting to this TFS server was working at one point?  Has anything else about the connection information changed (i.e. server name, collection name, etc.)?

    The easiest way to debug this would be if we could get your log files.  You can't attach files to forum posts, but if you submit a support ticket you can.  Your account indicates that you have active support through the support ticket system.

    For the log files, you can just zip up the entire Logs folder in the TeamPulse installation directory on the server.  This folder is usually located here: C:\Program Files (x86)\Telerik\TeamPulse\Logs.

    It would also be helpful if you could tell us exactly which version of TeamPulse you have.  There are two places to check for this:  1) In TeamPulse go to Help > About TeamPulse and 2) On the TeamPulse server, check the File Version property of this file: C:\Program Files (x86)\Telerik\TeamPulse\IntegrationService\Telerik.TeamPulse.Integration.Service.exe.


    Thanks,
    Joel
    the Telerik team
  3. Chris Adams
    Chris Adams avatar
    29 posts
    Member since:
    Nov 2009

    Posted 21 Jan 2013 Link to this post

    Hey-

    I appreciate the response.  I've opened a ticket 650960 to see if y'all  can fix.  Look forward to any help.

    Thanks,
    -Chris
  4. Chris Adams
    Chris Adams avatar
    29 posts
    Member since:
    Nov 2009

    Posted 21 Jan 2013 Link to this post

    Hey-

    I realized that I didn't answer one of your questions - we are on  2012.6.1217.0 which should be the latest :)

    Thanks,
    -Chris
  5. Joel
    Admin
    Joel avatar
    300 posts

    Posted 23 Jan 2013 Link to this post

    This issue was dealt with in a support ticket, but for the benefit of others who may come across the same problem, I'll re-post the solution here.

    The issue turned out to be related to changes made to the TeamPulse web site web.config file and the integration service config file (Telerik.TeamPulse.Integration.Service.exe.config) for the purpose of hosting TeamPulse on port 80.  Some web service endpoints in the integration service were changed to be on port 80, but the corresponding client endpoint reference in the web.config file was not updated to reflect the changes.

    There are two ways to resolve this issue.  To expose the TeamPulse web site over port 80, no changes need to be made to the integration config file, so the preferred way to resolve this issue is to change the web service endpoints exposed by the integration service back to the default of port 9899.  The other option is to change the client endpoint references to these services in the web.config file to the new port that was specified (in this case port 80).  The client endpoint references can be found in the following section of the web.config file.

    <system.serviceModel>
      <client>
      ...
      </client>
    </system.serviceModel>


    Regards,
    Joel
    the Telerik team
Back to Top