Hi @RezaOptic as @1110 suggests WaitUntilReady
should work here as it will block until the underlying connections are established or the timeout is hit. If it’s failing to return successfully after a minute then it suggests that something is wrong. I’d recommend enabling logging (gocb.SetLogger(gocb.VerboseStdioLogger())
or gocb.SetLogger(gocb.DefaultStdioLogger())
) to try to uncover what’s going on. As mentioned on Gitter I have also opened https://issues.couchbase.com/browse/GOCBC-879 to improve the handling around this - there’s also a bit more information on Problem with bucketManager.CreateBucket.
1 Like