Some troubleshooting tips
-
Can you access the Sync Gateway directly via browser ?
-
If Sync Gateway is behind a load balancer, ensure that websockets is enabled on the load balancer
-
Turn on debug level logging on Sync Gateway and see what. From the log snippet, it doesn’t seem like the sync gateway is seeing a any replication request from the client so something in front of it is potentially blocking the connection
I have few questions that are unrelated to connection issue 0
- any reason you have “use_views” as true ?
- And do you have multiple clusters and are you setting inter-sync gateway replications ? I noticed that “sg-replicate” message in logs.
- curious how you built the Flutter client ? Since we do not natively support Flutter in Couchbase Lite - what are you using?
- What version of CBS and sync gateway are you using?