12:35:38.206‖ WARNING: Truncated changes feed
12:35:38.206‖ WARNING: CBLSocketChangeTracker[0x79ece620 shotbotdb]: Longpoll connection closed (by proxy?) after 59.3 sec
I have web sockets turned off for ELB. Do I need to change the long poll interval or something? If so how?
Todd
--
You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/05506a39-330c-472e-9f6b-4bd9cdc7ff65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
_pull.customProperties = @{@"websocket": @NO};
_push.customProperties = @{@"websocket": @NO};
and I am still seeing the problem.
Is this the correct way to turn off web sockets?
T
On Jan 29, 2015, at 12:27 PM, Todd Freese <to...@filmworkers.com> wrote:
Is this the correct way to turn off web sockets?
_pull.customProperties = @{@"websocket": @NO, @"heartbeat": @10000};
_push.customProperties = @{@"websocket": @NO, @"heartbeat": @10000};
In ELB, I have the Idle Timeout set to 60 seconds.
I'm wondering if the issue is the ELB stickiness setting. Since ELB is load balancing between 2 EC2 nodes, the heart beat may not be going to the same node each time and bouncing between the nodes. Based on how it bounces around, it may or may not get closed.
Anyone else see this?
I've considered going with Nginx, but it seems that I would really need 2 Nginx nodes, each one in a different availability zone. Any thoughts on this issue?
T
On Jan 29, 2015, at 9:27 PM, Todd Freese <to...@filmworkers.com> wrote:Is there a way to add a cookie in the CBL requests?
_pull.customProperties = @{@"websocket": @NO, @"heartbeat": @30000};
For ELB I set the Connection settings: Idle timeout to 600.
I also turn on ELB Stickiness with Enable Load Balancer Generated Cookie Stickiness turned ON with a value of 300.
These values are a little on the high side, but it seems to work well.
Todd