VMware Workspace ONE Community
zambono
Contributor
Contributor

Unable to initialize iOS SDK, not retrieving profiles...

I am unable to initialize the iOS SDK on a native application.  I am using the latest SDK 20.1 I believe.

These are the errors I am getting in the logs, after the controller.start

Which of these logs are required for SSO without a Token.  I have no certificate in the app, and I am not sure if I need the HMAC since I just want the identity information.

What seems to be stopping the initiation is the lack of profiles.  The app is able to open the HUB app and return to it.  Also in the console the HUB has the global profile for SDK and the app has a custom one per the docs.

thanks

Failed to get URL for Trust Services.

encrypted RSA keypair entry not found

Failed to create HMAC Authenticator with given Identity due to missing values.

Can not decrypt configuration without password Will try with provided password if one exist [com.air-watch.sdk.services SecureChannelConfigurationManager:329]

2020-02-28 11:13:08:282 271655 [E] Received error while validating network response. Error = invalidStatusCode(500) [com.air-watch.sdk.services EndpointResponse:39]

2020-02-28 11:13:08:282 271655 [E] Validated Response is missing. Completing with error: Optional((extension in AWServices):AWError.AWError.SDK.Service.ResponseValidator.invalidStatusCode(500)) [com.air-watch.sdk.services NetworkClient:262]

2020-02-28 11:13:08:282 271655 [E] Failed to retrieve profile for type: sdk with error: Optional((extension in AWServices):AWError.AWError.SDK.Service.ResponseValidator.invalidStatusCode(500)) [com.air-watch.sdk.services ProfileManagerEndpoint:111]

2020-02-28 11:13:08:282 271655 [E] Profile fetch was not successful for profile Type: SDK [com.air-watch.sdk.main ConfigurationProfileFetchOperation:38]

2020-02-28 11:13:08:282 271655 [E] Error Retrieving Profile Type: SDK, Error: Optional((extension in AWServices):AWError.AWError.SDK.Service.ResponseValidator.invalidStatusCode(500)) [com.air-watch.sdk.main ConfigurationProfileFetchOperation:39]

Tags (4)
0 Kudos
2 Replies
zambono
Contributor
Contributor

Still stuck here, there documentation on AirWatch SDK is very poor when it comes to troubleshooting.  Following the implementation steps in the docs are not a full solution.

I am able to retrieve enrollment status: Enrolled

but when it comes to profiles

Can not decrypt configuration without password Will try with provided password if one exist [com.air-watch.sdk.services SecureChannelConfigurationManager:329]

2020-03-26 10:25:56:912 35206 [E] Received error while validating network response. Error = invalidStatusCode(500) [com.air-watch.sdk.services EndpointResponse:39]

2020-03-26 10:25:56:912 35206 [E] Validated Response is missing. Completing with error: Optional((extension in AWServices):AWError.AWError.SDK.Service.ResponseValidator.invalidStatusCode(500)) [com.air-watch.sdk.services NetworkClient:262]

2020-03-26 10:25:56:912 35206 [E] Failed to retrieve profile for type: sdk with error: Optional((extension in AWServices):AWError.AWError.SDK.Service.ResponseValidator.invalidStatusCode(500)) [com.air-watch.sdk.services ProfileManagerEndpoint:111]

2020-03-26 10:25:56:912 35206 [E] Profile fetch was not successful for profile Type: SDK [com.air-watch.sdk.main ConfigurationProfileFetchOperation:38]

0 Kudos
MeyMath
Contributor
Contributor

Did you resolve the issue?
If yes - how do you fix it?

 

KR
Mathias

0 Kudos