Hi! I got an internal error while trying to make requests with Swift SDK. Steps to reproduce:
-
Auth:
ThreeDCloudAPI.oAuthPost(grantType: grantType,
clientId: clientID,
clientSecret: clientSecret)
Got accessToken successfully -
Trying to make any other request with SDK, for example:
ThreeDCloudAPI.storageExists(storageName: "myStorage")
After making this request I got an error message:
**Task <C09C9E8F-844D-4566-A48B-840412419202>.<1> finished with error [-1005] Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={_kCFStreamErrorCodeKey=57, NSUnderlyingError=0x2808b7ea0 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x2825605a0 [0x20740bec8]>{length = 16, capacity = 16, bytes = 0x100201bb36d577760000000000000000}, _kCFStreamErrorCodeKey=57, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <C09C9E8F-844D-4566-A48B-840412419202>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(**
**"LocalDataTask <C09C9E8F-844D-4566-A48B-840412419202>.<1>"**
**), NSLocalizedDescription=The network connection was lost., NSErrorFailingURLStringKey=https://api.aspose.cloud/v3.0/3d/storage/def/exist, NSErrorFailingURLKey=https://api.aspose.cloud/v3.0/3d/storage/myStorage/exist, _kCFStreamErrorDomainKey=1}**
Network connection works properly. Auth also works good. Please help to solve this error.