cancel
Showing results for 
Search instead for 
Did you mean: 

Afaria7SP5Fx05 - unable to retrieve application from package server

Former Member
0 Kudos

Hi All,

I able to enroll android device via the afaria client and able to send notification such as "lock device".


however, afaria client prompt an error "Unable to Connect" when I trying to refresh the application list from the afaria client. Following is the error screen shot display on the afaria client.

I suspect this is some problem with the package server or CA connection.

Anyone can help?

Thanks.

Regards

Choong

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi All,

i'm able to install application via the android device but the solutions have some conflict between android and iOS device. following is my test result:

Scenario 1:

Package server with https connection

ios device all working fine, android device able to enroll but having error when install application:

Scenario  2:

Package server with http connection

android device all working fine, iOS device able to enroll but having error when install application:

Please help.

Regards

Choong

tracy_barkley
Employee
Employee
0 Kudos

As for the android, what type of certificate are you using?  The most common issue is that the root certificate you are using for HTTPS is not on the device.  Can you check the certificate store of the device for that root cert?  Another method of checking is to browse to https://<PortalPackageServerAddress>/ps/ps.svc/help from the browser on the device and see if the site is accessible from that device and if it throws any errors.

Former Member
0 Kudos

Hi Tracy,

Thanks for reply again. Our afaria is using selfsign certificate.

I tried to browse https://<PortalPackageServerAddress>/ps/ps.svc/help on the android device as per suggest. it prompt "there are problems with the security certificate for this site".


However, when i tried to browse the link on the iOS device and the iOS device prompt "cannot verify server identity" as well.


Please advise.

Regards

Choong

tracy_barkley
Employee
Employee
0 Kudos

iOS will work differently.  Since it is self signed, try importing the certificate onto the devices certificate store for the android.

Former Member
0 Kudos

Hi Tracy,

I tried to import the self signed certificate but its no luck to solve the problem. Do you have any others suggestion?

Regards

Choong

tracy_barkley
Employee
Employee
0 Kudos

None come to mind without looking at specific errors.

Former Member
0 Kudos

I always recommend using a non self-signed cert. You can get one for $30/y and this is saved many times over because there's so much work (and trouble) in getting self-signed to work.

Take the jump 🙂

Peter

tracy_barkley
Employee
Employee
0 Kudos

On the android device, check the settings and make sure that the values seeded on the device for the package server appear correct.  Being android this would not be a CA problem. Are you using a relay server or direct connect? Does the package server work for other device types, or are you only using Android?

Former Member
0 Kudos

Hi Tracy,

Thanks for your reply and the CA clarification, its short my time to troubleshoot the CA connection for the problem I encountering.

Besides, I separate the question so that it easier to understand.

1. The package server ip and port display on the device configuration is correct and the connection is using HTTPS.

2. My Afaria environment is direct connect to Afaria server.

3. The package server is working for iOS device, the custom afaria client on iOS device able to display and install the enterprise app.

Is that correct to using HTTPS connection as the package server connection?

Regards

Choong

tracy_barkley
Employee
Employee
0 Kudos

Yes,  As of 7.1 iOS requires HTTPS on the package server connection.  Please see SAP KBA 1995346.