Created
March 21, 2013 23:43
-
-
Save jchris/5217844 to your computer and use it in GitHub Desktop.
race conditions and conflicts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16:26:53.738| Logging mode 2 enabled in domains: {CBLDatabase, CBLModel, RemoteRequest} | |
16:26:53.740| CBLDatabase: Starting replicator manager for CBLManager[/Users/jchris/Library/Application Support/iPhone Simulator/6.1/Applications/85364980-089C-47E4-BB88-0ED6B3BA3153/Library/Application Support/CouchbaseLite] | |
16:26:53.753| CBLDatabase: Created CBLManager[/Users/jchris/Library/Application Support/iPhone Simulator/6.1/Applications/85364980-089C-47E4-BB88-0ED6B3BA3153/Library/Application Support/CouchbaseLite] | |
16:26:53.753| CBLDatabase: Opening CBLDatabase[<0x7648760>chats] | |
16:26:53.753| CBLDatabase: Open /Users/jchris/Library/Application Support/iPhone Simulator/6.1/Applications/85364980-089C-47E4-BB88-0ED6B3BA3153/Library/Application Support/CouchbaseLite/chats.touchdb (flags=200006) | |
16:26:53.840| CBLDatabase: Begin transaction (level 1)... | |
16:26:53.842| CBLDatabase: Commit transaction (level 1) | |
16:26:53.843| CBLLiveQuery: Initial row count is 0 | |
16:26:53.856| CBLDatabase: Opening CBLDatabase[<0x7647f60>_replicator] | |
16:26:53.856| CBLDatabase: Open /Users/jchris/Library/Application Support/iPhone Simulator/6.1/Applications/85364980-089C-47E4-BB88-0ED6B3BA3153/Library/Application Support/CouchbaseLite/_replicator.touchdb (flags=200006) | |
16:26:53.902| CBLModel: CBLReplication[to (null)] init | |
16:26:53.903| CBLModel: CBLReplication[to (null)] made new document | |
16:26:53.903| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] .source := "http://animal.local:4984/sync_gateway" | |
16:26:53.903| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] .target := "chats" | |
16:26:53.903| CBLModel: CBLReplication[to (null)] init | |
16:26:53.903| CBLModel: CBLReplication[to (null)] made new document | |
16:26:53.903| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] .source := "chats" | |
16:26:53.903| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] .target := "http://animal.local:4984/sync_gateway" | |
16:26:53.912| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] Saving <- { | |
source = "http://animal.local:4984/sync_gateway"; | |
target = chats; | |
} | |
16:26:53.913| CBLDatabase: PUT rev={BDBCB54F-E115-4B27-9089-8BF3B171CC6D #(null)}, prevRevID=(null), allowConflict=0 | |
16:26:53.913| CBLDatabase: Begin transaction (level 1)... | |
16:26:53.913| CBLDatabase: Commit transaction (level 1) | |
16:26:53.914| CBLDatabase: CBLDatabase[<0x7647f60>_replicator]: Posting 1 change notifications (0 echoed) | |
16:26:53.914| CBLBasicAuthorizer initWith <http://animal.local:4984/sync_gateway> | |
16:26:54.121| CBLDatabase: PUT rev={BDBCB54F-E115-4B27-9089-8BF3B171CC6D #1-a8f06d23d3e5b4249e86e7e0acf368fa}, prevRevID=1-a8f06d23d3e5b4249e86e7e0acf368fa, allowConflict=0 | |
16:26:54.121| CBLDatabase: Begin transaction (level 1)... | |
16:26:54.122| CBLDatabase: Commit transaction (level 1) | |
16:26:54.122| CBLDatabase: CBLDatabase[<0x7647f60>_replicator]: Posting 1 change notifications (0 echoed) | |
16:26:54.123| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] External change (rev=2-2d643284624e1c3765213ee776d01cb1) | |
16:26:54.123| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] External change (rev=1-a8f06d23d3e5b4249e86e7e0acf368fa) | |
16:26:54.123| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] .continuous := "1" | |
16:26:54.124| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] Saving <- { | |
source = chats; | |
target = "http://animal.local:4984/sync_gateway"; | |
} | |
16:26:54.124| CBLDatabase: PUT rev={64779183-644E-46D9-99F9-D8DFC8CE572C #(null)}, prevRevID=(null), allowConflict=0 | |
16:26:54.124| CBLDatabase: Begin transaction (level 1)... | |
16:26:54.124| CBLDatabase: Commit transaction (level 1) | |
16:26:54.124| CBLDatabase: CBLDatabase[<0x7647f60>_replicator]: Posting 1 change notifications (0 echoed) | |
16:26:54.125| CBLBasicAuthorizer initWith <http://animal.local:4984/sync_gateway> | |
16:26:54.127| CBLDatabase: PUT rev={64779183-644E-46D9-99F9-D8DFC8CE572C #1-ed99b943bcf1bc131100a39cc2f00e12}, prevRevID=1-ed99b943bcf1bc131100a39cc2f00e12, allowConflict=0 | |
16:26:54.128| CBLDatabase: Begin transaction (level 1)... | |
16:26:54.130| CBLDatabase: Commit transaction (level 1) | |
16:26:54.131| CBLDatabase: CBLDatabase[<0x7647f60>_replicator]: Posting 1 change notifications (0 echoed) | |
16:26:54.131| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] External change (rev=2-0d3267b89ad5c5ba614064a4451688e7) | |
16:26:54.131| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] External change (rev=1-ed99b943bcf1bc131100a39cc2f00e12) | |
16:26:54.131| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] .continuous := "1" | |
16:26:54.137| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] Saving <- { | |
"_id" = "BDBCB54F-E115-4B27-9089-8BF3B171CC6D"; | |
"_rev" = "1-a8f06d23d3e5b4249e86e7e0acf368fa"; | |
continuous = 1; | |
source = "http://animal.local:4984/sync_gateway"; | |
target = chats; | |
} | |
16:26:54.137| CBLDatabase: PUT rev={BDBCB54F-E115-4B27-9089-8BF3B171CC6D #(null)}, prevRevID=1-a8f06d23d3e5b4249e86e7e0acf368fa, allowConflict=0 | |
16:26:54.137| CBLDatabase: Begin transaction (level 1)... | |
16:26:54.137| CBLDatabase: CANCEL transaction (level 1) | |
16:26:54.137| WARNING*** : CBLReplication[from http://animal.local:4984/sync_gateway]: Save failed: Error Domain=CBLHTTP Code=409 "409 conflict" UserInfo=0x7649920 {NSLocalizedDescription=409 conflict, NSLocalizedFailureReason=conflict} | |
16:26:54.137| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] Saving <- { | |
"_id" = "64779183-644E-46D9-99F9-D8DFC8CE572C"; | |
"_rev" = "1-ed99b943bcf1bc131100a39cc2f00e12"; | |
continuous = 1; | |
source = chats; | |
target = "http://animal.local:4984/sync_gateway"; | |
} | |
16:26:54.138| CBLDatabase: PUT rev={64779183-644E-46D9-99F9-D8DFC8CE572C #(null)}, prevRevID=1-ed99b943bcf1bc131100a39cc2f00e12, allowConflict=0 | |
16:26:54.138| CBLDatabase: Begin transaction (level 1)... | |
16:26:54.138| CBLDatabase: CANCEL transaction (level 1) | |
16:26:54.138| WARNING*** : CBLReplication[to http://animal.local:4984/sync_gateway]: Save failed: Error Domain=CBLHTTP Code=409 "409 conflict" UserInfo=0x76497a0 {NSLocalizedDescription=409 conflict, NSLocalizedFailureReason=conflict} | |
16:26:54.304| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/sync_gateway/_local/3070aa894a43be208595e7e3ef4e6328f02df21d]: Starting... | |
16:26:54.307| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/sync_gateway/_local/aab4b7ca50f269a3a0df1bf4e8e29f7c4eaa14ca]: Starting... | |
2013-03-21 16:26:54.309 CouchChat[84264:c07] SYNCMGR: active=1; mode=3; 0/0; (null) | |
16:26:54.371| RemoteRequest: Got challenge: <NSURLAuthenticationChallenge: 0x7660fa0> (NSURLAuthenticationMethodDefault) | |
16:26:54.434| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/sync_gateway/_local/aab4b7ca50f269a3a0df1bf4e8e29f7c4eaa14ca]: Got response, status 401 | |
16:26:54.435| CBLRemoteJSONRequest[GET http://animal.local:4984/sync_gateway/_local/aab4b7ca50f269a3a0df1bf4e8e29f7c4eaa14ca]: Got error Error Domain=CBLHTTP Code=401 "401 unauthorized" UserInfo=0x73677e0 {NSURL=http://animal.local:4984/sync_gateway/_local/aab4b7ca50f269a3a0df1bf4e8e29f7c4eaa14ca, NSLocalizedDescription=401 unauthorized, NSLocalizedFailureReason=unauthorized} | |
16:26:54.436| Replication: CBL_Puller[http://animal.local:4984/sync_gateway] took 0.317 sec; error=Error Domain=CBLHTTP Code=401 "401 unauthorized" UserInfo=0x73677e0 {NSURL=http://animal.local:4984/sync_gateway/_local/aab4b7ca50f269a3a0df1bf4e8e29f7c4eaa14ca, NSLocalizedDescription=401 unauthorized, NSLocalizedFailureReason=unauthorized} | |
16:26:54.436| CBLDatabase: PUT rev={BDBCB54F-E115-4B27-9089-8BF3B171CC6D #2-2d643284624e1c3765213ee776d01cb1}, prevRevID=2-2d643284624e1c3765213ee776d01cb1, allowConflict=0 | |
16:26:54.436| CBLDatabase: Begin transaction (level 1)... | |
16:26:54.437| CBLDatabase: Commit transaction (level 1) | |
16:26:54.437| CBLDatabase: CBLDatabase[<0x7647f60>_replicator]: Posting 1 change notifications (0 echoed) | |
16:26:54.438| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] External change (rev=3-0809262012518468026c25c2d89c884b) | |
2013-03-21 16:26:54.735 CouchChat[84264:c07] SYNCMGR: active=1; mode=3; 0/0; 401 unauthorized | |
16:26:54.736| RemoteRequest: Got challenge: <NSURLAuthenticationChallenge: 0x76524f0> (NSURLAuthenticationMethodDefault) | |
16:26:54.880| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/sync_gateway/_local/3070aa894a43be208595e7e3ef4e6328f02df21d]: Got response, status 401 | |
16:26:54.880| CBLRemoteJSONRequest[GET http://animal.local:4984/sync_gateway/_local/3070aa894a43be208595e7e3ef4e6328f02df21d]: Got error Error Domain=CBLHTTP Code=401 "401 unauthorized" UserInfo=0x7669c80 {NSURL=http://animal.local:4984/sync_gateway/_local/3070aa894a43be208595e7e3ef4e6328f02df21d, NSLocalizedDescription=401 unauthorized, NSLocalizedFailureReason=unauthorized} | |
16:26:54.880| Replication: CBL_Pusher[http://animal.local:4984/sync_gateway] took 0.754 sec; error=Error Domain=CBLHTTP Code=401 "401 unauthorized" UserInfo=0x7669c80 {NSURL=http://animal.local:4984/sync_gateway/_local/3070aa894a43be208595e7e3ef4e6328f02df21d, NSLocalizedDescription=401 unauthorized, NSLocalizedFailureReason=unauthorized} | |
16:26:54.881| CBLDatabase: PUT rev={64779183-644E-46D9-99F9-D8DFC8CE572C #2-0d3267b89ad5c5ba614064a4451688e7}, prevRevID=2-0d3267b89ad5c5ba614064a4451688e7, allowConflict=0 | |
16:26:54.881| CBLDatabase: Begin transaction (level 1)... | |
16:26:54.882| CBLDatabase: Commit transaction (level 1) | |
16:26:54.882| CBLDatabase: CBLDatabase[<0x7647f60>_replicator]: Posting 1 change notifications (0 echoed) | |
16:26:54.884| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] External change (rev=3-37529b3d4e421e1f8112634c4f0cb97b) | |
2013-03-21 16:26:54.884 CouchChat[84264:c07] SYNCMGR: active=0; mode=0; 0/0; 401 unauthorized | |
16:27:27.392| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] .source := "{ | |
auth = { | |
persona = { | |
email = "[email protected]"; | |
}; | |
}; | |
url = "http://animal.local:4984/sync_gateway"; | |
}" | |
16:27:27.392| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] ._replication_state := "(null)" | |
16:27:27.393| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] .target := "{ | |
auth = { | |
persona = { | |
email = "[email protected]"; | |
}; | |
}; | |
url = "http://animal.local:4984/sync_gateway"; | |
}" | |
16:27:27.393| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] ._replication_state := "(null)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16:27:56.457| Logging mode 2 enabled in domains: {CBLDatabase, CBLModel, RemoteRequest} | |
16:27:56.458| CBLDatabase: Starting replicator manager for CBLManager[/Users/jchris/Library/Application Support/iPhone Simulator/6.1/Applications/85364980-089C-47E4-BB88-0ED6B3BA3153/Library/Application Support/CouchbaseLite] | |
16:27:56.459| CBLDatabase: Opening CBLDatabase[<0x7632e40>_replicator] | |
16:27:56.459| CBLDatabase: Open /Users/jchris/Library/Application Support/iPhone Simulator/6.1/Applications/85364980-089C-47E4-BB88-0ED6B3BA3153/Library/Application Support/CouchbaseLite/_replicator.touchdb (flags=200006) | |
16:27:56.462| CBLDatabase: Created CBLManager[/Users/jchris/Library/Application Support/iPhone Simulator/6.1/Applications/85364980-089C-47E4-BB88-0ED6B3BA3153/Library/Application Support/CouchbaseLite] | |
16:27:56.462| CBLDatabase: Opening CBLDatabase[<0x734d370>chats] | |
16:27:56.462| CBLDatabase: Open /Users/jchris/Library/Application Support/iPhone Simulator/6.1/Applications/85364980-089C-47E4-BB88-0ED6B3BA3153/Library/Application Support/CouchbaseLite/chats.touchdb (flags=200006) | |
16:27:56.463| CBLDatabase: Begin transaction (level 1)... | |
16:27:56.464| CBLDatabase: Commit transaction (level 1) | |
16:27:56.464| CBLLiveQuery: Initial row count is 0 | |
16:27:56.475| CBLModel: CBLReplication initWithDocument: CBLDocument[6477..572C] @0x7660f80 | |
16:27:56.476| CBLModel: CBLReplication initWithDocument: CBLDocument[BDBC..CC6D] @0x76628a0 | |
16:27:56.477| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] .continuous := "1" | |
16:27:56.477| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] .continuous := "1" | |
16:27:56.481| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] Saving <- { | |
"_id" = "64779183-644E-46D9-99F9-D8DFC8CE572C"; | |
"_replication_id" = "CC8E1DFA-1A4F-4750-AC35-142DA51A2FA5"; | |
"_replication_state" = error; | |
"_replication_state_time" = 1363908414; | |
"_rev" = "3-37529b3d4e421e1f8112634c4f0cb97b"; | |
continuous = 1; | |
source = chats; | |
target = "http://animal.local:4984/sync_gateway"; | |
} | |
16:27:56.481| CBLDatabase: PUT rev={64779183-644E-46D9-99F9-D8DFC8CE572C #(null)}, prevRevID=3-37529b3d4e421e1f8112634c4f0cb97b, allowConflict=0 | |
16:27:56.481| CBLDatabase: Begin transaction (level 1)... | |
16:27:56.484| CBLDatabase: Commit transaction (level 1) | |
16:27:56.484| CBLDatabase: CBLDatabase[<0x7632e40>_replicator]: Posting 1 change notifications (0 echoed) | |
16:27:56.485| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] External change (rev=4-8b6f290dd2959b4c0cd7a4559a421f14) | |
16:27:56.485| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] Saving <- { | |
"_id" = "BDBCB54F-E115-4B27-9089-8BF3B171CC6D"; | |
"_replication_id" = "8FDAB47C-29D9-48AA-B1C8-CF0C8952B1FF"; | |
"_replication_state" = error; | |
"_replication_state_time" = 1363908414; | |
"_rev" = "3-0809262012518468026c25c2d89c884b"; | |
continuous = 1; | |
source = "http://animal.local:4984/sync_gateway"; | |
target = chats; | |
} | |
16:27:56.485| CBLDatabase: PUT rev={BDBCB54F-E115-4B27-9089-8BF3B171CC6D #(null)}, prevRevID=3-0809262012518468026c25c2d89c884b, allowConflict=0 | |
16:27:56.485| CBLDatabase: Begin transaction (level 1)... | |
16:27:56.486| CBLDatabase: Commit transaction (level 1) | |
16:27:56.487| CBLDatabase: CBLDatabase[<0x7632e40>_replicator]: Posting 1 change notifications (0 echoed) | |
16:27:56.487| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] External change (rev=4-c7293fe1235a1e0c60126d6723a85afc) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16:28:36.502| Logging mode 2 enabled in domains: {CBLDatabase, CBLModel, RemoteRequest} | |
16:28:36.503| CBLDatabase: Starting replicator manager for CBLManager[/Users/jchris/Library/Application Support/iPhone Simulator/6.1/Applications/85364980-089C-47E4-BB88-0ED6B3BA3153/Library/Application Support/CouchbaseLite] | |
16:28:36.503| CBLDatabase: Opening CBLDatabase[<0x766d200>_replicator] | |
16:28:36.504| CBLDatabase: Open /Users/jchris/Library/Application Support/iPhone Simulator/6.1/Applications/85364980-089C-47E4-BB88-0ED6B3BA3153/Library/Application Support/CouchbaseLite/_replicator.touchdb (flags=200006) | |
16:28:36.506| CBLDatabase: Opening CBLDatabase[<0x7673900>chats] | |
16:28:36.506| CBLDatabase: Open /Users/jchris/Library/Application Support/iPhone Simulator/6.1/Applications/85364980-089C-47E4-BB88-0ED6B3BA3153/Library/Application Support/CouchbaseLite/chats.touchdb (flags=200006) | |
16:28:36.507| CBLBasicAuthorizer initWith <http://animal.local:4984/sync_gateway> | |
16:28:36.679| CBLDatabase: PUT rev={64779183-644E-46D9-99F9-D8DFC8CE572C #4-8b6f290dd2959b4c0cd7a4559a421f14}, prevRevID=4-8b6f290dd2959b4c0cd7a4559a421f14, allowConflict=0 | |
16:28:36.679| CBLDatabase: Begin transaction (level 1)... | |
16:28:36.680| CBLDatabase: Commit transaction (level 1) | |
16:28:36.681| CBLDatabase: CBLDatabase[<0x766d200>_replicator]: Posting 1 change notifications (0 echoed) | |
16:28:36.682| CBLBasicAuthorizer initWith <http://animal.local:4984/sync_gateway> | |
16:28:36.683| CBLDatabase: PUT rev={BDBCB54F-E115-4B27-9089-8BF3B171CC6D #4-c7293fe1235a1e0c60126d6723a85afc}, prevRevID=4-c7293fe1235a1e0c60126d6723a85afc, allowConflict=0 | |
16:28:36.683| CBLDatabase: Begin transaction (level 1)... | |
16:28:36.684| CBLDatabase: Commit transaction (level 1) | |
16:28:36.685| CBLDatabase: CBLDatabase[<0x766d200>_replicator]: Posting 1 change notifications (0 echoed) | |
16:28:36.685| CBLDatabase: Created CBLManager[/Users/jchris/Library/Application Support/iPhone Simulator/6.1/Applications/85364980-089C-47E4-BB88-0ED6B3BA3153/Library/Application Support/CouchbaseLite] | |
16:28:36.686| CBLDatabase: Begin transaction (level 1)... | |
16:28:36.686| CBLDatabase: Commit transaction (level 1) | |
16:28:36.687| CBLLiveQuery: Initial row count is 0 | |
16:28:36.700| CBLModel: CBLReplication initWithDocument: CBLDocument[6477..572C] @0x7355860 | |
16:28:36.701| CBLModel: CBLReplication initWithDocument: CBLDocument[BDBC..CC6D] @0x7358950 | |
16:28:36.706| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/sync_gateway/_local/3070aa894a43be208595e7e3ef4e6328f02df21d]: Starting... | |
16:28:36.712| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/sync_gateway/_local/aab4b7ca50f269a3a0df1bf4e8e29f7c4eaa14ca]: Starting... | |
2013-03-21 16:28:36.718 CouchChat[84789:c07] SYNCMGR: active=1; mode=3; 0/0; (null) | |
16:28:36.788| RemoteRequest: Got challenge: <NSURLAuthenticationChallenge: 0x767c490> (NSURLAuthenticationMethodDefault) | |
16:28:36.909| RemoteRequest: Got challenge: <NSURLAuthenticationChallenge: 0x767a360> (NSURLAuthenticationMethodDefault) | |
16:28:36.956| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/sync_gateway/_local/3070aa894a43be208595e7e3ef4e6328f02df21d]: Got response, status 401 | |
16:28:36.960| CBLRemoteJSONRequest[GET http://animal.local:4984/sync_gateway/_local/3070aa894a43be208595e7e3ef4e6328f02df21d]: Got error Error Domain=CBLHTTP Code=401 "401 unauthorized" UserInfo=0x7343480 {NSURL=http://animal.local:4984/sync_gateway/_local/3070aa894a43be208595e7e3ef4e6328f02df21d, NSLocalizedDescription=401 unauthorized, NSLocalizedFailureReason=unauthorized} | |
2013-03-21 16:28:37.042 CouchChat[84789:c07] SYNCMGR: active=1; mode=3; 0/0; 401 unauthorized | |
16:28:37.045| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/sync_gateway/_local/aab4b7ca50f269a3a0df1bf4e8e29f7c4eaa14ca]: Got response, status 401 | |
16:28:37.045| CBLRemoteJSONRequest[GET http://animal.local:4984/sync_gateway/_local/aab4b7ca50f269a3a0df1bf4e8e29f7c4eaa14ca]: Got error Error Domain=CBLHTTP Code=401 "401 unauthorized" UserInfo=0x7336130 {NSURL=http://animal.local:4984/sync_gateway/_local/aab4b7ca50f269a3a0df1bf4e8e29f7c4eaa14ca, NSLocalizedDescription=401 unauthorized, NSLocalizedFailureReason=unauthorized} | |
2013-03-21 16:28:37.050 CouchChat[84789:c07] SYNCMGR: active=0; mode=2; 0/0; 401 unauthorized | |
16:29:02.509| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] .target := "{ | |
auth = { | |
persona = { | |
email = "[email protected]"; | |
}; | |
}; | |
url = "http://animal.local:4984/sync_gateway"; | |
}" | |
16:29:02.509| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] ._replication_state := "(null)" | |
16:29:02.509| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] .source := "{ | |
auth = { | |
persona = { | |
email = "[email protected]"; | |
}; | |
}; | |
url = "http://animal.local:4984/sync_gateway"; | |
}" | |
16:29:02.509| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] ._replication_state := "(null)" | |
16:29:02.514| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] Saving <- { | |
"_id" = "64779183-644E-46D9-99F9-D8DFC8CE572C"; | |
"_replication_id" = "CC8E1DFA-1A4F-4750-AC35-142DA51A2FA5"; | |
"_replication_state_time" = 1363908516; | |
"_rev" = "5-d7b611a9fa69d079d58907f5c357d1a1"; | |
continuous = 1; | |
source = chats; | |
target = { | |
auth = { | |
persona = { | |
email = "[email protected]"; | |
}; | |
}; | |
url = "http://animal.local:4984/sync_gateway"; | |
}; | |
} | |
16:29:02.515| CBLDatabase: PUT rev={64779183-644E-46D9-99F9-D8DFC8CE572C #(null)}, prevRevID=5-d7b611a9fa69d079d58907f5c357d1a1, allowConflict=0 | |
16:29:02.515| CBLDatabase: Begin transaction (level 1)... | |
16:29:02.516| CBLDatabase: Commit transaction (level 1) | |
16:29:02.517| CBLDatabase: CBLDatabase[<0x766d200>_replicator]: Posting 1 change notifications (0 echoed) | |
16:29:02.518| Replication: CBL_Pusher[http://animal.local:4984/sync_gateway] took 25.841 sec; error=Error Domain=CBLHTTP Code=401 "401 unauthorized" UserInfo=0x7343480 {NSURL=http://animal.local:4984/sync_gateway/_local/3070aa894a43be208595e7e3ef4e6328f02df21d, NSLocalizedDescription=401 unauthorized, NSLocalizedFailureReason=unauthorized} | |
16:29:02.518| CBLDatabase: PUT rev={64779183-644E-46D9-99F9-D8DFC8CE572C #6-dd243b7e274090d91744f9b49bad4943}, prevRevID=6-dd243b7e274090d91744f9b49bad4943, allowConflict=0 | |
16:29:02.518| CBLDatabase: Begin transaction (level 1)... | |
16:29:02.519| CBLDatabase: Commit transaction (level 1) | |
16:29:02.520| CBLDatabase: CBLDatabase[<0x766d200>_replicator]: Posting 1 change notifications (0 echoed) | |
16:29:02.520| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] External change (rev=7-841553d34a5d34f4e1823bc41fe47e4d) | |
16:29:02.520| CBLDatabase: PUT rev={64779183-644E-46D9-99F9-D8DFC8CE572C #6-dd243b7e274090d91744f9b49bad4943}, prevRevID=6-dd243b7e274090d91744f9b49bad4943, allowConflict=0 | |
16:29:02.520| CBLDatabase: Begin transaction (level 1)... | |
16:29:02.521| CBLDatabase: CANCEL transaction (level 1) | |
16:29:02.521| CBLDatabase: PUT rev={64779183-644E-46D9-99F9-D8DFC8CE572C #7-841553d34a5d34f4e1823bc41fe47e4d}, prevRevID=7-841553d34a5d34f4e1823bc41fe47e4d, allowConflict=0 | |
16:29:02.521| CBLDatabase: Begin transaction (level 1)... | |
16:29:02.522| CBLDatabase: Commit transaction (level 1) | |
16:29:02.523| CBLDatabase: CBLDatabase[<0x766d200>_replicator]: Posting 1 change notifications (0 echoed) | |
16:29:02.523| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] External change (rev=8-313245c02bb4784d560035bec63a8608) | |
16:29:02.523| CBLModel: CBLReplication[to http://animal.local:4984/sync_gateway] External change (rev=6-dd243b7e274090d91744f9b49bad4943) | |
16:29:02.524| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] Saving <- { | |
"_id" = "BDBCB54F-E115-4B27-9089-8BF3B171CC6D"; | |
"_replication_id" = "8FDAB47C-29D9-48AA-B1C8-CF0C8952B1FF"; | |
"_replication_state_time" = 1363908516; | |
"_rev" = "5-6484b81ebc020ce2190a25fbad3b5c05"; | |
continuous = 1; | |
source = { | |
auth = { | |
persona = { | |
email = "[email protected]"; | |
}; | |
}; | |
url = "http://animal.local:4984/sync_gateway"; | |
}; | |
target = chats; | |
} | |
16:29:02.524| CBLDatabase: PUT rev={BDBCB54F-E115-4B27-9089-8BF3B171CC6D #(null)}, prevRevID=5-6484b81ebc020ce2190a25fbad3b5c05, allowConflict=0 | |
16:29:02.524| CBLDatabase: Begin transaction (level 1)... | |
16:29:02.525| CBLDatabase: Commit transaction (level 1) | |
16:29:02.526| CBLDatabase: CBLDatabase[<0x766d200>_replicator]: Posting 1 change notifications (0 echoed) | |
16:29:02.526| Replication: CBL_Puller[http://animal.local:4984/sync_gateway] took 25.843 sec; error=Error Domain=CBLHTTP Code=401 "401 unauthorized" UserInfo=0x7336130 {NSURL=http://animal.local:4984/sync_gateway/_local/aab4b7ca50f269a3a0df1bf4e8e29f7c4eaa14ca, NSLocalizedDescription=401 unauthorized, NSLocalizedFailureReason=unauthorized} | |
16:29:02.527| CBLDatabase: PUT rev={BDBCB54F-E115-4B27-9089-8BF3B171CC6D #6-b3a195cd06494f565cd30d38932e1f77}, prevRevID=6-b3a195cd06494f565cd30d38932e1f77, allowConflict=0 | |
16:29:02.527| CBLDatabase: Begin transaction (level 1)... | |
16:29:02.528| CBLDatabase: Commit transaction (level 1) | |
16:29:02.528| CBLDatabase: CBLDatabase[<0x766d200>_replicator]: Posting 1 change notifications (0 echoed) | |
16:29:02.528| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] External change (rev=7-3b7fb1aac94846ea2a883ba57c00f36b) | |
16:29:02.529| CBLDatabase: PUT rev={BDBCB54F-E115-4B27-9089-8BF3B171CC6D #6-b3a195cd06494f565cd30d38932e1f77}, prevRevID=6-b3a195cd06494f565cd30d38932e1f77, allowConflict=0 | |
16:29:02.529| CBLDatabase: Begin transaction (level 1)... | |
16:29:02.529| CBLDatabase: CANCEL transaction (level 1) | |
16:29:02.530| CBLDatabase: PUT rev={BDBCB54F-E115-4B27-9089-8BF3B171CC6D #7-3b7fb1aac94846ea2a883ba57c00f36b}, prevRevID=7-3b7fb1aac94846ea2a883ba57c00f36b, allowConflict=0 | |
16:29:02.530| CBLDatabase: Begin transaction (level 1)... | |
16:29:02.531| CBLDatabase: Commit transaction (level 1) | |
16:29:02.532| CBLDatabase: CBLDatabase[<0x766d200>_replicator]: Posting 1 change notifications (0 echoed) | |
16:29:02.532| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] External change (rev=8-a105d67958a0d71ad372801facc0b908) | |
16:29:02.532| CBLModel: CBLReplication[from http://animal.local:4984/sync_gateway] External change (rev=6-b3a195cd06494f565cd30d38932e1f77) | |
2013-03-21 16:29:02.532 CouchChat[84789:c07] SYNCMGR: active=0; mode=0; 0/0; 401 unauthorized | |
16:29:02.533| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/_session]: Starting... | |
2013-03-21 16:29:02.534 CouchChat[84789:c07] Warning: Attempt to present <UINavigationController: 0x7370090> on <UINavigationController: 0x735fc80> while a presentation is in progress! | |
2013-03-21 16:29:02.534 CouchChat[84789:c07] SYNCMGR: active=1; mode=3; 0/0; 401 unauthorized | |
16:29:02.557| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/_session]: Starting... | |
2013-03-21 16:29:02.557 CouchChat[84789:c07] SYNCMGR: active=1; mode=3; 0/0; (null) | |
16:29:02.769| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/_session]: Got response, status 200 | |
16:29:02.769| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/_session]: Finished loading | |
16:29:02.770| RemoteRequest: CBLRemoteJSONRequest[POST http://animal.local:4984/sync_gateway/_persona]: Starting... | |
16:29:02.929| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/_session]: Got response, status 200 | |
16:29:02.929| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/_session]: Finished loading | |
16:29:02.929| RemoteRequest: CBLRemoteJSONRequest[POST http://animal.local:4984/sync_gateway/_persona]: Starting... | |
16:29:03.656| RemoteRequest: CBLRemoteJSONRequest[POST http://animal.local:4984/sync_gateway/_persona]: Got response, status 200 | |
16:29:03.656| RemoteRequest: CBLRemoteJSONRequest[POST http://animal.local:4984/sync_gateway/_persona]: Finished loading | |
16:29:03.656| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/sync_gateway/_local/aab4b7ca50f269a3a0df1bf4e8e29f7c4eaa14ca]: Starting... | |
16:29:03.658| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/sync_gateway/_local/aab4b7ca50f269a3a0df1bf4e8e29f7c4eaa14ca]: Got response, status 404 | |
2013-03-21 16:29:03.709 CouchChat[84789:c07] SYNCMGR: active=1; mode=3; 0/0; (null) | |
16:29:03.725| RemoteRequest: CBLRemoteJSONRequest[POST http://animal.local:4984/sync_gateway/_persona]: Got response, status 200 | |
16:29:03.725| RemoteRequest: CBLRemoteJSONRequest[POST http://animal.local:4984/sync_gateway/_persona]: Finished loading | |
16:29:03.726| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/sync_gateway/_local/3070aa894a43be208595e7e3ef4e6328f02df21d]: Starting... | |
16:29:03.728| RemoteRequest: CBLRemoteJSONRequest[GET http://animal.local:4984/sync_gateway/_local/3070aa894a43be208595e7e3ef4e6328f02df21d]: Got response, status 404 | |
2013-03-21 16:29:03.728 CouchChat[84789:c07] SYNCMGR: active=1; mode=3; 0/0; (null) | |
2013-03-21 16:29:03.729 CouchChat[84789:c07] Chat username = '[email protected]' | |
2013-03-21 16:29:03.729 CouchChat[84789:c07] Setting chat username to '[email protected]' | |
16:29:03.730| CBLModel: UserProfile initWithDocument: CBLDocument[prof...com] @0x76e33d0 | |
16:29:03.730| CBLModel: UserProfile[prof...com] .type := "profile" | |
16:29:03.731| CBLModel: UserProfile[prof...com] .email := "[email protected]" | |
16:29:03.770| CBLModel: UserProfile[prof...com] .nick := "grampz" | |
16:29:03.771| CBLModel: UserProfile[prof...com] Saving <- { | |
email = "[email protected]"; | |
nick = grampz; | |
type = profile; | |
} | |
16:29:03.771| CBLDatabase: PUT rev={profile:[email protected] #(null)}, prevRevID=(null), allowConflict=0 | |
16:29:03.771| CBLDatabase: Begin transaction (level 1)... | |
16:29:03.771| CBLDatabase: Commit transaction (level 1) | |
16:29:03.772| CBLDatabase: CBLDatabase[<0x7673900>chats]: Posting 1 change notifications (0 echoed) | |
16:29:03.773| CBLModel: UserProfile[prof...com] External change (rev=1-91f3a126597bb5bd1381dfdd7b79f960) | |
2013-03-21 16:29:03.772 CouchChat[84789:c07] Created user profile UserProfile[prof...com] | |
16:29:03.773| CBLModel: UserProfile[prof...com] dealloc | |
2013-03-21 16:29:03.773 CouchChat[84789:c07] SYNCMGR: active=1; mode=3; 0/0; (null) | |
16:29:03.774| CBLDatabase: Begin transaction (level 1)... | |
16:29:03.775| CBLDatabase: Commit transaction (level 1) | |
16:29:04.209| RemoteRequest: CBLRemoteJSONRequest[POST http://animal.local:4984/sync_gateway/_all_docs?include_docs=true]: Starting... | |
2013-03-21 16:29:04.209 CouchChat[84789:c07] SYNCMGR: active=1; mode=3; 0/0; (null) | |
16:29:04.219| RemoteRequest: CBLRemoteJSONRequest[POST http://animal.local:4984/sync_gateway/_all_docs?include_docs=true]: Got response, status 200 | |
16:29:04.219| RemoteRequest: CBLRemoteJSONRequest[POST http://animal.local:4984/sync_gateway/_all_docs?include_docs=true]: Finished loading | |
16:29:04.220| RemoteRequest: CBLMultipartDownloader[/sync_gateway/F1DF31CA-37F5-4BA1-B274-74AE6DDFCF35]: Starting... | |
16:29:04.227| RemoteRequest: CBLMultipartDownloader[/sync_gateway/F1DF31CA-37F5-4BA1-B274-74AE6DDFCF35]: Got response, status 200 | |
16:29:04.273| RemoteRequest: CBLRemoteJSONRequest[POST http://animal.local:4984/sync_gateway/_revs_diff]: Starting... | |
16:29:04.275| RemoteRequest: CBLRemoteJSONRequest[POST http://animal.local:4984/sync_gateway/_revs_diff]: Got response, status 200 | |
16:29:04.275| RemoteRequest: CBLRemoteJSONRequest[POST http://animal.local:4984/sync_gateway/_revs_diff]: Finished loading | |
2013-03-21 16:29:04.275 CouchChat[84789:c07] SYNCMGR: active=1; mode=3; 0/0; (null) | |
16:29:05.220| CBLDatabase: Begin transaction (level 1)... | |
16:29:05.220| CBLDatabase: Begin transaction (level 2)... | |
16:29:05.221| CBLDatabase: Commit transaction (level 2) | |
16:29:05.222| CBLDatabase: Begin transaction (level 2)... | |
16:29:05.222| CBLDatabase: Commit transaction (level 2) | |
16:29:05.222| CBLDatabase: Begin transaction (level 2)... | |
16:29:05.223| CBLDatabase: Commit transaction (level 2) | |
16:29:05.223| CBLDatabase: Begin transaction (level 2)... | |
16:29:05.223| CBLDatabase: Commit transaction (level 2) | |
16:29:05.223| CBLDatabase: Begin transaction (level 2)... | |
16:29:05.224| CBLDatabase: Commit transaction (level 2) | |
16:29:05.224| CBLDatabase: Begin transaction (level 2)... | |
16:29:05.227| CBLDatabase: Commit transaction (level 2) | |
16:29:05.228| CBLDatabase: Begin transaction (level 2)... | |
16:29:05.228| CBLDatabase: Commit transaction (level 2) | |
16:29:05.228| CBLDatabase: Begin transaction (level 2)... | |
16:29:05.229| CBLDatabase: Commit transaction (level 2) | |
16:29:05.229| CBLDatabase: Begin transaction (level 2)... | |
16:29:05.229| CBLDatabase: Commit transaction (level 2) | |
16:29:05.229| CBLDatabase: Begin transaction (level 2)... | |
16:29:05.230| CBLDatabase: Commit transaction (level 2) | |
16:29:05.230| CBLDatabase: Begin transaction (level 2)... | |
16:29:05.230| CBLDatabase: Commit transaction (level 2) | |
16:29:05.231| CBLDatabase: Begin transaction (level 2)... | |
16:29:05.231| CBLDatabase: Commit transaction (level 2) | |
16:29:05.231| CBLDatabase: Begin transaction (level 2)... | |
16:29:05.232| CBLDatabase: Commit transaction (level 2) | |
16:29:05.232| CBLDatabase: Commit transaction (level 1) | |
16:29:05.233| CBLDatabase: CBLDatabase[<0x7673900>chats]: Posting 13 change notifications (0 echoed) | |
16:29:05.234| CBLDatabase: Begin transaction (level 1)... | |
16:29:05.237| CBLDatabase: Commit transaction (level 1) | |
16:29:05.238| CBLLiveQuery: ...Rows changed! (now 3) | |
16:29:05.238| CBLModel: ChatRoom initWithDocument: CBLDocument[4AE2..F31B] @0x76e96c0 | |
2013-03-21 16:29:05.240 CouchChat[84789:c07] STATUS: ChatRoom[4AE2..F31B '3/20/13, 2:20 PM']: unread = 2, modDate = 2013-03-20 21:20:47 +0000 by [email protected] | |
16:29:05.240| CBLModel: ChatRoom initWithDocument: CBLDocument[7FB4..D468] @0x76cb1c0 | |
2013-03-21 16:29:05.240 CouchChat[84789:c07] STATUS: ChatRoom[7FB4..D468 '3/20/13, 2:18 PM']: unread = 4, modDate = 2013-03-20 21:19:46 +0000 by [email protected] | |
16:29:05.241| CBLModel: ChatRoom initWithDocument: CBLDocument[CE56..5831] @0x76ec920 | |
2013-03-21 16:29:05.241 CouchChat[84789:c07] STATUS: ChatRoom[CE56..5831 '3/20/13, 2:20 PM']: unread = 3, modDate = 2013-03-20 21:20:27 +0000 by [email protected] | |
2013-03-21 16:29:05.242 CouchChat[84789:c07] SYNCMGR: active=0; mode=2; 0/0; (null) | |
16:29:05.244| CBLModel: UserProfile initWithDocument: CBLDocument[prof...com] @0x76ed470 | |
2013-03-21 16:29:05.448 CouchChat[84789:c07] Gravatar for [email protected] <http://www.gravatar.com/avatar/f777974f516d310ba223829dba857f8c?d=retro]> -- 3422 bytes | |
16:29:05.450| CBLModel: UserProfile[prof...com] dealloc | |
16:29:09.276| RemoteRequest: CBLRemoteJSONRequest[PUT http://animal.local:4984/sync_gateway/_local/3070aa894a43be208595e7e3ef4e6328f02df21d]: Starting... | |
16:29:09.278| RemoteRequest: CBLRemoteJSONRequest[PUT http://animal.local:4984/sync_gateway/_local/3070aa894a43be208595e7e3ef4e6328f02df21d]: Got response, status 201 | |
16:29:09.278| RemoteRequest: CBLRemoteJSONRequest[PUT http://animal.local:4984/sync_gateway/_local/3070aa894a43be208595e7e3ef4e6328f02df21d]: Finished loading | |
16:29:10.246| RemoteRequest: CBLRemoteJSONRequest[PUT http://animal.local:4984/sync_gateway/_local/aab4b7ca50f269a3a0df1bf4e8e29f7c4eaa14ca]: Starting... | |
16:29:10.250| RemoteRequest: CBLRemoteJSONRequest[PUT http://animal.local:4984/sync_gateway/_local/aab4b7ca50f269a3a0df1bf4e8e29f7c4eaa14ca]: Got response, status 201 | |
16:29:10.250| RemoteRequest: CBLRemoteJSONRequest[PUT http://animal.local:4984/sync_gateway/_local/aab4b7ca50f269a3a0df1bf4e8e29f7c4eaa14ca]: Finished loading |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment