Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Authentication issue while replicating in iOS 8 #78

Open
m0re opened this issue Aug 25, 2014 · 0 comments
Open

Authentication issue while replicating in iOS 8 #78

m0re opened this issue Aug 25, 2014 · 0 comments

Comments

@m0re
Copy link

m0re commented Aug 25, 2014

Hi,

First I'd like to thank you for the library which worked for us until now. In anticipation of iOS 8 we tried rebuilding our app in XCode 6 (6A280e) with an iOS 8 device target. However, we hit on what seems like an Auth error while replicating:

initWithOperation failed: Error Domain=CouchDB Code=401 "unauthorized: Authentication required." UserInfo=0x79a83fd0 {NSLocalizedDescription=unauthorized: Authentication required., NSUnderlyingError=0x79adcc80 "unauthorized", NSLocalizedFailureReason=unauthorized} on RESTOperation[failed GET http://xxxxxxxx.aero:5984/xxxxx-branch/iPad%20Simulator]

Strangely the replication did not fail outright, some files were synced but the error popped up a few seconds into the replication and as a result not all files would be replicated in.

This is using the same code that worked in iOS 7. We are using NSURLCredentialStorage to store the username and password for our server. Can you please give us an idea of what went wrong and what we can do to fix it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant