Hello, I have a native iOS application and I'm trying to connect this application to the SUP Server through a Relay Server.
Everything works fine when I connection the application without the Relay Server.
The application registers in the server, but a Synchronization error occurs after.
This is the error:
2014-06-06 10:25:24.629 OTMobile[236:907] [INFO] [CallBackHandler.m:289] ================================================
2014-06-06 10:25:24.631 OTMobile[236:907] [INFO] [CallBackHandler.m:290] SYNCHRONIZATION FAILED
2014-06-06 10:25:24.632 OTMobile[236:907] [INFO] [CallBackHandler.m:291] =================================================
The connection parameters:
SUPConnectionProperties *supConnectionProperties = [SUPApplicationconnectionProperties];
[supConnectionProperties setServerName:kHostName];
[supConnectionProperties setPortNumber:80];
[supConnectionProperties setNetworkProtocol:@"http"];
[supConnectionProperties setFarmId:@"srv.msg"];
[supConnectionProperties setUrlSuffix:@"/ias_relay_server/client/rs_client.dll"];
SUPLoginCredentials *supLoginCredentials = [SUPLoginCredentialsgetInstance];
[supLoginCredentials setUsername:[selfusername]];
[supLoginCredentials setPassword:[selfpassword]];
[supConnectionProperties setLoginCredentials:supLoginCredentials];
SUPConnectionProfile *supSynchronizationProfile = [OTMobileOTMobileDBgetSynchronizationProfile];
[supSynchronizationProfile setServerName:kHostName];
[supSynchronizationProfile setNetworkProtocol:@"http"];
[supSynchronizationProfile setPortNumber:80];
[supSynchronizationProfile setUser:[selfusername]];
[supSynchronizationProfile setPassword:[selfpassword]];
[supSynchronizationProfile setAsyncReplay:NO];
[supSynchronizationProfile setNetworkStreamParams:@"/ias_relay_server/client/rs_client.dll/srv.rep"];
I attached some screenshots to help the understanding of the problem.
This one shows the outbound enablers running.
This one shows the properties of one of the Messaging Outbound Enablers.
This one shows the properties of one of the Replication Outbound Enablers.
Thanks!