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

Titan.Client.SynchronizationConnectionException

3 Answers 62 Views
TFS Integration
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Yannick Lapierre
Top achievements
Rank 1
Yannick Lapierre asked on 05 Jul 2010, 09:48 AM
Hello, i have successfuly installed TeamPulse. I access to the client correctly.
But when i try to connect to TSF, i have an exception.

Server : win 2008
Tfs & TeamPulse are in the same server.
Domain controler is in an other server.

my TfsSyncConfig.xml : 
<?xml version="1.0" encoding="utf-8" ?>
<TfsSyncConfiguration>
  <Servers>
        <Server Address="http://win-s8sui3p2kwa:8080/tfs/DefaultCollection" Domain="m2a" Username="yannick.lapierre" Password="*****************" />
  </Servers>
</TfsSyncConfiguration>

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/. 
   à Titan.Client.Presentation.TfsIntegration.ConnectionDialogPresenterModel.titanSyncClient_GetAvailableServersCompleted(Object sender, GetAvailableServersCompletedEventArgs e)
   à System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   à Titan.Client.TeamPulseSynchronization.TeamPulseSyncServiceClient.OnGetAvailableServersCompleted(Object state)
(Inner Exception)
Exception Type: System.ServiceModel.CommunicationException
Exception Message: Une erreur s'est produite en tentant d'effectuer une demande à l'URI 'http://win-s8sui3p2kwa:9899/Synchronization.TeamPulse.Services/SyncService/'. Ce problème peut être dû à une tentative d'accès à un service entre domaines sans qu'une stratégie entre domaines appropriée soit en place, ou une stratégie inadaptée aux services SOAP. Il est possible que vous soyez contraint de contacter le propriétaire du service pour publier un fichier de stratégie entre domaines et veiller à ce qu'il autorise l'envoi d'en-têtes HTTP SOAP. Cette erreur peut également être liée à l'utilisation de  types internes dans le proxy de service Web sans utiliser l'attribut InternalsVisibleToAttribute. Consultez l'exception interne pour plus de détails.
   à System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
   à System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
   à System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
   à Titan.Client.TeamPulseSynchronization.TeamPulseSyncServiceClient.TeamPulseSyncServiceClientChannel.EndGetAvailableServers(IAsyncResult result)
   à Titan.Client.TeamPulseSynchronization.TeamPulseSyncServiceClient.Titan.Client.TeamPulseSynchronization.ITeamPulseSyncService.EndGetAvailableServers(IAsyncResult result)
   à Titan.Client.TeamPulseSynchronization.TeamPulseSyncServiceClient.OnEndGetAvailableServers(IAsyncResult result)
   à System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
(Inner Exception)
Exception Type: System.Security.SecurityException
Exception Message: 
   à System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
   à System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   à System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
(Inner Exception)
Exception Type: System.Security.SecurityException
Exception Message: Erreur de sécurité.
   à System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
   à System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
   à System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)

3 Answers, 1 is accepted

Sort by
0
David Harris
Telerik team
answered on 07 Jul 2010, 11:03 PM
Hello Yannick Lapierre,

Can you check in your Services applet that the TeamPulse Synchronization Service is running? It might also help to restart the service just in case it has not picked up the changes to your config XML.

Best wishes,
David Harris
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
Yannick Lapierre
Top achievements
Rank 1
answered on 08 Jul 2010, 01:25 PM
i do it many time when i have configured my synchronisation service file.
An other way?

regards
0
David Harris
Telerik team
answered on 08 Jul 2010, 02:13 PM
Hi Yannick,

Is this perhaps an issue with a firewall blocking traffic over port 9899 on the server? If you place the following URL into your browser you should be able to get a proper wsdl response from the service:

http://win-s8sui3p2kwa:9899/Synchronization.TeamPulse.Services/SyncService/?wsdl

You might want to try this URL both from your client machine and on the server itself to verify if it is indeed a traffic blocking issue.

Regards,
David Harris
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
Tags
TFS Integration
Asked by
Yannick Lapierre
Top achievements
Rank 1
Answers by
David Harris
Telerik team
Yannick Lapierre
Top achievements
Rank 1
Share this question
or