This is a migrated thread and some comments may be shown as answers.

Can't connect to synchronization server

11 Answers 105 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Anthony Hunter
Top achievements
Rank 1
Anthony Hunter asked on 21 May 2010, 05:00 PM
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





11 Answers, 1 is accepted

Sort by
0
Missing User
answered on 27 May 2010, 06:37 PM
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.
0
Anthony Hunter
Top achievements
Rank 1
answered on 27 May 2010, 10:12 PM
The URL I'm using is http://mytfsserver:8080/tfs.



Anthony
0
Missing User
answered on 27 May 2010, 10:29 PM
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.
0
Anthony Hunter
Top achievements
Rank 1
answered on 31 May 2010, 03:10 PM
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



0
Anthony Hunter
Top achievements
Rank 1
answered on 31 May 2010, 03:12 PM
Not sure if this makes a difference or not, but I am running on Windows 2008 R2.
0
Missing User
answered on 31 May 2010, 03:59 PM
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.
0
Anthony Hunter
Top achievements
Rank 1
answered on 31 May 2010, 04:54 PM
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
0
Missing User
answered on 31 May 2010, 05:12 PM
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.
0
Anthony Hunter
Top achievements
Rank 1
answered on 31 May 2010, 05:34 PM
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.   

0
Missing User
answered on 03 Jun 2010, 03:52 PM
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.
0
Anthony Hunter
Top achievements
Rank 1
answered on 08 Jun 2010, 02:59 PM
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
Tags
General Discussions
Asked by
Anthony Hunter
Top achievements
Rank 1
Answers by
Missing User
Anthony Hunter
Top achievements
Rank 1
Share this question
or