cancel
Showing results for 
Search instead for 
Did you mean: 

Relay Server: Overall availability: None

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

rakshit_doshi
Active Contributor
0 Kudos

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,

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi.

The error message in english is the following:

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

rakshit_doshi
Active Contributor
0 Kudos

Hi David,

Are there any Proxy Servers in your environment?

Former Member
0 Kudos

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.

rakshit_doshi
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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

rohith_deraje
Advisor
Advisor
0 Kudos

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

rakshit_doshi
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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.

rakshit_doshi
Active Contributor
0 Kudos

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


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

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

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

Click on New

And enter the details as in the Screenshot

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.

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

Click on New then Select messaging/replication from the dropdown

All you details will automatically come up.

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

Click Next and finish

You will see that the Relayserver is not yet up.

You will see as stopped.

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

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,

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi.

I just re-installed IIS, did the configuration steps again using the guide in http://scn.sap.com/docs/DOC-31311

I removed the proxy configuration and it worked fine.

Thank you.

David