-
Notifications
You must be signed in to change notification settings - Fork 67
_changes stop working in iOS 10 #86
Comments
Any update on this issue? We are not getting _changes in iOS. Thanks, |
Sorry, we don't have any update. Can you post exact the _changes request including all parameters that you are using? What is the HTTP client you are using to make _changes request in the application? |
To provide a bit more information, we workarounded the issue by:
Above is not satisfactory as it requires tricky computations. *heartbeat: edited (wronly wrote timeout) |
I believe a better approach would be adding heartbeat=30000 to the longpoll _changes feed request URL. Another option would be adding timeout to _changes feed request BUT currently couchbase-lite-ios doesn't support _changes feed timeout yet (See couchbase/couchbase-lite-ios#1236). FYI, we did experience that some HTTP clients do not abort the requests properly after timing out so the requests get stuck and have never returned the result (See https://github.com/couchbase/couchbase-lite-java-core/issues/1296 for more info). |
Sorry Pasin, I wrongly wrote timeout, we should read heartbeat instead. I update my post accordingly. I am checking right now if using a promise as timeout can let us remove the tricky stuff on app resume |
@Crapulax Thanks for the update. |
The issue originated from couchbase/couchbase-lite-ios#1477.
I believe it's the issue is caused by either the HTTP Client or iOS WebKit. We should do some testing on this.
The text was updated successfully, but these errors were encountered: