Replication Issue after upgrading to 1.1

33 views
Skip to first unread message

VG

unread,
Jul 24, 2015, 11:05:29 AM7/24/15
to Couchbase Mobile
I am in the process of upgrading from 1.0.4 to 1.1. The replication process works fine with 1.0.4 but with 1.1, I get kCBLReplicationOffline. 

I am using websockets for pull/push. Has the process changed for 1.1?

Current code:

    pull = [_database createPullReplication:_remoteURL];

    pull.continuous = YES;

    pull.customProperties = @{@"websocket": @0};

    

    push = [_database createPushReplication:_remoteURL];

    push.continuous = YES;

    push.customProperties = @{@"websocket": @0};

Jens Alfke

unread,
Jul 24, 2015, 12:21:11 PM7/24/15
to mobile-c...@googlegroups.com
On Jul 24, 2015, at 8:02 AM, VG <va...@pushstrength.com> wrote:

I am in the process of upgrading from 1.0.4 to 1.1. The replication process works fine with 1.0.4 but with 1.1, I get kCBLReplicationOffline. 

Sounds like a bug; could you file a bug report, with more details?

I am using websockets for pull/push. Has the process changed for 1.1?

The code snippets show that you’ve turned off WebSockets (you’ve set the “websocket” property to NO.)

—Jens
Reply all
Reply to author
Forward
0 new messages