Details
-
Task
-
Resolution: Fixed
-
Major
-
Mobile 2.8
Description
- Run the replicator in iOS 14, connect to a different IP.
- Alert which is asks for allow or disallow local network access, click disallow
- Now the replicator will receive a `Network Down 50` error, which is making the replicator keep retrying infinitely.
2020-09-16 13:46:43.270894-0700 Todo[582:31398] CouchbaseLite Replicator ERROR: {C4Replicator#6} Transient error (POSIX error 50 "Network is down"); attempt #7 in 64 sec...
|
2020-09-16 13:46:43.271193-0700 Todo[582:31398] CouchbaseLite Replicator ERROR: {C4Replicator#6} State: offline, progress=0.00%, error=POSIX error 50 "Network is down"
|
2020-09-16 13:46:43.271514-0700 Todo[582:31394] CouchbaseLite Replicator Info: CBLReplicator[<*> URL[ws://192.168.0.23:4984/todo]] is offline, progress 0/0, error: Error Domain=NSPOSIXErrorDomain Code=50 "Network is down" UserInfo={NSLocalizedDescription=Network is down}
|
2020-09-16 13:46:43.271826-0700 Todo[582:30948] [Todo] Replicator: Offline, 0/0, error: Error Domain=NSPOSIXErrorDomain Code=50 "Network is down" UserInfo={NSLocalizedDescription=Network is down}
|
Question:
Not sure, whether we can identify the error code `ENETDOWN`, specific to disallowed network access. If not we might need to document the behavior.
Full logs: enetdown.txt
Attachments
Issue Links
- relates to
-
CBL-1282 iOS 14 - User disallow network access is keep retrying SG
- Closed