13 Replies Latest reply: Oct 9, 2012 4:37 PM by David Uztariz RSS

Relay Server: Overall availability: None

David Uztariz
Currently Being Moderated

Hi All.

 

I have the Relay Server set up, but as soon as I try to test it using the URL http://localhost/ias_relay_server/server/rs_server.dll I get the following message: Overall availability: None

 

The server is comprised of:

- SUP 2.1 #ESD 3 P01

- Win 2008R2 SP1

- IIS7

 

 

Then I retrieve to the log file and find this:

 

I. 2012-10-03 12:21:05. Waiting on OEMaster thread to terminate..

E. 2012-10-03 12:21:06. <OEHost> networkRead: encountered a socket error errCode: 69, sysCode: 10038

I. 2012-10-03 12:21:06. OEMaster thread terminated.

I. 2012-10-03 12:21:21. iAnywhere Outbound Enabler Versión 12.0.1.3750

I. 2012-10-03 12:21:21.

I. 2012-10-03 12:21:21. Copyright © 2001-2011, iAnywhere Solutions, Inc.

I. 2012-10-03 12:21:21. Portions copyright © 1988-2011, Sybase, Inc. Reservados todos los derechos.

I. 2012-10-03 12:21:21. El uso de este software está regulado por el contrato de licencia de Sybase.

I. 2012-10-03 12:21:21. Consulte http://www.sybase.com/softwarelicenses.

I. 2012-10-03 12:21:21.

I. 2012-10-03 12:21:21. <OEHost>

I. 2012-10-03 12:21:21. <OEHost> iAnywhere Outbound Enabler Versión 12.0.1.3750

I. 2012-10-03 12:21:21. <OEHost> La máquina XXX-XXXXX está ejecutando Windows 2008R2 Build 7601 Service Pack 1

I. 2012-10-03 12:21:21. <OEHost> Software creado para X86_64

I. 2012-10-03 12:21:21. <OEHost> Time zone offset from UTC in minutes: 120

I. 2012-10-03 12:21:21. <OEHost>

I. 2012-10-03 12:21:21. <OEHost> [Outbound Enabler]

I. 2012-10-03 12:21:21. <OEHost>   verbosity = 5

I. 2012-10-03 12:21:21. <OEHost>   farm = 1

I. 2012-10-03 12:21:21. <OEHost>   server_id = MBSNode

I. 2012-10-03 12:21:21. <OEHost>   token = ******

I. 2012-10-03 12:21:21. <OEHost>   backend connect = host=localhost;port=5001;

I. 2012-10-03 12:21:21. <OEHost>   rs connect = host=http://xxx-xxxxx/;https=0;port=80;url_suffix='/ias_relay_server/server/rs_server.dll';

I. 2012-10-03 12:21:21. <OEHost>   reconnect delay = 5

I. 2012-10-03 12:21:21. <OEHost>   receive queue limit = 20

I. 2012-10-03 12:21:21. <OEHost>

I. 2012-10-03 12:21:21. <OEMaster> OEMaster thread started..

I. 2012-10-03 12:21:22. <OEMaster> Successfully connected to backend server: localhost:5001

I. 2012-10-03 12:21:22. <OEHost> Mac address: xx-xx-xx-xx-xx-xx!!

E. 2012-10-03 12:21:22. <OEHost> No se ha podido conectar al servidor de retransmisión, errCode: 57, sysCode: 11001

 

 

Thank you.

 

David

  • Re: Relay Server: Overall availability: None
    Rakshit Doshi
    Currently Being Moderated

    Hi ,

     

    Hope you are giving a live ip to the relay server and instead of local host why dont you try putting the ip address and then try to test it.

     

    Thanks,

    • Re: Relay Server: Overall availability: None
      David Uztariz
      Currently Being Moderated

      HI Rakshit, I'm actually using a server name instead of localhost or IP address. I just don't know why the log shows localhost 8-o.

       

      I'll check the configuration again.

       

      Thnx.

       

      David.

      • Re: Relay Server: Overall availability: None
        David Uztariz
        Currently Being Moderated

        Hi.

        The error message in english is the following:

        <OEHost> Could not connect to relay server, errCode: 57, sysCode: 11001

        • Re: Relay Server: Overall availability: None
          Rakshit Doshi
          Currently Being Moderated

          Hi David,

           

          Are there any Proxy Servers in your environment?

          • Re: Relay Server: Overall availability: None
            David Uztariz
            Currently Being Moderated

            Hi Rakshit.

            Yes there is. I'll talk to the network administrator.

             

            Another consideration is that this is a development environment and both the Relay Server and the Unwired Server are running in the same host. I understand they should be in different servers and the Relay Server should be in the DMZ, but we need to test configuration.

            I'm becoming familiar with the platform and I don't know if the current landscape is anyway possible.

             

            Thank you.

             

            David.

            • Re: Relay Server: Overall availability: None
              Rakshit Doshi
              Currently Being Moderated

              Hi David,

               

              Relay server and unwired server have to be on different host and the relay server has to be in a DMZ.

               

              For test do you want to check the connectivity of the Applications whether they are able to communicate with the Backend server through SUP.

              • Re: Relay Server: Overall availability: None
                David Uztariz
                Currently Being Moderated

                Hi Rakshit.

                 

                My question is:  Is it mandatory to have both servers (Relay Server and Unwired Server) running in different hosts?

                We just want to test the scenario using the Relay Server, while we don't have a dedicated server for the Relay Server on a DMZ yet...

                • Re: Relay Server: Overall availability: None
                  Rohith Deraje
                  Currently Being Moderated

                  Hi David,

                   

                  Typically SUP will be installed in a secure coprporate environment and not exposed to internet. hence mobile devices in the internet cannot connect to SUP directly.

                  So Relay server wil be set up in the DMZ zone to facilitate connectivity between SUP within internet firewall and Device outside the firewall.

                  However if you are trying out a sample, you can put them in a single machine and try to connect from mobile device within same network.(Ex: backend,SUP,Relay, Device all in corporate network)

                   

                  Regards

                  Rohith

                • Re: Relay Server: Overall availability: None
                  Rakshit Doshi
                  Currently Being Moderated

                  Hi,

                   

                  If you just want to check the connectivity with relay server whether your device are connecting through the relay server and consuming data you can try the Sybase hosted Relay server (https://relayserver03.sybase.com/ias_relay_server/account/register.php ) and create an account there(Free for 6months ) and configure the relayserver in your unwired server(I hope you know how to do that)

                   

                  Relay server is not mandatory. You can even expose the SUP Server on public ip opening ports 5001,2480,80,443 both ways keeping other ports closed. This might pose some security issues.

                   

                  Hence Relay Server is preferable but still not mandatory.

                   

                  Hope this helps.

                  • Re: Relay Server: Overall availability: None
                    David Uztariz
                    Currently Being Moderated

                    Hi Rakshit.

                    I don't have a public IP yet, so I cant not use te Sybase hosted Relay Server.

                     

                    I am still dealing with the error.

                    I have changed all server-name references for the server's IP address. And this is what I get:

                     

                    I. 2012-10-05 13:13:49. iAnywhere Outbound Enabler Versión 12.0.1.3750

                    I. 2012-10-05 13:13:49.

                    I. 2012-10-05 13:13:49. Copyright © 2001-2011, iAnywhere Solutions, Inc.

                    I. 2012-10-05 13:13:49. Portions copyright © 1988-2011, Sybase, Inc. Reservados todos los derechos.

                    I. 2012-10-05 13:13:49. El uso de este software está regulado por el contrato de licencia de Sybase.

                    I. 2012-10-05 13:13:49. Consulte http://www.sybase.com/softwarelicenses.

                    I. 2012-10-05 13:13:49.

                    I. 2012-10-05 13:13:49. <OEHost>

                    I. 2012-10-05 13:13:49. <OEHost> iAnywhere Outbound Enabler Versión 12.0.1.3750

                    I. 2012-10-05 13:13:49. <OEHost> La máquina <server_name> está ejecutando Windows 2008R2 Build 7601 Service Pack 1

                    I. 2012-10-05 13:13:49. <OEHost> Software creado para X86_64

                    I. 2012-10-05 13:13:49. <OEHost> Time zone offset from UTC in minutes: 120

                    I. 2012-10-05 13:13:49. <OEHost>

                    I. 2012-10-05 13:13:49. <OEHost> [Outbound Enabler]

                    I. 2012-10-05 13:13:49. <OEHost>   verbosity = 5

                    I. 2012-10-05 13:13:49. <OEHost>   farm = 1

                    I. 2012-10-05 13:13:49. <OEHost>   server_id = MBSNode

                    I. 2012-10-05 13:13:49. <OEHost>   token = ******

                    I. 2012-10-05 13:13:49. <OEHost>   backend connect = host=localhost;port=5001;

                    I. 2012-10-05 13:13:49. <OEHost>   rs connect = host=http://server_ip;https=0;port=80;url_suffix='/ias_relay_Server/server/rs_server.dll';

                    I. 2012-10-05 13:13:49. <OEHost>   reconnect delay = 5

                    I. 2012-10-05 13:13:49. <OEHost>   receive queue limit = 20

                    I. 2012-10-05 13:13:49. <OEHost>

                    I. 2012-10-05 13:13:49. <OEMaster> OEMaster thread started..

                    I. 2012-10-05 13:13:50. <OEMaster> Successfully connected to backend server: localhost:5001

                    I. 2012-10-05 13:13:50. <OEHost> Mac address: <server_mac_address>!!

                    E. 2012-10-05 13:13:50. <OEHost> Could not connect to relay server, errCode: 57, sysCode: 11001

                     

                     

                    Thank you.

                    • Re: Relay Server: Overall availability: None
                      Rakshit Doshi
                      Currently Being Moderated

                      Hi ,

                       

                      If you do no have a public ip thats what you use the relay server for. For setting up the relay server hosted by Sybase you dont need a public IP.

                       

                      Follow the steps to set up the Relay Server

                       

                      Go to

                       

                      https://relayserver03.sybase.com/ias_relay_server/account/register.php

                       

                      Then Create an Account for yourself

                       

                      Once you are done creating an account , Log in to your Account. Then Click on the link Add new Mobilink Farm


                       

                      1.png

                       

                      Once you click on the Add new Mobilink Farm Link you will see the below Screen

                       

                      Enter a Farm Name and you SUP Server NAme

                       

                      2.png

                       

                      Click on Create Farm and your farm will be created. Then Click on Configuration Instruction to see how you have to add the Farm in you Unwired Server

                       

                      3.png

                       

                      Here you will see the Farm name, The token, the server id etc.

                       

                      Now Go To Sybase Control Center and do as shown in the Screen Shot

                      4.png

                       

                      Click on New

                       

                      And enter the details as in the Screenshot

                       

                      6.png

                       

                      Click on Next

                       

                      Then from the Configuration Instruction from Sybase Hosted Relay Server Site enter the details

                       

                      In the Farm Id enter the thing after the "f-" tag, Select the type of your Farm as Messaging or Replication , Enter the details after the "id" tag in the Node ID and the token which is after the "t-" tag in the token field.

                       

                      Do no forget to enter the + button after entering data in both the fields.

                       

                      7.png

                       

                       

                      Click on Next and Then finish. Repeat the Same Procedure for RBS.Note you have to create another Mobilink Farm in the Configuration page and the name of the Farms should be distinct.

                      Then come to SCC. Click on the relayserver and click Properties. Click Next

                       

                      Enter the Farm ID, Select the type and then click on + button.

                      Then Select the line of the Second Farm ID and then you will see a blank Node ID and Token Slot. Enter the new generated configuration details here and then click finish.

                       

                      From the summary verify that the tokens are different and similar to the ones on the configuration page

                       

                      Now we have to configure the Outbound Enabler.

                       

                      Click on the Servers Tab and Click on Server Configurations

                       

                      8.png

                       

                      Click on New then Select messaging/replication from the dropdown

                       

                      All you details will automatically come up.

                       

                      9.png

                       

                      Click on Next

                       

                      Now this is the place where you will enter your Proxy Server

                       

                      Give the IP of your proxy server, the username and password required

                       

                      11.png

                       

                      Click Next and finish

                       

                      You will see that the Relayserver is not yet up.

                      12.png

                       

                      You will see as stopped.

                       

                      Click on the check box and then click the start button and then click refresh

                       

                      13.png

                       

                      You will see the status as running.

                       

                      Similarly setup an outbound enabler for RBS Farm.

                       

                      You are done with it.

                       

                      In the device enter the host id as relayserver.sybase.com and Port as 80 and you will see the communication began.

                       

                       

                      Hope this helps you,

                       

                      Thanks,

                      • Re: Relay Server: Overall availability: None
                        David Uztariz
                        Currently Being Moderated

                        Hi Rakshit.

                        Before trying the Sybase Hosted Relay Server, I updated the information for proxy server with my current configuration, and I got a different log file result.

                        Could you please take a look at it?

                         

                        Here it is

                         

                        I. 2012-10-08 11:48:55. iAnywhere Outbound Enabler Versión 12.0.1.3750

                        I. 2012-10-08 11:48:55.

                        I. 2012-10-08 11:48:55. Copyright © 2001-2011, iAnywhere Solutions, Inc.

                        I. 2012-10-08 11:48:55. Portions copyright © 1988-2011, Sybase, Inc. Reservados todos los derechos.

                        I. 2012-10-08 11:48:55. El uso de este software está regulado por el contrato de licencia de Sybase.

                        I. 2012-10-08 11:48:55. Consulte http://www.sybase.com/softwarelicenses.

                        I. 2012-10-08 11:48:55.

                        I. 2012-10-08 11:48:55. <OEHost>

                        I. 2012-10-08 11:48:55. <OEHost> iAnywhere Outbound Enabler Versión 12.0.1.3750

                        I. 2012-10-08 11:48:55. <OEHost> La máquina <host_name> está ejecutando Windows 2008R2 Build 7601 Service Pack 1

                        I. 2012-10-08 11:48:55. <OEHost> Software creado para X86_64

                        I. 2012-10-08 11:48:55. <OEHost> Time zone offset from UTC in minutes: 120

                        I. 2012-10-08 11:48:55. <OEHost>

                        I. 2012-10-08 11:48:55. <OEHost> [Outbound Enabler]

                        I. 2012-10-08 11:48:55. <OEHost>   verbosity = 5

                        I. 2012-10-08 11:48:55. <OEHost>   farm = 1

                        I. 2012-10-08 11:48:55. <OEHost>   server_id = MBSNode

                        I. 2012-10-08 11:48:55. <OEHost>   token = ******

                        I. 2012-10-08 11:48:55. <OEHost>   backend connect = host=localhost;port=5001;

                        I. 2012-10-08 11:48:55. <OEHost>   rs connect = host=<ip_address>;https=0;port=80;url_suffix='/ias_relay_server/server/rs_server.dll';proxy_host='<proxy_server>';proxy_Port='80';

                        I. 2012-10-08 11:48:55. <OEHost>   reconnect delay = 5

                        I. 2012-10-08 11:48:55. <OEHost>   receive queue limit = 20

                        I. 2012-10-08 11:48:55. <OEHost>

                        I. 2012-10-08 11:48:55. <OEMaster> OEMaster thread started..

                        I. 2012-10-08 11:48:56. <OEMaster> Successfully connected to backend server: localhost:5001

                        I. 2012-10-08 11:48:56. <OEHost> Mac address: <mac_address>

                        I. 2012-10-08 11:48:56. <OEHost> Relay server host is responding. Retrieving relay servers list..

                        I. 2012-10-08 11:48:56. <OEHost> doHTTPRequest: sending POST request..

                        I. 2012-10-08 11:48:56. <OEHost> Wrote request headers:

                                                POST http://<ip_address>/ias_relay_server/server/rs_server.dll HTTP/1.1

                                                  Content-Type: application/octet-stream

                                                  Content-Length: 175

                                                  Host: 192.168.4.54:80

                                                  Connection: Keep-Alive

                                                  Proxy-Connection: Keep-Alive

                                                User-Agent: IAS_OE_TempChannel

                                                                       

                        I. 2012-10-08 11:48:56. <OEHost> Headers: HTTP/1.1 404 Not Found

                                                Date: Mon, 08 Oct 2012 09:48:56 GMT

                                                Server: Apache/2.0.52 (Fedora)

                                                Content-Length: 313

                                                Connection: close

                                                Content-Type: text/html; charset=iso-8859-1

                                                                       

                        I. 2012-10-08 11:48:56. <OEHost> parseHTTP(): HTTP status received: 404

                        E. 2012-10-08 11:48:56. <OEHost> Received an unexpected HTTP error from the web server:HTTP/1.1 404 Not Found

                                                Date: Mon, 08 Oct 2012 09:48:56 GMT

                                                Server: Apache/2.0.52 (Fedora)

                                                Content-Length: 313

                                                Connection: close

                                                Content-Type: text/html; charset=iso-8859-1

                                                                       

                        E. 2012-10-08 11:48:56. <OEHost> doHTTPRequest: read reply failed

                        E. 2012-10-08 11:48:56. <OEHost> Failed to retrieve relay server peer list. Retrying...

                        I. 2012-10-08 11:49:01. <OEHost> Relay server host is responding. Retrieving relay servers list..

                        I. 2012-10-08 11:49:01. <OEHost> doHTTPRequest: sending POST request..

                        I. 2012-10-08 11:49:01. <OEHost> Wrote request headers:

                                                POST http://<ip_address>:80/ias_relay_server/server/rs_server.dll HTTP/1.1

                                                Content-Type: application/octet-stream

                                                Content-Length: 175

                                                Host: 192.168.4.54:80

                                                Connection: Keep-Alive

                                                Proxy-Connection: Keep-Alive

                                                User-Agent: IAS_OE_TempChannel

                                                                       

                        I. 2012-10-08 11:49:01. <OEHost> Headers: HTTP/1.1 404 Not Found

                                                Date: Mon, 08 Oct 2012 09:49:01 GMT

                                                Server: Apache/2.0.52 (Fedora)

                                                Content-Length: 313

                                                Connection: close

                                                Content-Type: text/html; charset=iso-8859-1

                                                                       

                        I. 2012-10-08 11:49:01. <OEHost> parseHTTP(): HTTP status received: 404

                        E. 2012-10-08 11:49:01. <OEHost> Received an unexpected HTTP error from the web server:HTTP/1.1 404 Not Found

                                                Date: Mon, 08 Oct 2012 09:49:01 GMT

                                                Server: Apache/2.0.52 (Fedora)

                                                Content-Length: 313

                                                Connection: close

                                                Content-Type: text/html; charset=iso-8859-1

                                                                       

                        E. 2012-10-08 11:49:01. <OEHost> doHTTPRequest: read reply failed

                        I. 2012-10-08 11:49:06. <OEHost> Relay server host is responding. Retrieving relay servers list..

                        I. 2012-10-08 11:49:06. <OEHost> doHTTPRequest: sending POST request..

                        I. 2012-10-08 11:49:06. <OEHost> Wrote request headers:

                                                POST http://<ip_address>:80/ias_relay_server/server/rs_server.dll HTTP/1.1

                                                Content-Type: application/octet-stream

                                                Content-Length: 175

                                                Host: 192.168.4.54:80

                                                Connection: Keep-Alive

                                                Proxy-Connection: Keep-Alive

                                                User-Agent: IAS_OE_TempChannel

                                                                       

                        I. 2012-10-08 11:49:06. <OEHost> Headers: HTTP/1.1 404 Not Found

                                                Date: Mon, 08 Oct 2012 09:49:06 GMT

                                                Server: Apache/2.0.52 (Fedora)

                                                Content-Length: 313

                                                Connection: close

                                                Content-Type: text/html; charset=iso-8859-1

                                                                       

                        I. 2012-10-08 11:49:06. <OEHost> parseHTTP(): HTTP status received: 404

                        E. 2012-10-08 11:49:06. <OEHost> Received an unexpected HTTP error from the web server:HTTP/1.1 404 Not Found

                                                Date: Mon, 08 Oct 2012 09:49:06 GMT

                                                Server: Apache/2.0.52 (Fedora)

                                                Content-Length: 313

                                                Connection: close

                                                Content-Type: text/html; charset=iso-8859-1

                                                                       

                        E. 2012-10-08 11:49:06. <OEHost> doHTTPRequest: read reply failed

                        I. 2012-10-08 11:49:11. <OEHost> Relay server host is responding. Retrieving relay servers list..

                        I. 2012-10-08 11:49:11. <OEHost> doHTTPRequest: sending POST request..

                        I. 2012-10-08 11:49:11. <OEHost> Wrote request headers:

                                                POST http://<ip_address>:80/ias_relay_server/server/rs_server.dll HTTP/1.1

                                                Content-Type: application/octet-stream

                                                Content-Length: 175

                                                Host: 192.168.4.54:80

                                                Connection: Keep-Alive

                                                Proxy-Connection: Keep-Alive

                                                User-Agent: IAS_OE_TempChannel

                                                                       

                        I. 2012-10-08 11:49:11. <OEHost> Headers: HTTP/1.1 404 Not Found

                                                Date: Mon, 08 Oct 2012 09:49:11 GMT

                                                Server: Apache/2.0.52 (Fedora)

                                                Content-Length: 313

                                                Connection: close

                                                Content-Type: text/html; charset=iso-8859-1

                                                                       

                        I. 2012-10-08 11:49:11. <OEHost> parseHTTP(): HTTP status received: 404

                        E. 2012-10-08 11:49:11. <OEHost> Received an unexpected HTTP error from the web server:HTTP/1.1 404 Not Found

                                                Date: Mon, 08 Oct 2012 09:49:11 GMT

                                                Server: Apache/2.0.52 (Fedora)

                                                Content-Length: 313

                                                Connection: close

                                                Content-Type: text/html; charset=iso-8859-1

                                                                       

                        E. 2012-10-08 11:49:11. <OEHost> doHTTPRequest: read reply failed

Actions