Wait-for-couchbase failure

Good afternoon:

I had an issue with this project (GitHub - couchbaselabs/try-cb-java: Java-Based Couchbase 4.0 travel-sample application) (also with the python one) when I was deploying it. The following were the last container logs I got once it run:

wait-for-couchbase: checking http://:8091/pools/default/buckets/travel
wait-for-couchbase: polling for '.scopes | map(.name) | contains([“inventory”, "
wait-for-couchbase: checking http://:8094/api/cfg
wait-for-couchbase: polling for ‘.status == “ok”’
wait-for-couchbase: checking http://:8094/api/index/hotels-index
wait-for-couchbase: polling for ‘.status == “ok”’
wait-for-couchbase: index already exists
wait-for-couchbase: checking http://:9102/api/v1/stats
wait-for-couchbase: polling for ‘.indexer.indexer_state == “Active”’
wait-for-couchbase: polling for '. | keys | contains([“travel-sample:def_airportname”, “travel-sample:def_city”, “travel-sample:def_faa”, “travel-sample:def_icao”, “travel-sample:def_name_type”, “travel-sample:def_primary”, "travel-samplewait-for-couchbase: polling for ‘. | del(.indexer) | del(.[“travel-sample:def_name_type”]) | map(.items_count > 0) | all’
wait-for-couchbase: value is currently:
false
wait-for-couchbase: …
wait-for-couchbase: …
wait-for-couchbase: …
wait-for-couchbase: …
wait-for-couchbase: …
wait-for-couchbase: …
wait-for-couchbase: …
wait-for-couchbase: Failure

Then the application stopped. Would you please guide me how I can solve that issue? I had already deployed both couchbase server and sync-gateway in separated docker containers, same docker network. sync-gateway was successfully deployed and its communication with couchbase was successfully established.

Hola Martin! I think this is the same issue you reported in Wait-for-couchbase failure · Issue #19 · couchbaselabs/try-cb-java · GitHub ?
Has the same problem come up again? Let me know more details and I’ll have a look into it!

1 Like