on 12-23-2013 6:46 AM
Hi group, We configured RelayServer for SUP 2.2 with https . It is working good for HWC(hybrid Web Container).The HWC applications are working in both Android and IOS devices.
We implemented object API for Android and IOS. Both Android and IOS devices are registering,but when the device are synchronizing ,both the device throwing same error. That means both the devices are not synchronizing.Even the pending items are o at SUP server.
We set following properties for IOS object api.
SUPConnectionProfile *sp = [RajaRegSimDataRajaRegSimDataDB getSynchronizationProfile];
[sp setAsyncReplay:NO];
[sp setUser:serveruser];
[sp setPassword:servepassword];
[sp setServerName:servername];
[sp setPortNumber:[rbsport intValue]];
[sp setNetworkProtocol:@"https"];
NSMutableString* someString = [NSMutableString stringWithString: @"trusted_certificates=;compression=zlib;surl_suffix=/ias_relay_server/client/rs_client.dll/mysupcluster.rep"];
NSLog(@"someString--> key: %@",someString);
NSLog(@"someString--> key: %@",someString);
[sp setNetworkStreamParams:someString];
[sp setDomainName:@"default"];
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For object api we have to give any settings at server side?
For trusted_certificates we have to give any path? if so what is the path.
We configured SSL in RelayServer.
Using MMC we done SSL as trusted certificate.
Please give any suggestion.
Any advice would be appreciated.
Hi my problem has resolved.
previous error occurs because following reason.
NSMutableString* someString = [NSMutableString stringWithString:@"trusted_certificates=;compression=zlib;surl_suffix=/ias_relay_server/client/rs_client.dll/mysupcluster.rep"];
working code as follows.
NSMutableString* someString = [NSMutableString stringWithString:@"trusted_certificates="];
NSString *io= [[NSString alloc] initWithData:theData encoding:NSASCIIStringEncoding];
[someString appendString:@"name.cer"];
NSLog(@"someString--> key: %@",someString);
[someString appendString:@";compression=none;surl_suffix=/ias_relay_server/client/rs_client.dll/mysupcluster.rep;timeout=240"];
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you configure the Certificate parameters in rs config file
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please cross check connection profile and sync profile settings:
Connection profile details should be
server:relay server
port:80 or 443
farmid: MBS farm ID.
Synchronization profile should be
server:relayserver
port: 80 or 443
stream parameter : url suffix(/ias_relay_server/client/rs_client.dll/RBS farm ID)[Example for relays erver running in window server].
Rgrds,
Jitendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raj,
Please check this below infocenter document for developing iOS based SUP native app.
Rgrds,
Jitendra
Hi jitendara,according to your above answer i understood that,i need to add stream parameters in rs.config file?
Because i added already these stream parameters in code. is it necessary to add that stream parameters in rs.config file?
Synchronization profile should be
server:relayserver
port: 80 or 443
stream parameter : url suffix(/ias_relay_server/client/rs_client.dll/RBS farm ID)[Example for relays erver running in window server].
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.