Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWSIoTDataManager Not able to connect. status is unknown #4934

Closed
Praphin opened this issue Aug 30, 2023 · 3 comments
Closed

AWSIoTDataManager Not able to connect. status is unknown #4934

Praphin opened this issue Aug 30, 2023 · 3 comments
Labels
iot Issues related to the IoT SDK pending-community-response Issue is pending response from the issue requestor question General question

Comments

@Praphin
Copy link

Praphin commented Aug 30, 2023

Describe the bug
AWSIoTDataManager not getting connected on iOS 17 devices. I am calling `AWSIoTDataManager.connect(withClientId. statusCallback is not received even after waiting.

When manually check status of AWSIoTMQTTStatus it was unknown

Environment(please complete the following information):

  • SDK Version: 2.33.4
  • Dependency Manager: SPM
  • Swift Version : Swift 5
  • Xcode Version: Xcode 15.0 beta 7

Device Information (please complete the following information):

  • Device: iPhone XS, iPhone 14 Pro Max
  • iOS Version: iOS 17

Logger output
2023-08-30 12:34:23:974 XX_APP[1183:150181] getIdentityRef error: -25300
2023-08-30 12:34:23:974 XX_APP[1183:150181] Could not find SecIdentityRef

@5d 5d added iot Issues related to the IoT SDK question General question labels Sep 5, 2023
@phantumcode
Copy link
Member

@Praphin Thanks for submitting the issue. We don't provide support for beta softwares and developer tools. Thanks for making us aware of the issue, we'll check and verify if it's still an issue when Xcode 15 and iOS 17 are GM released.

@phantumcode phantumcode added the dependencies Pull requests that update a dependency file label Sep 6, 2023
@ruisebas
Copy link
Member

I was unable to reproduce this in Xcode 15 RC, the connection was successful.

Based on your logs:

2023-08-30 12:34:23:974 XX_APP[1183:150181] getIdentityRef error: -25300
2023-08-30 12:34:23:974 XX_APP[1183:150181] Could not find SecIdentityRef

Your connection is not successful due to error 25300, which is errSecItemNotFound. Please double check you are providing the correct certificateId, and that it is stored in the Keychain.

@ruisebas ruisebas added pending-community-response Issue is pending response from the issue requestor and removed dependencies Pull requests that update a dependency file labels Sep 13, 2023
@PrakharParakh
Copy link

The issue persists, and while I am able to connect with an iOS 18 device, the connection status remains undefined for iOS 17 devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iot Issues related to the IoT SDK pending-community-response Issue is pending response from the issue requestor question General question
Projects
None yet
Development

No branches or pull requests

6 participants