Can't connect to synchronization server

12 posts, 0 answers
  1. Anthony Hunter
    Anthony Hunter avatar
    9 posts
    Member since:
    May 2010

    Posted 21 May 2010 Link to this post

    When I try to connect to my TFS server, I always get an error saying that it can't connect to the synchronization service. The log has the following exception.

    Exception Type: Titan.Client.SynchronizationConnectionException
    Exception Message: Error getting available servers.
    Error occurred in the Method titanSyncClient_GetAvailableServersCompleted while calling /Synchronization.TeamPulse.Services/SyncService/.
       at Titan.Client.Presentation.TfsIntegration.ConnectionDialogPresenterModel.titanSyncClient_GetAvailableServersCompleted(Object sender, GetAvailableServersCompletedEventArgs e)
       at Titan.Client.TeamPulseSynchronization.TeamPulseSyncServiceClient.OnGetAvailableServersCompleted(Object state)
    (Inner Exception)
    Exception Type: System.TimeoutException
    Exception Message: The HTTP request to 'http://anthonyh-vstp:9899/Synchronization.TeamPulse.Services/SyncService/' has exceeded the allotted timeout. The time allotted to this operation may have been a portion of a longer timeout.
       at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
       at Titan.Client.TeamPulseSynchronization.TeamPulseSyncServiceClient.TeamPulseSyncServiceClientChannel.EndGetAvailableServers(IAsyncResult result)
       at Titan.Client.TeamPulseSynchronization.TeamPulseSyncServiceClient.Titan.Client.TeamPulseSynchronization.ITeamPulseSyncService.EndGetAvailableServers(IAsyncResult result)
       at Titan.Client.TeamPulseSynchronization.TeamPulseSyncServiceClient.OnEndGetAvailableServers(IAsyncResult result)
       at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
    (Inner Exception)
    Exception Type: System.Net.WebException
    Exception Message:
       at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
       at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
    (Inner Exception)
    Exception Type: System.Net.WebException
    Exception Message:
       at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
       at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
       at System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)

    I can connect no problems from Team Explorer, and the value in the TfsSyncConfig.xml is a copy and paste from the url used in Team Explorer. The domain/username/password attributes are properly filled.
    Also, I am running on Win2008 R2.



    Anthony





  2. Missing user
    Missing user avatar

    Posted 27 May 2010 Link to this post

    Hello Anthony,

    Could you post the url you are using to connect to your TFS?

    Thanks,
    Jesse Dyck
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Anthony Hunter
    Anthony Hunter avatar
    9 posts
    Member since:
    May 2010

    Posted 27 May 2010 Link to this post

    The URL I'm using is http://mytfsserver:8080/tfs.



    Anthony
  4. Missing user
    Missing user avatar

    Posted 27 May 2010 Link to this post

    Hi Anthony,

    Looks like you are missing part of the url TeamPulse needs to connect to TFS 2010. It needs to be shown which project collection it is connecting to. Your URL should look like this:

    http://yourtfsserver:8080/tfs/DefaultCollection

    Please give that a try and let us know if it resolves your issue.

    Greetings,
    Jesse Dyck
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  5. Anthony Hunter
    Anthony Hunter avatar
    9 posts
    Member since:
    May 2010

    Posted 31 May 2010 Link to this post

    Here are the contents of my TfsSyncConfig.xml.

    <TfsSyncConfiguration>
      <Servers>
            <Server Address="http://myserver:8080/tfs/mycollection" Domain="mydomain" Username="myuser" Password="mypassword" />
      </Servers>
    </TfsSyncConfiguration>

    The service list shows the above server, but when I try to connect I get an error saying that it connect connect to the synchronization service. I have tried typing in a username/password and leaving it blank. Both return the same error. Is there somewhat that I can check for more error information? The user I'm trying to connect with has been added to the user management and I can see it under the team members listing.


    Anthony



  6. Anthony Hunter
    Anthony Hunter avatar
    9 posts
    Member since:
    May 2010

    Posted 31 May 2010 Link to this post

    Not sure if this makes a difference or not, but I am running on Windows 2008 R2.
  7. Missing user
    Missing user avatar

    Posted 31 May 2010 Link to this post

    Hi Anthony,

    Can you confirm that the user you have entered into the config file has the following permissions for your collection and project:
    • Create/Edit/Delete Areas
    • Create/Edit/Delete Iterations
    • Create/Edit Work Items

    If that all checks out, try leaving the Domain field in the config file empty.

    Hopefully this helps.

    All the best,
    Jesse Dyck
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  8. Anthony Hunter
    Anthony Hunter avatar
    9 posts
    Member since:
    May 2010

    Posted 31 May 2010 Link to this post

    If I take my domain name out of the config xml, I get the same error, and there is no server drop down. Once I added it back. I get the server drop down, but then get the error once I enter the username/password and click connect.

    Yes, my user has all of the those privileges. I using the same user that I have since I started evaluating TFS.

    I am attempting to use the same user in the config xml as well as the once I'm trying to connect with, could this be the problem?



    Anthony
  9. Missing user
    Missing user avatar

    Posted 31 May 2010 Link to this post

    Hi Anthony,

    Could you post your tfssync log? You can find it here C:\Program Files (x86)\Telerik\TeamPulse\Logs

    Kind regards,
    Jesse Dyck
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  10. Anthony Hunter
    Anthony Hunter avatar
    9 posts
    Member since:
    May 2010

    Posted 31 May 2010 Link to this post

    Here are the contents of the file.

    2010-05-31 12:23:09,664 [6] INFO  Synchronization.Server.TeamPulseSyncService - Service starting.   
    2010-05-31 12:23:20,039 [6] INFO  Synchronization.TFS.Events.EventSubscriberHost - Creating TFS event service listeners.   
    2010-05-31 12:23:25,946 [6] INFO  Synchronization.TFS.Events.EventSubscriberHost - Opened host at http://myteampulse:8734/BranchMovedEventListener/.   
    2010-05-31 12:23:25,961 [6] INFO  Synchronization.TFS.Events.EventSubscriberHost - Opened host at http://myteampulse:8734/NodeCreatedEventListener/.   
    2010-05-31 12:23:25,961 [6] INFO  Synchronization.TFS.Events.EventSubscriberHost - Opened host at http://myteampulse:8734/NodesDeletedEventListener/.   
    2010-05-31 12:23:25,961 [6] INFO  Synchronization.TFS.Events.EventSubscriberHost - Opened host at http://myteampulse:8734/NodeRenamedEventListener/.   
    2010-05-31 12:23:25,992 [6] INFO  Synchronization.TFS.Events.EventSubscriberHost - Opened host at http://myteampulse:8734/WorkItemChangedEventListener/.   
    2010-05-31 12:23:27,414 [6] INFO  Synchronization.Server.TeamPulseSyncService - Service started.   
    2010-05-31 12:30:48,198 [3] DEBUG Synchronization.TeamPulse.Services.TeamPulseSyncService - GetAvailableServers.   
    2010-05-31 12:30:59,413 [3] DEBUG Synchronization.TeamPulse.Services.TeamPulseSyncService - GetProjects - serverName http://mytfsserver:8080/tfs/mycollection - userName mydomain\myuser.   

  11. Missing user
    Missing user avatar

    Posted 03 Jun 2010 Link to this post

    Hello Anthony,

    Hmmm.... everything looks fine from the log file. When you are inside TeamPulse, when connecting to TFS try not entering a domain there. Make sure that the domain is entered in the config file, but do not enter it when inside TeamPulse.

    Greetings,
    Jesse Dyck
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  12. Anthony Hunter
    Anthony Hunter avatar
    9 posts
    Member since:
    May 2010

    Posted 08 Jun 2010 Link to this post

    Sorry for the delay is getting back to you, but that was the problem. The username on the connect dialog should not include the domain name.



    Anthony
Back to Top