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

AWSIoTMQTTClient scheduleReconnection crash #5449

Open
tavisbones opened this issue Oct 4, 2024 · 3 comments
Open

AWSIoTMQTTClient scheduleReconnection crash #5449

tavisbones opened this issue Oct 4, 2024 · 3 comments
Labels
bug Something isn't working iot Issues related to the IoT SDK

Comments

@tavisbones
Copy link

Describe the bug
We are on version 2.37.2 version of the sdk and this crash is fairly prevalent in our application

To Reproduce
Steps to reproduce the behavior:

  1. Leave the app open for hours

Observed Behavior
Crashes

Expected Behavior
Doesn't crash

Stack Trace
Screenshot 2024-10-04 at 1 10 14 PM

Areas of the SDK you are using (AWSMobileClient, Cognito, Pinpoint, IoT, etc)?
IoT

Environment(please complete the following information):

  • SDK Version: 2.37.2
  • Dependency Manager: SPM
  • Swift Version : 5.0
  • Xcode Version: All versions

Device Information (please complete the following information):

  • Device: All devices
  • iOS Version: iOS 17
@github-actions github-actions bot added pending-triage Issue is pending triage pending-maintainer-response Issue is pending response from an Amplify team member labels Oct 4, 2024
@mattcreaser mattcreaser added bug Something isn't working iot Issues related to the IoT SDK labels Oct 7, 2024
@mattcreaser
Copy link
Member

Thanks for filing the issue @tavisbones. Could you talk a little bit more about how you're using the SDK? That will help in investigating the issue.

@github-actions github-actions bot removed the pending-maintainer-response Issue is pending response from an Amplify team member label Oct 7, 2024
@mattcreaser mattcreaser added pending-community-response Issue is pending response from the issue requestor and removed pending-triage Issue is pending triage labels Oct 7, 2024
@tavisbones
Copy link
Author

@mattcreaser we are just opening an IoT connection and let the app run for awhile (hours)

iotDataManager?.connectUsingWebSocket(withClientId: clientId, cleanSession: true, statusCallback: statusCallback)

@github-actions github-actions bot added pending-maintainer-response Issue is pending response from an Amplify team member and removed pending-community-response Issue is pending response from the issue requestor labels Oct 8, 2024
@harsh62
Copy link
Member

harsh62 commented Oct 17, 2024

Are you able to provide more code snippets, and how we can reproduce this issue locally on a machine?

@github-actions github-actions bot removed the pending-maintainer-response Issue is pending response from an Amplify team member label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working iot Issues related to the IoT SDK
Projects
None yet
Development

No branches or pull requests

3 participants