Post

Replies

Boosts

Views

Activity

Using NSURLSessionDownloadTask to download https file, error is reported Error Domain=kCFErrorDomainCFNetwork Code=303
I use NSURLSessionDownloadTask to download the https file in the background, an error occurs with the error message: Task .<17> finished with error [303] Error Domain=kCFErrorDomainCFNetwork Code=303 "(null)" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=BackgroundDownloadTask .<17>, _kCFStreamErrorDomainKey=4, NSErrorPeerAddressKey={length = 16, bytes = 0x100201bb17485a920000000000000000}, _kCFStreamErrorCodeKey=-2201, _NSURLErrorRelatedURLSessionTaskErrorKey=(   "BackgroundDownloadTask .<17>",   "LocalDownloadTask .<17>" )} This error don't occur every time, but the probability is quite high, what is the cause of this error? Please help!
4
0
990
Dec ’22