I have never had trouble before, but now when I create a new document on iOS and save it, it does not propagate to the server, and I am assuming it relates to the error below: (replaced app name and database name with “app”, server ip with xxx.xxx.xxx.xxx. I am running the most recent version of CB server and sync gateway)
2015-08-20 17:20:56.354 app[1073:390618] CBLRemoteJSONRequest[GET
http://xxx.xxx.xxx.xxx:4984/app/_local/be0b46b71c97b03593af7d4ee4aee83d55cd5d72]: Got error Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSUnderlyingError=0x15f682cc0 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "The request timed out." UserInfo={NSErrorFailingURLStringKey=http://xxx.xxx.xxx.xxx:4984/app/_local/be0b46b71c97b03593af7d4ee4aee83d55cd5d72, NSErrorFailingURLKey=http://xxx.xxx.xxx.xxx:4984/app/_local/be0b46b71c97b03593af7d4ee4aee83d55cd5d72, _kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4, NSLocalizedDescription=The request timed out.}}, NSErrorFailingURLStringKey=http://xxx.xxx.xxx.xxx:4984/app/_local/be0b46b71c97b03593af7d4ee4aee83d55cd5d72, NSErrorFailingURLKey=http://xxx.xxx.xxx.xxx:4984/app/_local/be0b46b71c97b03593af7d4ee4aee83d55cd5d72, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.}
2015-08-20 17:20:56.355 app[1073:390618] Sync: CBL_Pusher[http://xxx.xxx.xxx.xxx:4984/app/]: Error fetching last sequence: The request timed out.
2015-08-20 17:20:56.357 app[1073:390618] Sync: CBL_Pusher[http://xxx.xxx.xxx.xxx:4984/app/] Progress: set error = The request timed out.
2015-08-20 17:20:56.357 app[1073:390618] Sync: CBL_Pusher[http://xxx.xxx.xxx.xxx:4984/app/] Progress: set active = 0
2015-08-20 17:20:56.358 app[1073:390618] Sync: CBL_Pusher[http://xxx.xxx.xxx.xxx:4984/app/]: Failed to xfer 0 revisions; will retry in 60 sec
2015-08-20 17:20:56.358 app[1073:390593] Sync: CBLReplication[to http://xxx.xxx.xxx.xxx:4984/app/]: idle, progress = 0 / 0, err: The request timed out.
I am not sure it it is related, but I am also getting
2015/08/20 17:20:27 go-couchbase: call to ViewCustom("sync_housekeeping", "sessions") in github.com/couchbase/sync_gateway/base.CouchbaseBucket.View took 278.219235ms
on my server.
I have no idea what to do with either of these errors, and any assistance would be appreciated. For reference, I have tried running from simulator and physical device, but get the same error. It has also been taking an unusually long amount of time to authenticate users. There is a very rare chance that it is an iOS 9 beta 5 issue, but considering it worked for betas 1-4 this would be very odd.