Hmmm. Even after setting the heartbeat value I still have the issue with
ELB closing the connection. It got a lot better but it still happens.
Here is how I set the heartbeat:
_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
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mobile-couchbase/f59257dc-1e22-43d2-a6be-870bf90654d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.