Getting error : "Connection error making token request to "<hostname>/connect/token": The network connection was lost..." on iOS 13, 12,11.
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 2k
- Forks
- 867
- Avg merge
- 4d 48m
- Merged PRs (30d)
- 1
Description
We are facing a issue in device in iOS 13, 12 and also in 11.
Here is the log.
Printing description of tokenError:
Error Domain=org.openid.appauth.general Code=-5 "Connection error making token request to 'https://.com/c2a48310-9715-3beb-895e-000000000000/login/token': The network connection was lost.." UserInfo={NSLocalizedDescription=Connection error making token request to 'https://.com/c2a48310-9715-3beb-895e-000000000000/login/token': The network connection was lost.., NSUnderlyingError=0x283b8a460 {Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={NSUnderlyingError=0x283b8acd0 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x281662710 [0x1c56575e8]>{length = 16, capacity = 16, bytes = 0x100201bb0d23e3560000000000000000}, _kCFStreamErrorCodeKey=53, _kCFStreamErrorDomainKey=1}}, NSErrorFailingURLStringKey=https://com/c2a48310-9715-3beb-895e-000000000000/login/token, NSErrorFailingURLKey=https://.com/c2a48310-9715-3beb-895e-000000000000/login/token, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=53, NSLocalizedDescription=The network connection was lost.}}}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are named. Start by reproducing the reported token request failure on iOS 11, 12, and 13, then trace the AppAuth token-request entry point and the underlying NSURLErrorDomain -1005 network error. Done means identifying whether the failure is in the SDK or the provider/network path and documenting or fixing the reproducible cause.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, objective-c
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100