bizz84 / bizz84/SwiftyStoreKit

SSErrorDomain Code 110 - Cannot connect to iTunes Store

Open
#395 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
6.7k
Forks
801
PR merge metrics
No merged PRs in 30d

Description

### Platform

- [x] iOS
- [ ] macOS
- [ ] tvOS

### In app purchase type

- [ ] Consumable
- [x] Non-consumable
- [ ] Auto-Renewable Subscription
- [ ] Non-Renewing Subscription

### Environment

- [ ] Sandbox
- [x] Production

### Version
0.13.3

## Report

### Issue summary
I saw in the Crashlytics logs a non-fatal error "Can not connect to the iTunes Store". We also received several messages from users about this issue.

This is stack trace from the Crashlytics.
```
0
AppName
CLSUserLogging.m - Line 319
CLSUserLoggingRecordError
1
AppName
Crashlytics.m - Line 453
-[Crashlytics recordError:withAdditionalUserInfo:]
arrow_right 2
AppName
AppNameProducts.swift - Line 27
AppNameProducts.retrieveProducts() -> Promise<[SKProduct]> empty-list empty-list
3
AppName
AppNameProducts.swift - Line 0
AppNameProducts.retrieveProducts() -> Promise<[SKProduct]> empty-list empty-list
4
SwiftyStoreKit
ProductsInfoController.swift - Line 0
RetrieveResults
5
SwiftyStoreKit
ProductsInfoController.swift - Line 68
ProductsInfoController.retrieveProductsInfo(Set, completion : (RetrieveResults) -> ()) -> () empty-list completion
6
SwiftyStoreKit
ProductsInfoController.swift - Line 0
ProductsInfoController.retrieveProductsInfo(Set, completion : (RetrieveResults) -> ()) -> () empty-list completion
7
SwiftyStoreKit
InAppProductQueryRequest.swift - Line 76
partial apply for InAppProductQueryRequest.(performCallback(RetrieveResults) -> ()).(closure #1)
8
SwiftyStoreKit
InAppReceiptRefreshRequest.swift - Line 0
_T0Ieg_IeyB_TR
```

Contributor guide

Open the contributing guide

Research direction

Start with AppNameProducts.swift line 27 and trace product retrieval through SwiftyStoreKit's ProductsInfoController.swift line 68 and InAppReceiptRefreshRequest.swift. Determine how production iOS non-consumable retrieval reports SSErrorDomain code 110; done means the reported connection failure is addressed or its handling is clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile, payments
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.