cancel
Showing results for 
Search instead for 
Did you mean: 

Afaria 7: Unable to connect to Enrollment Server

Former Member
0 Kudos

Hello!

We have setup Afaria 7 and its components, everything seems to be totally ok.

Unfortunately, we are unable to connect any android device to the server when using the relay server. The Afaria Server and the Enrollment Server are installed on the same machine. Of course, the Relay Server is installed on another machine inside the DMZ.

When trying to connect the Afaria Client on a Android device, the following log entries appear on the relay server:

I. 2012-05-23 13:36:16. <3564.3252.-> Starting a new session, sfp: 4ab77353

I. 2012-05-23 13:36:16. <3564.3252.F2B0S0R0> New request for new session from Afaria Android Client

I. 2012-05-23 13:36:16. <3564.3252.F2B0S0R0> Relaying headers

I. 2012-05-23 13:36:16. <3564.3252.F2B0S0R0> Relaying Content-Length body

I. 2012-05-23 13:36:16. <3564.3252.F2B0S0R0> Relaying server response

I. 2012-05-23 13:36:16. <3564.3252.F2B0S0R0> Waiting for response packet

I. 2012-05-23 13:36:16. <2032.1972.F2B0Up> 250 bytes RS_CLI_SESSION_BEGIN(<F2B0S0R0>;sfp=4ab77353;appt=8;per=1;payload=231)

I. 2012-05-23 13:36:16. <2032.1972.F2B0Up> Waiting for client request

I. 2012-05-23 13:36:16. <3060.3460.F1B1Dn> 4 bytes OE_DNCHANNEL_NOOP()

I. 2012-05-23 13:36:16. <3060.3460.F1B1Dn> Waiting for server response

I. 2012-05-23 13:36:16. <3060.3460.F1B1Dn> Trip left: 2097102844

I. 2012-05-23 13:36:16. <2724.1864.F1B2Dn> 4 bytes OE_DNCHANNEL_NOOP()

I. 2012-05-23 13:36:16. <2724.1864.F1B2Dn> Waiting for server response

I. 2012-05-23 13:36:16. <2724.1864.F1B2Dn> Trip left: 2097102844

I. 2012-05-23 13:36:16. <2588.4032.F2B0Dn> 4 bytes OE_DNCHANNEL_NOOP()

I. 2012-05-23 13:36:16. <2588.4032.F2B0Dn> Waiting for server response

I. 2012-05-23 13:36:16. <2588.4032.F2B0Dn> Trip left: 2097102844

I. 2012-05-23 13:36:16. <2588.4032.F2B0Dn> 535 bytes OE_SERVER_RESPONSE(<F2B0S0R0>;oidx=0;sidx=0;sfp=4ab77353;payload=513;filler=0)

I. 2012-05-23 13:36:16. <3564.3252.F2B0S0R0> Received down packet

I. 2012-05-23 13:36:16. <3564.3252.F2B0S0R0> Waiting for OE_BACKEND_DISCONNECTED packet

I. 2012-05-23 13:36:16. <2588.4032.F2B0Dn> Waiting for server response

I. 2012-05-23 13:36:16. <2588.4032.F2B0Dn> Trip left: 2097102309

I. 2012-05-23 13:36:16. <2588.4032.F2B0Dn> 20 bytes OE_BACKEND_DISCONNECTED(<F2B0S0R0>;oidx=0;sidx=0;sfp=4ab77353)

I. 2012-05-23 13:36:16. <3564.3252.F2B0S0R0> Received down packet

I. 2012-05-23 13:36:16. <3564.3252.F2B0S0R0> Peak local download queue size: 0

I. 2012-05-23 13:36:16. <2588.4032.F2B0Dn> Closed request index R0.

I. 2012-05-23 13:36:16. <2588.4032.F2B0Dn> Waiting for server response

I. 2012-05-23 13:36:16. <2588.4032.F2B0Dn> Trip left: 2097102289

I cannot find any corresponding data on the Afaria Server itself. The phone just notifies me "registration failed".

Is there anything to do except than configuring the Afaria Server (Server -> Relay Server, Component -> Enrollment Server)?

Thank you!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You need to run the outbound enabler on afaria server which will connect you relay server and afaria server.

If you had configured relay server setting in Afaria console.. Blank the setting and disable the relay server setting from console

Create outbound enabler rsoe for server and enrollment code (Portal and ca server if you are using)

or else you will required only 2 outbound enabler

former_member201782
Participant
0 Kudos

Hi Chetan,

Yes, I have configured 4 Outbound enablers on Afaria Server. One for Afaria server, ios, ps and ca. All are showing successfully connected.

Relay server setting in Afaria console is blank and unchecked.

The moment I hit the enrollment code, it prompts for user details then says connected and then failed. Not able to connect to channel to sync policies. Without Relay server it works fine.

Are there any addition settings or permissions need to be set for Afaria server farm?

Please let me know. I am stuck at this point.

Can you look at my below discussion:

http://scn.sap.com/thread/3447895

Thanks,

Srikanth.

Former Member
0 Kudos

if it is working properly without relay server the only difference will be the scanner.

Make sure to disable the scanner on firewall for port 80 and 443 (eg , url scanner , RDP , ) disable all scanner for port 80 and 443 on firewall.

Make sure all the ports open from relay server to device ( for public ip) is open properly 80 and 443.

Former Member
0 Kudos

Hi srikanth check the following.

1) Your relay server address should be public

2)Check if relayserver Client availability. And it should be installed according to the Afaria Documentation.

if your relaserver is installed properly check the below url

http://xxxxxx/ias_relay_server/client/rs_client.dll/afaria/aips/aipService.svc/help

it has to show some xml format data/ Text data..

3)Switch off your firewall in both the systems or create inbound, outbound rules in firewall settings.

former_member201782
Participant
0 Kudos

Hello Jorn,

Is you issue resolved? I am facing similar issue.

Let me know if you have find solution for this.

Thanks,

Shrik