var buck = await j.BucketAsync("plane");
var ja = await buck.PingAsync();
var scop = await buck.ScopeAsync("test");
var coll = scop.Collection("plane");
var c = coll.Cid;
await coll.InsertAsync<dynamic>("my-document-key" , new { test = "ha"});
Everything works until the last line. coll.Cid is null, if that matters.
This is selfhosted. Let me know if you need any more information.
I’m not keen on it either. But there is no way for the SDK to know why the collection doesn’t exist. It could be that it was created and not yet propagated to that node.
The underlying cause should be in the ‘reasons’ of the timeout.