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

Authentication issue while replicating in iOS 8 #78

@m0re

Description

@m0re

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions