That might be the reason it failed in the recent test fest with this error:
01-17 14:06:40.669 9922-10036/com.couchbase.todo E/WebSocket: WebSocketListener.onFailure() response -> Response{protocol=http/1.1, code=502, message=Bad Gateway, url=http://ec2-54-174-137-154.compute-1.amazonaws.com:4984/todo/_blipsync}
java.net.ProtocolException: Expected HTTP 101 response but was '502 Bad Gateway'
at okhttp3.internal.ws.RealWebSocket.checkResponse(RealWebSocket.java:219)
at okhttp3.internal.ws.RealWebSocket$2.onResponse(RealWebSocket.java:186)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:153)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
@jamiltz mentioned that the nginx config docs should already work with websockets/blip.
Is the mobile-testkit nginx template up to date with the docs?
That might be the reason it failed in the recent test fest with this error:
Related docs ticket: https://issues.couchbase.com/browse/DOC-3147 (but I don't think there is any pending work for that)