adobe / aepsdk-assurance-ios

Adobe Experience Platform Assurance SDK
Apache License 2.0
1 stars 12 forks source link

Assurance SDK keeps retrying connection to the deleted Assurance session #71

Open addb opened 1 year ago

addb commented 1 year ago

Expected Behaviour

Limited retries with extended delays for connection retries to an Assurance session. No retries for unrecoverable errors.

Actual Behaviour

Frequent unlimited retries trying to connect to the deleted Assurance session.

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Connect to deleted assurance session

Platform and Version

iOS

"com.adobe.assurance" : {
      "version" : "3.0.1",
      "friendlyName" : "Assurance"
    }

Sample Code that illustrates the problem

Logs taken while reproducing problem

assuraceInfiniteRetries
prudrabhat commented 1 year ago

The Error Code here is 1006 - Abnormal Closure which is not expected when connecting to a deleted session. Need to double check if this is indeed an issue due to connecting to a deleted session or a general connection issue.