cancel
Showing results for 
Search instead for 
Did you mean: 

Relay Server unable to connect with backend farm

Former Member
0 Kudos

Hi Everyone,

Environment.

SUP 2.1.3

Relay Server: iAnywhere Relay Server Version 12.0.1.3423

Accessing BO Report via Iphone/Ipad getting SUP Error 552, settings on BI mobile app,

-connection name: SUP

-Security Config: COBI

-Server: my.company.uk

-Port: 80

-Farm ID:  <suphost>.msg

-userid/pass: BO uses AD Authentication.

Action taken,

1. rebooted relay server

2. rebooted sup server

3. outside of company network, im able to ping get the IIS7 image when execute my.company.uk / ip address

Rebooted SUP/Relay server, still having the same issue.

Then, deleted the SUP connection on the mobile device app and recreated after killing the background process , still no go.

Everything was working perfectly fine, up to this point when we are having trouble.

Error logs from Relay Server

I. 2013-10-08 20:09:27. <488.3936.F1B0Up> 45 bytes RS_UPCHANNEL_CONNECT_RESPONSE(fidx=1;bidx=0;rsid=_unused_;rsu=ec9d72c4a29c4348a68a169fdb531d42;dtl=2097152000;oet=1)

I. 2013-10-08 20:09:27. <488.3936.F1B0Up> Established for server '<suphost>-msg-host1' in farm '<suphost>.msg'

I. 2013-10-08 20:09:27. <488.3936.F1B0Up> Waiting for client request

I. 2013-10-08 20:09:30. <2692.1828.-> Received a new OE request

I. 2013-10-08 20:09:30. <2692.1828.-> 49152 bytes OE_DNCHANNEL_CONNECT(fidx=1,bidx=0;oeu=e2c1d42feb5c44ca9ca6ed2e3cea37d3;rsu=ec9d72c4a29c4348a68a169fdb531d42;oei=Standalone RSOE 12.0.1.3750,49082 bytes punture)

I. 2013-10-08 20:09:30. <2692.1828.-> Processing down channel connect request

I. 2013-10-08 20:09:30. <2692.1828.F1B0Dn> Authenticating down channel

I. 2013-10-08 20:09:30. <2692.1828.F1B0Dn> Established for server '<suphost>-msg-host1' in farm '<suphost>.msg'

I. 2013-10-08 20:09:30. <2692.1828.F1B0Dn> Finished

I. 2013-10-08 20:09:30. <2692.1828.-> Received a new OE request

I. 2013-10-08 20:09:30. <2692.1828.-> 49152 bytes OE_DNCHANNEL_CONNECT(fidx=1,bidx=0;oeu=e2c1d42feb5c44ca9ca6ed2e3cea37d3;rsu=ec9d72c4a29c4348a68a169fdb531d42;oei=Standalone RSOE 12.0.1.3750,49082 bytes punture)

I. 2013-10-08 20:09:30. <2692.1828.-> Processing down channel connect request

I. 2013-10-08 20:09:30. <2692.1828.F1B0Dn> Authenticating down channel

I. 2013-10-08 20:09:30. <2692.1828.F1B0Dn> Established for server '<suphost>-msg-host1' in farm '<suphost>.msg'

I. 2013-10-08 20:09:30. <2692.1828.F1B0Dn> Waiting for server response

I. 2013-10-08 20:09:30. <2692.1828.F1B0Dn> Trip left: 2097102848

I. 2013-10-08 20:09:34. <1560.1684.rshost:master> RS cpu: 0.05  Idle cpu: 99.81

Error logs from SCC - Outbound Enabler - <suphost>.msg

I. 2013-10-08 20:28:14. <UpChannel-0000> parseHTTP(): HTTP status received: 200

I. 2013-10-08 20:28:14. <UpChannel-0000> parseHeaders: successfully parsed Content-Length: 4

I. 2013-10-08 20:28:14. <UpChannel-0000> parseHeaders: successfully parsed Connection or Proxy-Connection header

I. 2013-10-08 20:28:14. <UpChannel-0000> Successfully connected to relay server: my.company.uk:80

I. 2013-10-08 20:28:14. <UpChannel-0000> PacketRead packet-len: 2

I. 2013-10-08 20:28:14. <UpChannel-0000> PacketRead packet-opcode: 0xf001

I. 2013-10-08 20:28:14. <UpChannel-0000> packet read..

I. 2013-10-08 20:28:14. <UpChannel-0000> successful packet read.. processing it..

I. 2013-10-08 20:28:14. <UpChannel-0000> packet:

I. 2013-10-08 20:28:14. <UpChannel-0000> 0000: 02 00 01 F0                                      ....           

E. 2013-10-08 20:28:14. <UpChannel-0000> Error: Encountered authentication error with Relay Server, Farm ID or backend server ID could be invalid

I. 2013-10-08 20:28:14. <UpChannel-0000> packet read..

E. 2013-10-08 20:28:14. <UpChannel-0000> Failed to read response from Relay Server. Connection closed by server!

I. 2013-10-08 20:28:14. <UpChannel-0000> Restart OE instance requested.

I. 2013-10-08 20:28:14. <UpChannel-0000> Terminating..

I. 2013-10-08 20:28:14. <UpChannel-0000> Releasing connect mutex

I. 2013-10-08 20:28:14. <DnChannel-0000> Sender thread started..

I. 2013-10-08 20:28:14. <DnChannel-0000> Waiting to establish down channel

I. 2013-10-08 20:28:14. <DnChannel-0000> Waiting for connect mutex

I. 2013-10-08 20:28:14. <DnChannel-0000> Acquired connect mutex

I. 2013-10-08 20:28:14. <DnChannel-0000> Ready to establish down channel

I. 2013-10-08 20:28:14. <DnChannel-0000> Sending down channel connect packet..

I. 2013-10-08 20:28:14. <DnChannel-0000> doHTTPRequest: sending POST request..

I. 2013-10-08 20:28:14. <DnChannel-0000> Wrote request headers:

                        POST /ias_relay_server/server/rs_server.dll HTTP/1.1

                        Content-Type: application/octet-stream

                        Host: my.company.uk:80

                        Connection: Keep-Alive

                        User-Agent: IAS_OE_DnChannel

                        Content-Length: 49152

I. 2013-10-08 20:28:14. <DnChannel-0000> Headers: HTTP/1.1 404 Page not found

                        Transfer-Encoding: chunked

                        Content-Type: text/html

                        Server: Microsoft-IIS/7.5

                        IAS-RS-Extension: OE_DnChannel

                        X-Powered-By: ASP.NET

                        Date: Tue, 08 Oct 2013 18:28:14 GMT

I. 2013-10-08 20:28:14. <DnChannel-0000> parseHTTP(): HTTP status received: 404

E. 2013-10-08 20:28:14. <DnChannel-0000> Received an unexpected HTTP error from the web server:HTTP/1.1 404 Page not found

                        Transfer-Encoding: chunked

                        Content-Type: text/html

                        Server: Microsoft-IIS/7.5

                        IAS-RS-Extension: OE_DnChannel

                        X-Powered-By: ASP.NET

                        Date: Tue, 08 Oct 2013 18:28:14 GMT

E. 2013-10-08 20:28:14. <DnChannel-0000> doHTTPRequest: read reply failed

I. 2013-10-08 20:28:14. <DnChannel-0000> Releasing connect mutex

I. 2013-10-08 20:28:14. <DnChannel-0000> Restart OE instance requested.

I. 2013-10-08 20:28:14. <DnChannel-0000> Sender thread terminating..

I. 2013-10-08 20:28:14. <Main-0000> Restarting

I. 2013-10-08 20:28:14. <Main-0000> Stop using Relay Server my.company.uk:80

I. 2013-10-08 20:28:14. <Main-0000> Waiting for worker thread to terminate. _socketsCount: 0

I. 2013-10-08 20:28:14. <Backend-0000> Done Run()

I. 2013-10-08 20:28:14. <Backend-0000> Terminating..

I. 2013-10-08 20:28:14. <Main-0000> disconnecting UpChannel

I. 2013-10-08 20:28:14. <Main-0000> destroying UpChannel

I. 2013-10-08 20:28:14. <Main-0000> disconnecting DnChannel

I. 2013-10-08 20:28:14. <Main-0000> destroying DnChannel

I. 2013-10-08 20:28:14. <Main-0000> Outbound Enabler starting..

I. 2013-10-08 20:28:14. <Main-0000> UpChannel thread launched..

I. 2013-10-08 20:28:14. <Main-0000> Backend Server thread launched..

I. 2013-10-08 20:28:14. <Backend-0000> Started..

I. 2013-10-08 20:28:14. <Backend-0000> Calling Run()

I. 2013-10-08 20:28:14. <Main-0000> DnChannel thread launched..

Looks like SUP having trouble to establish connection to Relay Server...

Appreciate any leads to get this fixed, Thanks again.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Ramesh,

We had somewhat similar issue.

The solution we opted was, upgrading SQL Anywhere Mobilink Server to 12.0.1.3750

Try downloading patch EBF 20512 and applying on SUP server.

Best Regards

Ajay

Former Member
0 Kudos

hi Ramesh,

we host a webinar tomorrow, Thursday Oct 10: Relay Server set-up, config and troubleshooting.

You might find that interesting?

Details are on this page: http://scn.sap.com/docs/DOC-43425. You'll find a calendar file as attachment that contains all dial in details.

Recording will be published via that page as well.

cheers, Jan

Former Member
0 Kudos

Hi,

Does your local connection works Ok? (bypassing relay server)

Please take care of the following:

Devices on 3G/4G network not able to connect to Unwired Server.

A connectivity issue may occur between the device and Unwired Server. The current client libraries use a protocol that supports HTTP chunked transfer-encoding only. 3G/4G traffic might, in some cases, be subject to content filtering and convert the messages from chunked transfer-encoding to fixed content-length if the communication is done via standard HTTP ports, which most commonly are 80 and 8080. Since the client application can support only chunked transfer-encoding, the communication cannot be established. In effect, a response cannot be sent back to the server indicating that the device is online.

Note: For devices on WiFi networks, the connection between a device and Unwired Server establishes without error.

Workaround: Use a non-standard HTTP port (any port other than 80 or 8080) or an HTTPS port, that is, 443 for Unwired Platform client communication from devices to the Relay Server or external load balancer, whichever one is used, in the DMZ.

So you can try connecting to relay server using any port other than 80 or 8080.

Best Regards,

Erick Ilarraza

Former Member
0 Kudos

Hi Erick,

MobileBiService.war is not configured since our company dont allow VPN software on our mobile devices. Therefore direct connection to BO wont work, so it has to go through the Relay Server im afraid.

I just notice that, i managed to connect on the mobile device to relay and all, but when try to view some of the report getting error, apparently the connection work intermittenly only.

Also when i use port 443 over 3G and company Wifi, im getting diffrent error code:

Accessing BO Report via Iphone/Ipad getting SUP Error 552, settings on BI mobile app,
-connection name: SUP
-Security Config: COBI
-Server: my.company.uk
-Port: 443
-Farm ID:  <suphost>.msg
-userid/pass: BO uses AD Authentication

Getting error, SUP: 515

when use port 80, getting connected intermittenly but when viewing the BO report getting SUP 552

rs_log.txt

E. 2013-10-09 08:08:47. <2692.1828.F1B0Up> RSE3009: Communication error [SYS1229: An operation was attempted on a nonexistent network connection...] occurred while writing to up channel of backend server '<suphost>-msg-host1' in backend farm '<suphost>.msg'I. 2013-10-09 08:08:47. <2692.1828.F1B0Up> Finished

I. 2013-10-09 08:08:47. <2692.1828.F1B0Up> Disengaged

I. 2013-10-09 08:08:57. <2692.3368.F0B0Up> Sending a liveness packet

I. 2013-10-09 08:08:57. <2692.3368.F0B0Up> 4 bytes RS_UPCHANNEL_NOOP()

E. 2013-10-09 08:08:57. <2692.3368.F0B0Up> RSE3009: Communication error [SYS1229: An operation was attempted on a nonexistent network connection...] occurred while writing to up channel of backend server '<suphost>-rep-host1' in backend farm '<suphost>.rep'
I. 2013-10-09 08:08:57. <2692.3368.F0B0Up> Finished

I. 2013-10-09 08:08:57. <2692.3368.F0B0Up> Disengaged

I. 2013-10-09 08:09:03. <1560.1684.rshost:master> RS cpu: 0.00  Idle cpu: 99.83

Anything else i could check? Thanks.

Former Member
0 Kudos

Hello,

So when using the 80 port you are able to register your device on SUP? You see the Application Connection on SUP Console? According to our experienced getting connected intermittenly during the initial syncs of devices bring you a lot of problems.

It is a must to avoid intermittenly when using 3G please check that the telcom operator signal is Ok maybe moving to another location.

Best Regards,

Erick Ilarraza