Hi,
Was this issue ever resolved?
I’m encountering a similar problem (pulling documents blocked, deleting/reinstalling database solves the issue)
I also see the "Output stream end encountered" error message with the logging turned on.
For a more detailed explanation of the issue, you can see my post here: Pull Replication Stopped/Blocked After Updating to Swift 3
I’d appreciate any help you can offer.
Thanks