Skip to Content
author's profile photo Former Member
Former Member

SUP 2.2 https RelayServer Issue

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 31, 2013 at 07:11 AM

    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"];

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2013 at 08:35 AM

    Hi,

    Did you configure the Certificate parameters in rs config file

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 23, 2013 at 07:09 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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].


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.