15 Replies Latest reply: Aug 3, 2012 11:40 AM by Bilen Cekic RSS

Relay Server Connection Parameters

Bilen Cekic
Currently Being Moderated

Hello all,

I am implmenting SAP CRM Sales Mobile,

well

everything looks good but i should create a remote connection system for sybase and backend systems.

I can easily connect in local environment but i must do it also remotly .

Here is my relay server config. What should be my IPAD Crm Sales connection parameters ?

Host Name, Port , FarmID (probably 1 , i created 1 for it ) .

Ty

Screen Shot 2012-06-08 at 16.41.27.png

  • Re: Relay Server Connection Parameters
    Tahir Öz
    Currently Being Moderated

    Hi,

     

    On the client side:

     

    Host name : the server name which relay server implemented

    port : relay server port http or https

    farmid: relayserver farm

     

    example according to your attachment

     

    hostname: 10.0.0209

    port : 8001

    farmid : <host>MBS

     

    hope it helps.

     

    Regards

    Tahir

    • Re: Relay Server Connection Parameters
      Bilen Cekic
      Currently Being Moderated

      it fails i dunno why,

      here is the screenshot of relay server.

      at least IIS is working.

      when i set parameters on IPAD like ;

      hostname: 10.0.0209

      port : 8001

      farmid : 1

       

      connection fails.

      hadi hocam bi el at be

       

      relay.png

      • Re: Relay Server Connection Parameters
        Tahir Öz
        Currently Being Moderated

        Hi,

         

        what did you do so far ? can u give me more info ? Have you implement outbound enabler ? If its ios it has to be Messaging type and make sure its running successfully. After you do that you have to set farm id as your outbound enabler.

        • Re: Relay Server Connection Parameters
          Bilen Cekic
          Currently Being Moderated

          hello,

          after configuring outbound enabler and start it, it gave me an error , like ;

           

          I. 2012-06-18 16:05:58. <OEHost> [Outbound Enabler]

          I. 2012-06-18 16:05:58. <OEHost>   verbosity = 4

          I. 2012-06-18 16:05:58. <OEHost>   farm = 1

          I. 2012-06-18 16:05:58. <OEHost>   server_id = 2

          I. 2012-06-18 16:05:58. <OEHost>   token = ******

          I. 2012-06-18 16:05:58. <OEHost>   backend connect = host=localhost;port=5001;

          I. 2012-06-18 16:05:58. <OEHost>   rs connect = host=10.0.0.209;https=0;port=8001;url_suffix='/ias_relay_server/client/rs_client.dll';http_userid='STQWE\sttadm';http_password='******';

          I. 2012-06-18 16:05:58. <OEHost>   reconnect delay = 5

          I. 2012-06-18 16:05:58. <OEHost>   receive queue limit = 20

          I. 2012-06-18 16:05:58. <OEHost>

          I. 2012-06-18 16:05:58. <OEHost> Successfully connected to the relay server. Retrieving relay servers list..

          I. 2012-06-18 16:05:58. <OEHost> Mac address: 00-50-56-aa-91-24!!

          I. 2012-06-18 16:05:58. <OEHost> doHTTPRequest: sending POST request..

          I. 2012-06-18 16:05:58. <OEHost> parseHTTP(): HTTP status received: 405

          E. 2012-06-18 16:05:58. <OEHost> Received an unexpected HTTP error from the web server:HTTP/1.1 405 Method Not Allowed

                                  Allow: GET, HEAD, OPTIONS, TRACE

                                  Content-Type: text/html

                                  Server: Microsoft-IIS/7.5

                                  X-Powered-By: ASP.NET

                                  Date: Mon, 18 Jun 2012 13:05:58 GMT

                                  Content-Length: 1293

                                 

                                 

          E. 2012-06-18 16:05:58. <OEHost> doHTTPRequest: read reply failed


          • Re: Relay Server Connection Parameters
            Bilen Cekic
            Currently Being Moderated

            well,

            i fixed post method error,

            now error changed to this ,

            it stops at the end of packet read.

             

             

            I. 2012-06-18 17:03:01. <OEHost> [Outbound Enabler]

            I. 2012-06-18 17:03:01. <OEHost>   verbosity = 4

            I. 2012-06-18 17:03:01. <OEHost>   farm = 1

            I. 2012-06-18 17:03:01. <OEHost>   server_id = 2

            I. 2012-06-18 17:03:01. <OEHost>   token = ******

            I. 2012-06-18 17:03:01. <OEHost>   backend connect = host=localhost;port=5001;

            I. 2012-06-18 17:03:01. <OEHost>   rs connect = host=10.0.0.209;https=0;port=8001;url_suffix='/ias_relay_server/client/rs_client.dll';http_userid='STQWE\sttadm';http_password='******';

            I. 2012-06-18 17:03:01. <OEHost>   reconnect delay = 5

            I. 2012-06-18 17:03:01. <OEHost>   receive queue limit = 20

            I. 2012-06-18 17:03:01. <OEHost>

            I. 2012-06-18 17:03:01. <OEHost> Successfully connected to the relay server. Retrieving relay servers list..

            I. 2012-06-18 17:03:01. <OEHost> Mac address: 00-50-56-aa-91-24!!

            I. 2012-06-18 17:03:01. <OEHost> doHTTPRequest: sending POST request..

            I. 2012-06-18 17:03:01. <OEHost> parseHTTP(): HTTP status received: 200

            I. 2012-06-18 17:03:01. <OEHost> parseHeaders: successfully parsed Content-Length: 0

            I. 2012-06-18 17:03:01. <OEHost> Connection established to RS..

            I. 2012-06-18 17:03:01. <OEHost> attempting to packet read..

          • Re: Relay Server Connection Parameters
            Nieves Alonso
            Currently Being Moderated

            Hi Bilen,

             

            I'm facing the same error:

            <OEHost> Received an unexpected HTTP error from the web server:HTTP/1.1 405 Method Not Allowed

                                    Cache-Control: private

                                    Allow: GET, HEAD, OPTIONS, TRACE

                                    Content-Type: text/html; charset=utf-8

                                    Server: Microsoft-IIS/7.0

                                    X-Powered-By: ASP.NET

                                    Date: Thu, 02 Aug 2012 09:49:38 GMT

                                    Content-Length: 5822

            <OEHost> doHTTPRequest: read reply failed

             

            Would you kindly provide how you fix the post method error?

            Thank you!

             

            Elina

      • Re: Relay Server Connection Parameters
        Ivan Femia
        Currently Being Moderated

        Hi,

         

        you have to configure RSOE (Outbound Enabler) on your SUP server configuration for message base communication.

         

        Then on your device just use:

         

        hostname: <relay server public address>

        port : <server port> (usually 80 or 443)

        farmid : <farmid> (as configured in the RSOE)

         

        that's it

         

        Regards,

        Ivan

  • Re: Relay Server Connection Parameters
    Emily Kapner
    Currently Being Moderated

    You can also find Relay Server configuration information on Sybase Product Documentation here:

     

    http://sybooks.sybase.com/sybooks/sybooks.xhtml;jsessionid=9dmby30mdkp3?id=1289&c=firsttab&a=0&p=categories

     

    Select the version of SUP you're using, then look at the Installation Guide for Runtime and Sybase Control Center (admin console).

     

    --Emily

Actions