cancel
Showing results for 
Search instead for 
Did you mean: 

HTTPS connection issue for Android devices on Afaria 7.0 SP4 HF 8/9

Former Member
0 Kudos

Dear All,

Afaria system has already been configured. We are in the process of enrolling Android users, but we are facing issue while trying to connect the Afaria Client to the Afaria Server using HTTPS protocol. Client shows "Server not found. Please check the address and try again" and refuses to connect to the afaria server. This happens intermittently, although at times it connects using HTTPS and the data is retrieved from the server. This issue is faced while using HTTPS, while HTTP works fine without any trouble.

Please find below the findings at network - sockets perspective:

  • When HTTPS is working: Socket opens and appears as "Established". After the connection, the socket goes to "TIME_WAIT" state and accepts further connections from the same client.
  • When HTTPS is not working: Socket opens, although appears as "FIN_WAIT_2". This restricts further connections by the same client, until the status changes to "TIME_WAIT".

Note: This is very evident when two devices are connecting to Afaria server using HTTPS/XNETS, as only one of the devices is able to connect to the server, while the other one fails.

Please find below the findings at network - packets perspective:

  • When HTTPS is working: The session starts and an SSL connection is established. Client requests for application data and the server shares the info. Several acknowledgements happen between the server and client. This follows the session termination requests which is acknowledged and connection closes.
  • When HTTPS is not working: The session starts and an SSL connection is established. Client requests for application data. Here the server initiates the four-way handshake for session termination(FIN-ACK, FIN-ACK), instead of sharing the information requested.

Has anyone faced this issue earlier? I'm a novice to Afaria and am looking forward to your response.

Thank you all in advance.

Cheers,

Vigil

Accepted Solutions (0)

Answers (1)

Answers (1)

michael_loop
Contributor
0 Kudos

Hi, Vigil,

Sorry you didn't get an answer on this. Hopefully you have been able to move on.

If not, or for other readers, you might want to check KBA 1994136 (http://service.sap.com/sap/support/notes/1994136). The gist is that an invalid Relay Server configuration can cause problems, even if you are not using Relay Server.

Regards,

Mike Loop - SAP Active Global Support