Request timeout when connecting to Cosmos

Query/Question
I filed #15733 and got suggestion to open a new issue if I continue seeing the timeout issue using 4.0.0+. I am using 4.2.0 and are seeing the timeout issue:
2020/10/08 11:00:13 <--- start time
Create database testdatabase if not exists.
2020/10/08 11:00:30 <--- end time
RequestTimeoutException{userAgent=MacOSX/10.15.6 JRE/1.8.0_172 cosmosdb-java-sdk/4.2.0, error=null, resourceAddress='rntbd://cdb-ms-prod-westus1-fd27.documents.azure.com:11010/apps/715d2dc5-c4b0-4a5c-ab1b-6f23355baa8d/services/0f3474cf-47f6-4920-8d6d-e953147311dd/partitions/a6eb0f3a-5fc4-445d-af27-f0b208153a70/replicas/132452904080769542p/', requestUri='null', statusCode=408, message=RntbdRequestRecord({"args":{"transportRequestId":22,"activityId":"1d7c2d47-0990-11eb-a051-c9d08b88b844","origin":"rntbd://cdb-ms-prod-westus1-fd27.documents.azure.com:11010","replicaPath":"/apps/715d2dc5-c4b0-4a5c-ab1b-6f23355baa8d/services/0f3474cf-47f6-4920-8d6d-e953147311dd/partitions/a6eb0f3a-5fc4-445d-af27-f0b208153a70/replicas/132452904080769542p","timeCreated":"2020-10-08T18:00:24.765Z","lifetime":"PT5.253308121S"},"requestLength":361,"responseLength":-1,"status":{"done":false,"cancelled":false,"completedExceptionally":false},"timeline":[{"eventName":"created","durationInMicroSec":"0","startTime":"2020-10-08T18:00:24.765Z"},{"eventName":"queued","durationInMicroSec":"167000","startTime":"2020-10-08T18:00:24.765Z"},{"eventName":"pipelined","durationInMicroSec":"1000","startTime":"2020-10-08T18:00:24.932Z"},{"eventName":"transitTime","durationInMicroSec":"5086000","startTime":"2020-10-08T18:00:24.933Z"},{"eventName":"received","durationInMicroSec":"0","startTime":null},{"eventName":"completed","durationInMicroSec":"0","startTime":null}]}), userAgent=MacOSX/10.15.6 JRE/1.8.0_172 cosmosdb-java-sdk/4.2.0
{"requestLatency":16066,"requestStartTimeUTC":"08 Oct 2020 18:00:13.953","requestEndTimeUTC":"08 Oct 2020 18:00:30.019","connectionMode":"DIRECT","responseStatisticsList":[{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xd0719aef, L:/<IP_ADDRESS>:57424 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11308]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180014.655000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xe37abe22, L:/<IP_ADDRESS>:57425 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180014.655000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xd2bcc9cc, L:/<IP_ADDRESS>:57426 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180014.765000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x7a190a5e, L:/<IP_ADDRESS>:57429 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180014.907000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x06df0e16, L:/<IP_ADDRESS>:57428 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11308]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180014.907000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x2f89fb3d, L:/<IP_ADDRESS>:57430 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180015.018000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xa6204daf, L:/<IP_ADDRESS>:57431 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180015.129000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x199f6811, L:/<IP_ADDRESS>:57432 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180015.274000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x1c23e0fe, L:/<IP_ADDRESS>:57433 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11308]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180015.433000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xdec710db, L:/<IP_ADDRESS>:57434 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180015.433000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xcf51c25f, L:/<IP_ADDRESS>:57435 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180015.537000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x235572ff, L:/<IP_ADDRESS>:57436 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180015.644000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xd9070bb6, L:/<IP_ADDRESS>:57437 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180015.814000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x5851eb8b, L:/<IP_ADDRESS>:57439 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11308]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180022.022000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":true,"statusCode":408,"subStatusCode":0,"isGone":false,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"RntbdRequestRecord({\"args\":{\"transportRequestId\":14,\"activityId\":\"1d7c2d47-0990-11eb-a051-c9d08b88b844\",\"origin\":\"rntbd://cdb-ms-prod-westus1-fd27.documents.azure.com:11301\",\"replicaPath\":\"/apps/715d2dc5-c4b0-4a5c-ab1b-6f23355baa8d/services/0f3474cf-47f6-4920-8d6d-e953147311dd/partitions/a6eb0f3a-5fc4-445d-af27-f0b208153a70/replicas/132452904041550681s\",\"timeCreated\":\"2020-10-08T18:00:16.861Z\",\"lifetime\":\"PT5.156805159S\"},\"requestLength\":361,\"responseLength\":-1,\"status\":{\"done\":false,\"cancelled\":false,\"completedExceptionally\":false},\"timeline\":[{\"eventName\":\"created\",\"durationInMicroSec\":\"0\",\"startTime\":\"2020-10-08T18:00:16.861Z\"},{\"eventName\":\"queued\",\"durationInMicroSec\":\"113000\",\"startTime\":\"2020-10-08T18:00:16.861Z\"},{\"eventName\":\"pipelined\",\"durationInMicroSec\":\"3000\",\"startTime\":\"2020-10-08T18:00:16.974Z\"},{\"eventName\":\"transitTime\",\"durationInMicroSec\":\"5041000\",\"startTime\":\"2020-10-08T18:00:16.977Z\"},{\"eventName\":\"received\",\"durationInMicroSec\":\"0\",\"startTime\":null},{\"eventName\":\"completed\",\"durationInMicroSec\":\"0\",\"startTime\":null}]})","transportRequestTimeline":null},"requestResponseTime":1602180022.022000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x4a0bff95, L:/<IP_ADDRESS>:57440 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180022.153000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x48fcfd92, L:/<IP_ADDRESS>:57442 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180022.268000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xbef279d0, L:/<IP_ADDRESS>:57443 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180022.448000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x5d04c3d5, L:/<IP_ADDRESS>:57445 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180024.620000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xd13417fa, L:/<IP_ADDRESS>:57444 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180024.620000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x546ee8fb, L:/<IP_ADDRESS>:57446 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11308]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180024.765000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":408,"subStatusCode":0,"isGone":false,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"RntbdRequestRecord({\"args\":{\"transportRequestId\":22,\"activityId\":\"1d7c2d47-0990-11eb-a051-c9d08b88b844\",\"origin\":\"rntbd://cdb-ms-prod-westus1-fd27.documents.azure.com:11010\",\"replicaPath\":\"/apps/715d2dc5-c4b0-4a5c-ab1b-6f23355baa8d/services/0f3474cf-47f6-4920-8d6d-e953147311dd/partitions/a6eb0f3a-5fc4-445d-af27-f0b208153a70/replicas/132452904080769542p\",\"timeCreated\":\"2020-10-08T18:00:24.765Z\",\"lifetime\":\"PT5.253308121S\"},\"requestLength\":361,\"responseLength\":-1,\"status\":{\"done\":false,\"cancelled\":false,\"completedExceptionally\":false},\"timeline\":[{\"eventName\":\"created\",\"durationInMicroSec\":\"0\",\"startTime\":\"2020-10-08T18:00:24.765Z\"},{\"eventName\":\"queued\",\"durationInMicroSec\":\"167000\",\"startTime\":\"2020-10-08T18:00:24.765Z\"},{\"eventName\":\"pipelined\",\"durationInMicroSec\":\"1000\",\"startTime\":\"2020-10-08T18:00:24.932Z\"},{\"eventName\":\"transitTime\",\"durationInMicroSec\":\"5086000\",\"startTime\":\"2020-10-08T18:00:24.933Z\"},{\"eventName\":\"received\",\"durationInMicroSec\":\"0\",\"startTime\":null},{\"eventName\":\"completed\",\"durationInMicroSec\":\"0\",\"startTime\":null}]})","transportRequestTimeline":null},"requestResponseTime":1602180030.019000000}],"supplementalResponseStatisticsList":[],"addressResolutionStatistics":{"1e2f50b1-0990-11eb-a051-c9d08b88b844":{"startTime":1602180015.129000000,"endTime":1602180015.168000000},"1d7ffdd8-0990-11eb-a051-c9d08b88b844":{"startTime":1602180013.980000000,"endTime":1602180014.268000000},"1df7ecfc-0990-11eb-a051-c9d08b88b844":{"startTime":1602180014.766000000,"endTime":1602180014.796000000},"23be0b81-0990-11eb-a051-c9d08b88b844":{"startTime":1602180024.453000000,"endTime":1602180024.487000000},"1e463413-0990-11eb-a051-c9d08b88b844":{"startTime":1602180015.279000000,"endTime":1602180015.311000000},"2270caff-0990-11eb-a051-c9d08b88b844":{"startTime":1602180022.269000000,"endTime":1602180022.307000000},"1e7de5e8-0990-11eb-a051-c9d08b88b844":{"startTime":1602180015.644000000,"endTime":1602180015.699000000},"1f30bb2a-0990-11eb-a051-c9d08b88b844":{"startTime":1602180016.816000000,"endTime":1602180016.860000000}},"regionsContacted":["https://test-ut-cosmos-westus.documents.azure.com:443/"],"retryContext":{"retryCount":3,"statusAndSubStatusCodes":[[410,0],[410,0],[410,0],[408,0]],"retryLatency":14744},"metadataDiagnosticsContext":{"metadataDiagnosticList":[{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"08 Oct 2020 18:00:13.980","endTimeUTC":"08 Oct 2020 18:00:14.267","durationinMS":287},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"08 Oct 2020 18:00:14.766","endTimeUTC":"08 Oct 2020 18:00:14.796","durationinMS":30},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"08 Oct 2020 18:00:15.129","endTimeUTC":"08 Oct 2020 18:00:15.168","durationinMS":39},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"08 Oct 2020 18:00:15.279","endTimeUTC":"08 Oct 2020 18:00:15.311","durationinMS":32},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"08 Oct 2020 18:00:15.644","endTimeUTC":"08 Oct 2020 18:00:15.699","durationinMS":55},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"08 Oct 2020 18:00:16.817","endTimeUTC":"08 Oct 2020 18:00:16.860","durationinMS":43},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"08 Oct 2020 18:00:22.269","endTimeUTC":"08 Oct 2020 18:00:22.307","durationinMS":38},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"08 Oct 2020 18:00:24.453","endTimeUTC":"08 Oct 2020 18:00:24.487","durationinMS":34}]},"serializationDiagnosticsContext":{"serializationDiagnosticsList":null},"gatewayStatistics":null,"systemInformation":{"usedMemory":"140900 KB","availableMemory":"7315868 KB","processCpuLoad":"6.944444444444445 %","systemCpuLoad":"NaN %"}}, causeInfo=null, responseHeaders={}, requestHeaders=[Accept=application/json, x-ms-date=Thu, 08 Oct 2020 18:00:13 GMT, x-ms-client-retry-attempt-count=3, x-ms-remaining-time-in-ms-on-client=20000, x-ms-consistency-level=Strong]}
	at com.azure.cosmos.implementation.directconnectivity.rntbd.RntbdRequestRecord.expire(RntbdRequestRecord.java:192)
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: java.lang.Exception: #block terminated with an error
		at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:99)
		at reactor.core.publisher.Mono.block(Mono.java:1678)
		at com.azure.cosmos.CosmosClient.blockDatabaseResponse(CosmosClient.java:139)
		at com.azure.cosmos.CosmosClient.createDatabaseIfNotExists(CosmosClient.java:64)
		at com.linkedin.cosmos.impl.SyncMain.createDatabaseIfNotExists(SyncMain.java:124)
		at com.linkedin.cosmos.impl.SyncMain.getStartedDemo(SyncMain.java:92)
		at com.linkedin.cosmos.impl.SyncMain.main(SyncMain.java:56)
Cosmos getStarted failed with RequestTimeoutException{userAgent=MacOSX/10.15.6 JRE/1.8.0_172 cosmosdb-java-sdk/4.2.0, error=null, resourceAddress='rntbd://cdb-ms-prod-westus1-fd27.documents.azure.com:11010/apps/715d2dc5-c4b0-4a5c-ab1b-6f23355baa8d/services/0f3474cf-47f6-4920-8d6d-e953147311dd/partitions/a6eb0f3a-5fc4-445d-af27-f0b208153a70/replicas/132452904080769542p/', requestUri='null', statusCode=408, message=RntbdRequestRecord({"args":{"transportRequestId":22,"activityId":"1d7c2d47-0990-11eb-a051-c9d08b88b844","origin":"rntbd://cdb-ms-prod-westus1-fd27.documents.azure.com:11010","replicaPath":"/apps/715d2dc5-c4b0-4a5c-ab1b-6f23355baa8d/services/0f3474cf-47f6-4920-8d6d-e953147311dd/partitions/a6eb0f3a-5fc4-445d-af27-f0b208153a70/replicas/132452904080769542p","timeCreated":"2020-10-08T18:00:24.765Z","lifetime":"PT5.253308121S"},"requestLength":361,"responseLength":-1,"status":{"done":false,"cancelled":false,"completedExceptionally":false},"timeline":[{"eventName":"created","durationInMicroSec":"0","startTime":"2020-10-08T18:00:24.765Z"},{"eventName":"queued","durationInMicroSec":"167000","startTime":"2020-10-08T18:00:24.765Z"},{"eventName":"pipelined","durationInMicroSec":"1000","startTime":"2020-10-08T18:00:24.932Z"},{"eventName":"transitTime","durationInMicroSec":"5086000","startTime":"2020-10-08T18:00:24.933Z"},{"eventName":"received","durationInMicroSec":"0","startTime":null},{"eventName":"completed","durationInMicroSec":"0","startTime":null}]}), userAgent=MacOSX/10.15.6 JRE/1.8.0_172 cosmosdb-java-sdk/4.2.0
{"requestLatency":16066,"requestStartTimeUTC":"08 Oct 2020 18:00:13.953","requestEndTimeUTC":"08 Oct 2020 18:00:30.019","connectionMode":"DIRECT","responseStatisticsList":[{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xd0719aef, L:/<IP_ADDRESS>:57424 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11308]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180014.655000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xe37abe22, L:/<IP_ADDRESS>:57425 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180014.655000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xd2bcc9cc, L:/<IP_ADDRESS>:57426 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180014.765000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x7a190a5e, L:/<IP_ADDRESS>:57429 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180014.907000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x06df0e16, L:/<IP_ADDRESS>:57428 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11308]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180014.907000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x2f89fb3d, L:/<IP_ADDRESS>:57430 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180015.018000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xa6204daf, L:/<IP_ADDRESS>:57431 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180015.129000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x199f6811, L:/<IP_ADDRESS>:57432 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180015.274000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x1c23e0fe, L:/<IP_ADDRESS>:57433 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11308]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180015.433000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xdec710db, L:/<IP_ADDRESS>:57434 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180015.433000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xcf51c25f, L:/<IP_ADDRESS>:57435 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180015.537000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x235572ff, L:/<IP_ADDRESS>:57436 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180015.644000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xd9070bb6, L:/<IP_ADDRESS>:57437 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180015.814000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x5851eb8b, L:/<IP_ADDRESS>:57439 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11308]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180022.022000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":true,"statusCode":408,"subStatusCode":0,"isGone":false,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"RntbdRequestRecord({\"args\":{\"transportRequestId\":14,\"activityId\":\"1d7c2d47-0990-11eb-a051-c9d08b88b844\",\"origin\":\"rntbd://cdb-ms-prod-westus1-fd27.documents.azure.com:11301\",\"replicaPath\":\"/apps/715d2dc5-c4b0-4a5c-ab1b-6f23355baa8d/services/0f3474cf-47f6-4920-8d6d-e953147311dd/partitions/a6eb0f3a-5fc4-445d-af27-f0b208153a70/replicas/132452904041550681s\",\"timeCreated\":\"2020-10-08T18:00:16.861Z\",\"lifetime\":\"PT5.156805159S\"},\"requestLength\":361,\"responseLength\":-1,\"status\":{\"done\":false,\"cancelled\":false,\"completedExceptionally\":false},\"timeline\":[{\"eventName\":\"created\",\"durationInMicroSec\":\"0\",\"startTime\":\"2020-10-08T18:00:16.861Z\"},{\"eventName\":\"queued\",\"durationInMicroSec\":\"113000\",\"startTime\":\"2020-10-08T18:00:16.861Z\"},{\"eventName\":\"pipelined\",\"durationInMicroSec\":\"3000\",\"startTime\":\"2020-10-08T18:00:16.974Z\"},{\"eventName\":\"transitTime\",\"durationInMicroSec\":\"5041000\",\"startTime\":\"2020-10-08T18:00:16.977Z\"},{\"eventName\":\"received\",\"durationInMicroSec\":\"0\",\"startTime\":null},{\"eventName\":\"completed\",\"durationInMicroSec\":\"0\",\"startTime\":null}]})","transportRequestTimeline":null},"requestResponseTime":1602180022.022000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x4a0bff95, L:/<IP_ADDRESS>:57440 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180022.153000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x48fcfd92, L:/<IP_ADDRESS>:57442 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180022.268000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xbef279d0, L:/<IP_ADDRESS>:57443 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180022.448000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x5d04c3d5, L:/<IP_ADDRESS>:57445 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180024.620000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xd13417fa, L:/<IP_ADDRESS>:57444 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180024.620000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x546ee8fb, L:/<IP_ADDRESS>:57446 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11308]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602180024.765000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":408,"subStatusCode":0,"isGone":false,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"RntbdRequestRecord({\"args\":{\"transportRequestId\":22,\"activityId\":\"1d7c2d47-0990-11eb-a051-c9d08b88b844\",\"origin\":\"rntbd://cdb-ms-prod-westus1-fd27.documents.azure.com:11010\",\"replicaPath\":\"/apps/715d2dc5-c4b0-4a5c-ab1b-6f23355baa8d/services/0f3474cf-47f6-4920-8d6d-e953147311dd/partitions/a6eb0f3a-5fc4-445d-af27-f0b208153a70/replicas/132452904080769542p\",\"timeCreated\":\"2020-10-08T18:00:24.765Z\",\"lifetime\":\"PT5.253308121S\"},\"requestLength\":361,\"responseLength\":-1,\"status\":{\"done\":false,\"cancelled\":false,\"completedExceptionally\":false},\"timeline\":[{\"eventName\":\"created\",\"durationInMicroSec\":\"0\",\"startTime\":\"2020-10-08T18:00:24.765Z\"},{\"eventName\":\"queued\",\"durationInMicroSec\":\"167000\",\"startTime\":\"2020-10-08T18:00:24.765Z\"},{\"eventName\":\"pipelined\",\"durationInMicroSec\":\"1000\",\"startTime\":\"2020-10-08T18:00:24.932Z\"},{\"eventName\":\"transitTime\",\"durationInMicroSec\":\"5086000\",\"startTime\":\"2020-10-08T18:00:24.933Z\"},{\"eventName\":\"received\",\"durationInMicroSec\":\"0\",\"startTime\":null},{\"eventName\":\"completed\",\"durationInMicroSec\":\"0\",\"startTime\":null}]})","transportRequestTimeline":null},"requestResponseTime":1602180030.019000000}],"supplementalResponseStatisticsList":[],"addressResolutionStatistics":{"1e2f50b1-0990-11eb-a051-c9d08b88b844":{"startTime":1602180015.129000000,"endTime":1602180015.168000000},"1d7ffdd8-0990-11eb-a051-c9d08b88b844":{"startTime":1602180013.980000000,"endTime":1602180014.268000000},"1df7ecfc-0990-11eb-a051-c9d08b88b844":{"startTime":1602180014.766000000,"endTime":1602180014.796000000},"23be0b81-0990-11eb-a051-c9dClosing the client
08b88b844":{"startTime":1602180024.453000000,"endTime":1602180024.487000000},"1e463413-0990-11eb-a051-c9d08b88b844":{"startTime":1602180015.279000000,"endTime":1602180015.311000000},"2270caff-0990-11eb-a051-c9d08b88b844":{"startTime":1602180022.269000000,"endTime":1602180022.307000000},"1e7de5e8-0990-11eb-a051-c9d08b88b844":{"startTime":1602180015.644000000,"endTime":1602180015.699000000},"1f30bb2a-0990-11eb-a051-c9d08b88b844":{"startTime":1602180016.816000000,"endTime":1602180016.860000000}},"regionsContacted":["https://test-ut-cosmos-westus.documents.azure.com:443/"],"retryContext":{"retryCount":3,"statusAndSubStatusCodes":[[410,0],[410,0],[410,0],[408,0]],"retryLatency":14744},"metadataDiagnosticsContext":{"metadataDiagnosticList":[{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"08 Oct 2020 18:00:13.980","endTimeUTC":"08 Oct 2020 18:00:14.267","durationinMS":287},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"08 Oct 2020 18:00:14.766","endTimeUTC":"08 Oct 2020 18:00:14.796","durationinMS":30},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"08 Oct 2020 18:00:15.129","endTimeUTC":"08 Oct 2020 18:00:15.168","durationinMS":39},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"08 Oct 2020 18:00:15.279","endTimeUTC":"08 Oct 2020 18:00:15.311","durationinMS":32},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"08 Oct 2020 18:00:15.644","endTimeUTC":"08 Oct 2020 18:00:15.699","durationinMS":55},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"08 Oct 2020 18:00:16.817","endTimeUTC":"08 Oct 2020 18:00:16.860","durationinMS":43},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"08 Oct 2020 18:00:22.269","endTimeUTC":"08 Oct 2020 18:00:22.307","durationinMS":38},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"08 Oct 2020 18:00:24.453","endTimeUTC":"08 Oct 2020 18:00:24.487","durationinMS":34}]},"serializationDiagnosticsContext":{"serializationDiagnosticsList":null},"gatewayStatistics":null,"systemInformation":{"usedMemory":"141182 KB","availableMemory":"7315586 KB","processCpuLoad":"16.861549497847918 %","systemCpuLoad":"NaN %"}}, causeInfo=null, responseHeaders={}, requestHeaders=[Accept=application/json, x-ms-date=Thu, 08 Oct 2020 18:00:13 GMT, x-ms-client-retry-attempt-count=3, x-ms-remaining-time-in-ms-on-client=20000, x-ms-consistency-level=Strong]}

Process finished with exit code 0

The code is similar to the example code:
    private void createDatabaseIfNotExists() throws Exception {
        System.out.println("Create database " + databaseName + " if not exists.");

        //  Create database if not exists
        //  <CreateDatabaseIfNotExists>
        CosmosDatabaseResponse databaseResponse = client.createDatabaseIfNotExists(databaseName);
        database = client.getDatabase(databaseResponse.getProperties().getId());
        //  </CreateDatabaseIfNotExists>

        System.out.println("Checking database " + database.getId() + " completed!\n");
    }

public void init() throws Exception {
        //  </CreateSyncClient>
        System.out.println(dateTimeFormatter.format(LocalDateTime.now()));
        try  {
            createDatabaseIfNotExists();
        } catch (Exception exception) {
            System.out.println(dateTimeFormatter.format(LocalDateTime.now()));
            throw exception;
        }
        System.out.println(dateTimeFormatter.format(LocalDateTime.now()));
}

Why is this not a Bug or a feature Request?
Based on answer in  #15733, it does not like so. But there is still a possibility.
Setup (please complete the following information if applicable):

OS: iOS
IDE : IntelliJ
Version of the Library used: JRE/1.8.0_172 cosmosdb-java-sdk/4.2.0

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[ ] Query Added <--- no query, I added stack trace.
[x] Setup information Added

@shirleyy0812 - this issue has been fixed in the latest version of the SDK - https://mvnrepository.com/artifact/com.azure/azure-cosmos/4.6.0
Can you please update and check if you are still seeing the issue on the above new version ?
Here is the changelog for your reference - https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-sdk-java-v4#release-history

Hi @kushagraThapar ,
Thanks for taking a look on the ticket. I tried with 4.6.0 and I see this error:
Using Azure Cosmos DB endpoint: https://test-ut-cosmos.documents.azure.com:443/
log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
java.lang.IllegalStateException: Timeout on blocking read for 120000 MILLISECONDS
	at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:123)
	at reactor.core.publisher.Mono.block(Mono.java:1704)
	at com.azure.cosmos.implementation.GlobalEndpointManager.init(GlobalEndpointManager.java:77)
	at com.azure.cosmos.implementation.RxDocumentClientImpl.init(RxDocumentClientImpl.java:371)
	at com.azure.cosmos.implementation.AsyncDocumentClient$Builder.build(AsyncDocumentClient.java:218)
	at com.azure.cosmos.CosmosAsyncClient.<init>(CosmosAsyncClient.java:102)
	at com.azure.cosmos.CosmosClientBuilder.buildAsyncClient(CosmosClientBuilder.java:699)
	at com.azure.cosmos.CosmosClient.<init>(CosmosClient.java:30)
	at com.azure.cosmos.CosmosClientBuilder.buildClient(CosmosClientBuilder.java:711)
	at com.linkedin.cosmos.impl.SyncMain.getStartedDemo(SyncMain.java:87)
	at com.linkedin.cosmos.impl.SyncMain.main(SyncMain.java:56)
Cosmos getStarted failed with java.lang.IllegalStateException: Timeout on blocking read for 120000 MILLISECONDS
Closing the client
Exception in thread "main" java.lang.NullPointerException
	at com.linkedin.cosmos.impl.SyncMain.close(SyncMain.java:43)
	at com.linkedin.cosmos.impl.SyncMain.main(SyncMain.java:63)

This looks like the endpoint is not reachable for 120 seconds. Is this intermittent failure or are you not able to initialize the Cosmos Client at all ?

You are correct, it cannot connect to cosmos client in 4.6.0. I ran a test in 4.2.0, it can connect to the cosmos client, but it fails at createIfNotExists.
Using Azure Cosmos DB endpoint: https://test-ut-cosmos.documents.azure.com:443/
log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Connected to Cosmos Client
2020/10/12 12:15:29
Create database unifiedtopology if not exists.
2020/10/12 12:15:44
RequestTimeoutException{userAgent=MacOSX/10.15.6 JRE/1.8.0_172 cosmosdb-java-sdk/4.2.0, error=null, resourceAddress='rntbd://cdb-ms-prod-westus1-fd27.documents.azure.com:11013/apps/715d2dc5-c4b0-4a5c-ab1b-6f23355baa8d/services/0f3474cf-47f6-4920-8d6d-e953147311dd/partitions/a6eb0f3a-5fc4-445d-af27-f0b208153a70/replicas/132468015739577148p/', requestUri='null', statusCode=408, message=RntbdRequestRecord({"args":{"transportRequestId":22,"activityId":"4a6ebcef-0cbf-11eb-87bb-3db17e10aa15","origin":"rntbd://cdb-ms-prod-westus1-fd27.documents.azure.com:11013","replicaPath":"/apps/715d2dc5-c4b0-4a5c-ab1b-6f23355baa8d/services/0f3474cf-47f6-4920-8d6d-e953147311dd/partitions/a6eb0f3a-5fc4-445d-af27-f0b208153a70/replicas/132468015739577148p","timeCreated":"2020-10-12T19:15:39.818Z","lifetime":"PT5.148566026S"},"requestLength":361,"responseLength":-1,"status":{"done":false,"cancelled":false,"completedExceptionally":false},"timeline":[{"eventName":"created","durationInMicroSec":"0","startTime":"2020-10-12T19:15:39.818Z"},{"eventName":"queued","durationInMicroSec":"124000","startTime":"2020-10-12T19:15:39.818Z"},{"eventName":"pipelined","durationInMicroSec":"2000","startTime":"2020-10-12T19:15:39.942Z"},{"eventName":"transitTime","durationInMicroSec":"5023000","startTime":"2020-10-12T19:15:39.944Z"},{"eventName":"received","durationInMicroSec":"0","startTime":null},{"eventName":"completed","durationInMicroSec":"0","startTime":null}]}), userAgent=MacOSX/10.15.6 JRE/1.8.0_172 cosmosdb-java-sdk/4.2.0
{"requestLatency":15771,"requestStartTimeUTC":"12 Oct 2020 19:15:29.197","requestEndTimeUTC":"12 Oct 2020 19:15:44.968","connectionMode":"DIRECT","responseStatisticsList":[{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xf07bbcdb, L:/<IP_ADDRESS>:62846 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530129.904000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x28704794, L:/<IP_ADDRESS>:62845 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530129.905000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xdd33723b, L:/<IP_ADDRESS>:62848 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530129.993000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x61a549ee, L:/<IP_ADDRESS>:62850 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.113000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xd8bf944b, L:/<IP_ADDRESS>:62849 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.113000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x5cde6368, L:/<IP_ADDRESS>:62851 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.199000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x80c13df2, L:/<IP_ADDRESS>:62854 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11013]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.316000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xd82eda50, L:/<IP_ADDRESS>:62855 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11013]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.458000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x5a5e01f1, L:/<IP_ADDRESS>:62857 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.589000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x0343d932, L:/<IP_ADDRESS>:62856 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.589000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x5dfec7b0, L:/<IP_ADDRESS>:62858 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.690000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xb329221f, L:/<IP_ADDRESS>:62859 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11013]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.796000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x73bb2d20, L:/<IP_ADDRESS>:62860 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11013]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.924000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x06b06695, L:/<IP_ADDRESS>:62861 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530132.091000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xb4f9a31c, L:/<IP_ADDRESS>:62862 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530132.091000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":true,"statusCode":408,"subStatusCode":0,"isGone":false,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"RntbdRequestRecord({\"args\":{\"transportRequestId\":16,\"activityId\":\"4a6ebcef-0cbf-11eb-87bb-3db17e10aa15\",\"origin\":\"rntbd://cdb-ms-prod-westus1-fd27.documents.azure.com:11014\",\"replicaPath\":\"/apps/715d2dc5-c4b0-4a5c-ab1b-6f23355baa8d/services/0f3474cf-47f6-4920-8d6d-e953147311dd/partitions/a6eb0f3a-5fc4-445d-af27-f0b208153a70/replicas/132452904080769543s\",\"timeCreated\":\"2020-10-12T19:15:32.091Z\",\"lifetime\":\"PT5.172507417S\"},\"requestLength\":361,\"responseLength\":-1,\"status\":{\"done\":false,\"cancelled\":false,\"completedExceptionally\":false},\"timeline\":[{\"eventName\":\"created\",\"durationInMicroSec\":\"0\",\"startTime\":\"2020-10-12T19:15:32.091Z\"},{\"eventName\":\"queued\",\"durationInMicroSec\":\"130000\",\"startTime\":\"2020-10-12T19:15:32.091Z\"},{\"eventName\":\"pipelined\",\"durationInMicroSec\":\"3000\",\"startTime\":\"2020-10-12T19:15:32.221Z\"},{\"eventName\":\"transitTime\",\"durationInMicroSec\":\"5040000\",\"startTime\":\"2020-10-12T19:15:32.224Z\"},{\"eventName\":\"received\",\"durationInMicroSec\":\"0\",\"startTime\":null},{\"eventName\":\"completed\",\"durationInMicroSec\":\"0\",\"startTime\":null}]})","transportRequestTimeline":null},"requestResponseTime":1602530137.267000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xd28296f3, L:/<IP_ADDRESS>:62864 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11013]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530137.411000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x155e56e7, L:/<IP_ADDRESS>:62865 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11013]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530137.555000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xa237a4f8, L:/<IP_ADDRESS>:62866 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530139.717000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x3958b89a, L:/<IP_ADDRESS>:62867 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530139.717000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xd9710da9, L:/<IP_ADDRESS>:62868 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530139.818000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":408,"subStatusCode":0,"isGone":false,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"RntbdRequestRecord({\"args\":{\"transportRequestId\":22,\"activityId\":\"4a6ebcef-0cbf-11eb-87bb-3db17e10aa15\",\"origin\":\"rntbd://cdb-ms-prod-westus1-fd27.documents.azure.com:11013\",\"replicaPath\":\"/apps/715d2dc5-c4b0-4a5c-ab1b-6f23355baa8d/services/0f3474cf-47f6-4920-8d6d-e953147311dd/partitions/a6eb0f3a-5fc4-445d-af27-f0b208153a70/replicas/132468015739577148p\",\"timeCreated\":\"2020-10-12T19:15:39.818Z\",\"lifetime\":\"PT5.148566026S\"},\"requestLength\":361,\"responseLength\":-1,\"status\":{\"done\":false,\"cancelled\":false,\"completedExceptionally\":false},\"timeline\":[{\"eventName\":\"created\",\"durationInMicroSec\":\"0\",\"startTime\":\"2020-10-12T19:15:39.818Z\"},{\"eventName\":\"queued\",\"durationInMicroSec\":\"124000\",\"startTime\":\"2020-10-12T19:15:39.818Z\"},{\"eventName\":\"pipelined\",\"durationInMicroSec\":\"2000\",\"startTime\":\"2020-10-12T19:15:39.942Z\"},{\"eventName\":\"transitTime\",\"durationInMicroSec\":\"5023000\",\"startTime\":\"2020-10-12T19:15:39.944Z\"},{\"eventName\":\"received\",\"durationInMicroSec\":\"0\",\"startTime\":null},{\"eventName\":\"completed\",\"durationInMicroSec\":\"0\",\"startTime\":null}]})","transportRequestTimeline":null},"requestResponseTime":1602530144.968000000}],"supplementalResponseStatisticsList":[],"addressResolutionStatistics":{"4f53f057-0cbf-11eb-87bb-3db17e10aa15":{"startTime":1602530137.412000000,"endTime":1602530137.444000000},"4a72daa0-0cbf-11eb-87bb-3db17e10aa15":{"startTime":1602530129.226000000,"endTime":1602530129.474000000},"4c0f4ca2-0cbf-11eb-87bb-3db17e10aa15":{"startTime":1602530131.929000000,"endTime":1602530131.966000000},"4b2f9afb-0cbf-11eb-87bb-3db17e10aa15":{"startTime":1602530130.463000000,"endTime":1602530130.490000000},"4ae80aa4-0cbf-11eb-87bb-3db17e10aa15":{"startTime":1602530129.994000000,"endTime":1602530130.019000000},"509b1659-0cbf-11eb-87bb-3db17e10aa15":{"startTime":1602530139.556000000,"endTime":1602530139.591000000},"4b6291e0-0cbf-11eb-87bb-3db17e10aa15":{"startTime":1602530130.797000000,"endTime":1602530130.827000000},"4b192cc9-0cbf-11eb-87bb-3db17e10aa15":{"startTime":1602530130.316000000,"endTime":1602530130.345000000}},"regionsContacted":["https://test-ut-cosmos-westus.documents.azure.com:443/"],"retryContext":{"retryCount":3,"statusAndSubStatusCodes":[[410,0],[410,0],[410,0],[408,0]],"retryLatency":14508},"metadataDiagnosticsContext":{"metadataDiagnosticList":[{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"12 Oct 2020 19:15:29.226","endTimeUTC":"12 Oct 2020 19:15:29.473","durationinMS":247},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"12 Oct 2020 19:15:29.994","endTimeUTC":"12 Oct 2020 19:15:30.019","durationinMS":25},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"12 Oct 2020 19:15:30.316","endTimeUTC":"12 Oct 2020 19:15:30.345","durationinMS":29},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"12 Oct 2020 19:15:30.463","endTimeUTC":"12 Oct 2020 19:15:30.490","durationinMS":27},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"12 Oct 2020 19:15:30.797","endTimeUTC":"12 Oct 2020 19:15:30.827","durationinMS":30},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"12 Oct 2020 19:15:31.929","endTimeUTC":"12 Oct 2020 19:15:31.966","durationinMS":37},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"12 Oct 2020 19:15:37.412","endTimeUTC":"12 Oct 2020 19:15:37.444","durationinMS":32},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"12 Oct 2020 19:15:39.556","endTimeUTC":"12 Oct 2020 19:15:39.591","durationinMS":35}]},"serializationDiagnosticsContext":{"serializationDiagnosticsList":null},"gatewayStatistics":null,"systemInformation":{"usedMemory":"143071 KB","availableMemory":"7313697 KB","processCpuLoad":"7.5099469496021225 %","systemCpuLoad":"0.0 %"}}, causeInfo=null, responseHeaders={}, requestHeaders=[Accept=application/json, x-ms-date=Mon, 12 Oct 2020 19:15:29 GMT, x-ms-client-retry-attempt-count=3, x-ms-remaining-time-in-ms-on-client=20000, x-ms-consistency-level=Strong]}
	at com.azure.cosmos.implementation.directconnectivity.rntbd.RntbdRequestRecord.expire(RntbdRequestRecord.java:192)
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.lang.Thread.run(Thread.java:748)
	Suppressed: java.lang.Exception: #block terminated with an error
		at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:99)
		at reactor.core.publisher.Mono.block(Mono.java:1678)
		at com.azure.cosmos.CosmosClient.blockDatabaseResponse(CosmosClient.java:139)
		at com.azure.cosmos.CosmosClient.createDatabaseIfNotExists(CosmosClient.java:64)
		at com.linkedin.cosmos.impl.SyncMain.createDatabaseIfNotExists(SyncMain.java:125)
		at com.linkedin.cosmos.impl.SyncMain.getStartedDemo(SyncMain.java:93)
		at com.linkedin.cosmos.impl.SyncMain.main(SyncMain.java:56)
Cosmos getStarted failed with RequestTimeoutException{userAgent=MacOSX/10.15.6 JRE/1.8.0_172 cosmosdb-java-sdk/4.2.0, error=null, resourceAddress='rntbd://cdb-ms-prod-westus1-fd27.documents.azure.com:11013/apps/715d2dc5-c4b0-4a5c-ab1b-6f23355baa8d/services/0f3474cf-47f6-4920-8d6d-e953147311dd/partitions/a6eb0f3a-5fc4-445d-af27-f0b208153a70/replicas/132468015739577148p/', requestUri='null', statusCode=408, message=RntbdRequestRecord({"args":{"transportRequestId":22,"activityId":"4a6ebcef-0cbf-11eb-87bb-3db17e10aa15","origin":"rntbd://cdb-ms-prod-westus1-fd27.documents.azure.com:11013","replicaPath":"/apps/715d2dc5-c4b0-4a5c-ab1b-6f23355baa8d/services/0f3474cf-47f6-4920-8d6d-e953147311dd/partitions/a6eb0f3a-5fc4-445d-af27-f0b208153a70/replicas/132468015739577148p","timeCreated":"2020-10-12T19:15:39.818Z","lifetime":"PT5.148566026S"},"requestLength":361,"responseLength":-1,"status":{"done":false,"cancelled":false,"completedExceptionally":false},"timeline":[{"eventName":"created","durationInMicroSec":"0","startTime":"2020-10-12T19:15:39.818Z"},{"eventName":"queued","durationInMicroSec":"124000","startTime":"2020-10-12T19:15:39.818Z"},{"eventName":"pipelined","durationInMicroSec":"2000","startTime":"2020-10-12T19:15:39.942Z"},{"eventName":"transitTime","durationInMicroSec":"5023000","startTime":"2020-10-12T19:15:39.944Z"},{"eventName":"received","durationInMicroSec":"0","startTime":null},{"eventName":"completed","durationInMicroSec":"0","startTime":null}]}), userAgent=MacOSX/10.15.6 JRE/1.8.0_172 cosmosdb-java-sdk/4.2.0
{"requestLatency":15771,"requestStartTimeUTC":"12 Oct 2020 19:15:29.197","requestEndTimeUTC":"12 Oct 2020 19:15:44.968","connectionMode":"DIRECT","responseStatisticsList":[{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xf07bbcdb, L:/<IP_ADDRESS>:62846 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530129.904000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x28704794, L:/<IP_ADDRESS>:62845 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530129.905000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xdd33723b, L:/<IP_ADDRESS>:62848 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530129.993000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x61a549ee, L:/<IP_ADDRESS>:62850 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.113000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xd8bf944b, L:/<IP_ADDRESS>:62849 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.113000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x5cde6368, L:/<IP_ADDRESS>:62851 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.199000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x80c13df2, L:/<IP_ADDRESS>:62854 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11013]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.316000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xd82eda50, L:/<IP_ADDRESS>:62855 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11013]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.458000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x5a5e01f1, L:/<IP_ADDRESS>:62857 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.589000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x0343d932, L:/<IP_ADDRESS>:62856 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.589000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x5dfec7b0, L:/<IP_ADDRESS>:62858 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.690000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xb329221f, L:/<IP_ADDRESS>:62859 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11013]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.796000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x73bb2d20, L:/<IP_ADDRESS>:62860 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11013]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530130.924000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x06b06695, L:/<IP_ADDRESS>:62861 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530132.091000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xb4f9a31c, L:/<IP_ADDRESS>:62862 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530132.091000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":true,"statusCode":408,"subStatusCode":0,"isGone":false,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"RntbdRequestRecord({\"args\":{\"transportRequestId\":16,\"activityId\":\"4a6ebcef-0cbf-11eb-87bb-3db17e10aa15\",\"origin\":\"rntbd://cdb-ms-prod-westus1-fd27.documents.azure.com:11014\",\"replicaPath\":\"/apps/715d2dc5-c4b0-4a5c-ab1b-6f23355baa8d/services/0f3474cf-47f6-4920-8d6d-e953147311dd/partitions/a6eb0f3a-5fc4-445d-af27-f0b208153a70/replicas/132452904080769543s\",\"timeCreated\":\"2020-10-12T19:15:32.091Z\",\"lifetime\":\"PT5.172507417S\"},\"requestLength\":361,\"responseLength\":-1,\"status\":{\"done\":false,\"cancelled\":false,\"completedExceptionally\":false},\"timeline\":[{\"eventName\":\"created\",\"durationInMicroSec\":\"0\",\"startTime\":\"2020-10-12T19:15:32.091Z\"},{\"eventName\":\"queued\",\"durationInMicroSec\":\"130000\",\"startTime\":\"2020-10-12T19:15:32.091Z\"},{\"eventName\":\"pipelined\",\"durationInMicroSec\":\"3000\",\"startTime\":\"2020-10-12T19:15:32.221Z\"},{\"eventName\":\"transitTime\",\"durationInMicroSec\":\"5040000\",\"startTime\":\"2020-10-12T19:15:32.224Z\"},{\"eventName\":\"received\",\"durationInMicroSec\":\"0\",\"startTime\":null},{\"eventName\":\"completed\",\"durationInMicroSec\":\"0\",\"startTime\":null}]})","transportRequestTimeline":null},"requestResponseTime":1602530137.267000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xd28296f3, L:/<IP_ADDRESS>:62864 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11013]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530137.411000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x155e56e7, L:/<IP_ADDRESS>:62865 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11013]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530137.555000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xa237a4f8, L:/<IP_ADDRESS>:62866 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11010]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530139.717000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0x3958b89a, L:/<IP_ADDRESS>:62867 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11301]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530139.717000000},{"storeResult":{"storePhysicalAddress":null,"lsn":0,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":410,"subStatusCode":0,"isGone":true,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"ChannelHandlerContext(RntbdRequestManager#0, [id: 0xd9710da9, L:/<IP_ADDRESS>:62868 - R:cdb-ms-prod-westus1-fd27.documents.azure.com/<IP_ADDRESS>:11014]) closed exceptionally with 1 pending requests","transportRequestTimeline":null},"requestResponseTime":1602530139.818000000},{"storeResult":{"storePhysicalAddress":null,"lsn":-1,"globalCommittedLsn":-1,"partitionKeyRangeId":null,"isValid":false,"statusCode":408,"subStatusCode":0,"isGone":false,"isNotFound":false,"isInvalidPartition":false,"requestCharge":0.0,"itemLSN":-1,"sessionToken":null,"exception":"RntbdRequestRecord({\"args\":{\"transportRequestId\":22,\"activityId\":\"4a6ebcef-0cbf-11eb-87bb-3db17e10aa15\",\"origin\":\"rntbd://cdb-ms-prod-westus1-fd27.documents.azure.com:11013\",\"replicaPath\":\"/apps/715d2dc5-c4b0-4a5c-ab1b-6f23355baa8d/services/0f3474cf-47f6-4920-8d6d-e953147311dd/partitions/a6eb0f3a-5fc4-445d-af27-f0b208153a70/replicas/132468015739577148p\",\"timeCreated\":\"2020-10-12T19:15:39.818Z\",\"lifetime\":\"PT5.148566026S\"},\"requestLength\":361,\"responseLength\":-1,\"status\":{\"done\":false,\"cancelled\":false,\"completedExceptionally\":false},\"timeline\":[{\"eventName\":\"created\",\"durationInMicroSec\":\"0\",\"startTime\":\"2020-10-12T19:15:39.818Z\"},{\"eventName\":\"queued\",\"durationInMicroSec\":\"124000\",\"startTime\":\"2020-10-12T19:15:39.818Z\"},{\"eventName\":\"pipelined\",\"durationInMicroSec\":\"2000\",\"startTime\":\"2020-10-12T19:15:39.942Z\"},{\"eventName\":\"transitTime\",\"durationInMicroSec\":\"5023000\",\"startTime\":\"2020-10-12T19:15:39.944Z\"},{\"eventName\":\"received\",\"durationInMicroSec\":\"0\",\"startTime\":null},{\"eventName\":\"completed\",\"durationInMicroSec\":\"0\",\"startTime\":null}]})","transportRequestTimeline":null},"requestResponseTime":1602530144.968000000}],"supplementalResponseStatisticsList":[],"addressResolutionStatistics":{"4f53f057-0cbf-11eb-87bb-3db17e10aa15":{"startTime":1602530137.412000000,"endTime":1602530137.444000000},"4a72daa0-0cbf-11eb-87bb-3db17e10aa15":{"startTime":1602530129.226000000,"endTime":1602530129.474000000},"4c0f4ca2-0cbf-11eb-87bb-3db17e10aa15":{"startTime":1602530131.929000000,"endTime":1602530131.966000000},"4b2f9afb-0cbf-11eb-87bb-3dbClosing the client
17e10aa15":{"startTime":1602530130.463000000,"endTime":1602530130.490000000},"4ae80aa4-0cbf-11eb-87bb-3db17e10aa15":{"startTime":1602530129.994000000,"endTime":1602530130.019000000},"509b1659-0cbf-11eb-87bb-3db17e10aa15":{"startTime":1602530139.556000000,"endTime":1602530139.591000000},"4b6291e0-0cbf-11eb-87bb-3db17e10aa15":{"startTime":1602530130.797000000,"endTime":1602530130.827000000},"4b192cc9-0cbf-11eb-87bb-3db17e10aa15":{"startTime":1602530130.316000000,"endTime":1602530130.345000000}},"regionsContacted":["https://test-ut-cosmos-westus.documents.azure.com:443/"],"retryContext":{"retryCount":3,"statusAndSubStatusCodes":[[410,0],[410,0],[410,0],[408,0]],"retryLatency":14508},"metadataDiagnosticsContext":{"metadataDiagnosticList":[{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"12 Oct 2020 19:15:29.226","endTimeUTC":"12 Oct 2020 19:15:29.473","durationinMS":247},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"12 Oct 2020 19:15:29.994","endTimeUTC":"12 Oct 2020 19:15:30.019","durationinMS":25},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"12 Oct 2020 19:15:30.316","endTimeUTC":"12 Oct 2020 19:15:30.345","durationinMS":29},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"12 Oct 2020 19:15:30.463","endTimeUTC":"12 Oct 2020 19:15:30.490","durationinMS":27},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"12 Oct 2020 19:15:30.797","endTimeUTC":"12 Oct 2020 19:15:30.827","durationinMS":30},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"12 Oct 2020 19:15:31.929","endTimeUTC":"12 Oct 2020 19:15:31.966","durationinMS":37},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"12 Oct 2020 19:15:37.412","endTimeUTC":"12 Oct 2020 19:15:37.444","durationinMS":32},{"metaDataName":"MASTER_ADDRESS_LOOK_UP","startTimeUTC":"12 Oct 2020 19:15:39.556","endTimeUTC":"12 Oct 2020 19:15:39.591","durationinMS":35}]},"serializationDiagnosticsContext":{"serializationDiagnosticsList":null},"gatewayStatistics":null,"systemInformation":{"usedMemory":"143353 KB","availableMemory":"7313415 KB","processCpuLoad":"16.772838167525077 %","systemCpuLoad":"33.33333333333333 %"}}, causeInfo=null, responseHeaders={}, requestHeaders=[Accept=application/json, x-ms-date=Mon, 12 Oct 2020 19:15:29 GMT, x-ms-client-retry-attempt-count=3, x-ms-remaining-time-in-ms-on-client=20000, x-ms-consistency-level=Strong]}

@kushagraThapar , is there an update for this?

@shirleyy0812  - yes, we changed the way cosmos client initializes in the new version of the SDKs. Basically we are now failing fast. It seems like you have some networking issues on your end, which is causing this issue. Since your code is failing on the CosmosClient initialization itself.
Is it happening all the time ?
Can you please share the sample repro code ?
Are you connecting to cosmos account cross-region ?

Is it happening all the time ?
Yes, it is happening all the time when using 4.2.0 or 4.6.0.

Can you please share the sample repro code ?

import com.azure.cosmos.ConsistencyLevel;
import com.azure.cosmos.CosmosClient;
import com.azure.cosmos.CosmosClientBuilder;
import com.azure.cosmos.CosmosContainer;
import com.azure.cosmos.CosmosDatabase;
import com.azure.cosmos.models.CosmosContainerProperties;
import com.azure.cosmos.models.CosmosContainerResponse;
import com.azure.cosmos.models.CosmosDatabaseResponse;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class SyncMain {

    private CosmosClient client;

    private final String databaseName = "unifiedtopology";
    private final String containerName = "TopologyRecord";

    private CosmosDatabase database;
    private CosmosContainer container;

    public void close() {
        client.close();
    }

    /**
     * Run a Hello CosmosDB console application.
     *
     * @param args command line args.
     */
    public static void main(String[] args) {
        SyncMain p = new SyncMain();

        try {
            p.getStartedDemo();
            System.out.println("Demo complete, please hold while resources are released");
        } catch (Exception e) {
            e.printStackTrace();
            System.err.println(String.format("Cosmos getStarted failed with %s", e));
        } finally {
            System.out.println("Closing the client");
            p.close();
        }
        System.exit(0);
    }

    private void getStartedDemo() throws Exception {
        DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy/MM/dd HH:mm:ss");
        System.out.println("Using Azure Cosmos DB endpoint: " + AccountSettings.HOST);

        client = new CosmosClientBuilder()
            .endpoint(AccountSettings.HOST)
            .key(AccountSettings.MASTER_KEY)
            .consistencyLevel(ConsistencyLevel.EVENTUAL)
            .buildClient();
        System.out.println("Connected to Cosmos Client");

        //  </CreateSyncClient>
        System.out.println(dateTimeFormatter.format(LocalDateTime.now()));
        try  {
            createDatabaseIfNotExists();
        } catch (Exception exception) {
            System.out.println(dateTimeFormatter.format(LocalDateTime.now()));
            throw exception;
        }

        System.out.println(dateTimeFormatter.format(LocalDateTime.now()));
        createContainerIfNotExists();

    }

    private void createDatabaseIfNotExists() throws Exception {
        System.out.println("Create database " + databaseName + " if not exists.");

        CosmosDatabaseResponse databaseResponse = client.createDatabaseIfNotExists(databaseName);
        database = client.getDatabase(databaseResponse.getProperties().getId());

        System.out.println("Checking database " + database.getId() + " completed!\n");
    }

    private void createContainerIfNotExists() throws Exception {
        System.out.println("Create container " + containerName + " if not exists.");

        CosmosContainerProperties containerProperties =
            new CosmosContainerProperties(containerName, "/lastName");

        CosmosContainerResponse cosmosContainerResponse = database.createContainerIfNotExists(containerProperties);
        container = database.getContainer(cosmosContainerResponse.getProperties().getId());

        System.out.println("Checking container " + container.getId() + " completed!\n");
    }
}

This is the full script I'm testing.

Are you connecting to cosmos account cross-region ?
I'm connecting in California and the cosmos DB is in West US, so I don't think it is cross-region.

Interestingly, if I use 4.0.0-preview.2 everything works fine, so I'm not sure whether it is  I totally agree with you on using the latest version, and that's the reason I'm opening this ticket. Do you know whether the dependency version may impact this? e.g., netty library version?

@shirleyy0812  - I just ran this script with one of my cosmos accounts and I it worked fine. I am also using an account in West US 2 and I am connecting from Seattle.
Netty version will certainly affect the timeouts, what are your maven dependencies ?
Here are the logs:
Using Azure Cosmos DB endpoint: https://blah
2020-10-23 11:10:26,490       [main] INFO  com.azure.cosmos.implementation.RxDocumentClientImpl - Initializing DocumentClient [0] with serviceEndpoint [https://blah], connectionPolicy [ConnectionPolicy{requestTimeout=PT5S, connectionMode=DIRECT, maxConnectionPoolSize=1000, idleHttpConnectionTimeout=null, idleTcpConnectionTimeout=PT0S, userAgentSuffix='', throttlingRetryOptions=RetryOptions{maxRetryAttemptsOnThrottledRequests=9, maxRetryWaitTime=PT30S}, endpointDiscoveryEnabled=true, preferredRegions=null, multipleWriteRegionsEnabled=true, proxyType=null, inetSocketProxyAddress=null, readRequestsFallbackEnabled=true, connectTimeout=PT5S, idleEndpointTimeout=PT1H, maxConnectionsPerEndpoint=130, maxRequestsPerConnection=30, tcpConnectionEndpointRediscoveryEnabled=false}], consistencyLevel [Eventual], directModeProtocol [Tcp]
2020-10-23 11:10:26,738       [parallel-1] INFO  com.azure.cosmos.implementation.RxDocumentClientImpl - Getting database account endpoint from https://blah/
2020-10-23 11:10:27,697       [main] INFO  com.azure.cosmos.implementation.directconnectivity.rntbd.RntbdServiceEndpoint$RntbdEndpointMonitoringProvider - Starting RntbdClientChannelPoolMonitoringProvider ...
Connected to Cosmos Client
2020/10/23 11:10:27
Create database unifiedtopology if not exists.
Checking database unifiedtopology completed!

2020/10/23 11:10:28
Create container TopologyRecord if not exists.
Checking container TopologyRecord completed!

Demo complete, please hold while resources are released
Closing the client
2020-10-23 11:10:29,165       [main] INFO  com.azure.cosmos.implementation.RxDocumentClientImpl - Attempting to close client 0
2020-10-23 11:10:29,165       [main] INFO  com.azure.cosmos.implementation.RxDocumentClientImpl - Shutting down ...
2020-10-23 11:10:29,166       [main] INFO  com.azure.cosmos.implementation.RxDocumentClientImpl - Closing Global Endpoint Manager ...
2020-10-23 11:10:29,166       [main] INFO  com.azure.cosmos.implementation.RxDocumentClientImpl - Closing StoreClientFactory ...
2020-10-23 11:10:29,167       [main] INFO  com.azure.cosmos.implementation.directconnectivity.rntbd.RntbdServiceEndpoint$RntbdEndpointMonitoringProvider - Shutting down RntbdClientChannelPoolMonitoringProvider ...
2020-10-23 11:10:29,171       [main] INFO  com.azure.cosmos.implementation.RxDocumentClientImpl - Shutting down reactorHttpClient ...
2020-10-23 11:10:29,174       [main] INFO  com.azure.cosmos.implementation.RxDocumentClientImpl - Shutting down CpuMonitor ...
2020-10-23 11:10:29,175       [main] INFO  com.azure.cosmos.implementation.RxDocumentClientImpl - Shutting down completed.

Process finished with exit code 0

@kushagraThapar , Thanks for running the test. I have attached dependency tree of the netty versions (netty_versions.txt). It looks like some of them are 4.1.51.Final while the others are 4.1.49.Final. Is there a suggested version from your perspective?

@kushagraThapar The issue is resolved.
The key error is the following NoSuchMethodError due to dependency version does not match.
With 4.6.0, after we update the dependency version according to https://mvnrepository.com/artifact/com.azure/azure-cosmos/4.6.0, it is resolved.
To make the debugging experience smoother, I suggest you update the demo example jar with

The key error message does not show up with the sample program. Please consider add the following lines to the sample code to help reveal the key error in the main function:

org.apache.log4j.Logger.getRootLogger().setLevel(org.apache.log4j.Level.DEBUG);

Do major version bump when you have backward incompatible API changes.  Also, make the sample program with 4.6.0 or 4.7.0 + since the API changes significantly and the sample code does not work with 4.6.0+

thank you for the consideration.
1826 [parallel-1] ERROR reactor.core.scheduler.Schedulers  - Scheduler worker in group main failed with an uncaught exception
java.lang.NoSuchMethodError: reactor.netty.http.client.HttpClient.responseTimeout(Ljava/time/Duration;)Lreactor/netty/http/client/HttpClient

Thanks @jeffpeiyt @shirleyy0812 for the suggestions, I have a PR for updating the samples here - https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples/pull/19
Closing this issue now.

@kushagraThapar: What is the fix for this issue? I'm having the same NoSuchMethodError and then timeout after 120 seconds
java.lang.NoSuchMethodError: 'reactor.util.retry.Retry reactor.util.retry.Retry.withThrowable(java.util.function.Function)'
java.lang.IllegalStateException: Timeout on blocking read for 120000 MILLISECONDS
mvn dependency tree:
[INFO] \- com.azure:azure-spring-data-cosmos:jar:3.3.0:compile
[INFO]    \- com.azure:azure-cosmos:jar:4.11.0:compile
[INFO]       +- com.azure:azure-core:jar:1.12.0:compile
[INFO]       |  \- io.netty:netty-tcnative-boringssl-static:jar:2.0.31.Final:compile
[INFO]       \- com.azure:azure-core-http-netty:jar:1.7.1:compile
[INFO]          +- io.netty:netty-handler:jar:4.1.50.Final:compile
[INFO]          |  +- io.netty:netty-common:jar:4.1.50.Final:compile
[INFO]          |  +- io.netty:netty-resolver:jar:4.1.50.Final:compile
[INFO]          |  +- io.netty:netty-transport:jar:4.1.50.Final:compile
[INFO]          |  \- io.netty:netty-codec:jar:4.1.50.Final:compile
[INFO]          +- io.netty:netty-handler-proxy:jar:4.1.50.Final:compile
[INFO]          |  \- io.netty:netty-codec-socks:jar:4.1.50.Final:compile
[INFO]          +- io.netty:netty-buffer:jar:4.1.50.Final:compile
[INFO]          +- io.netty:netty-codec-http:jar:4.1.50.Final:compile
[INFO]          +- io.netty:netty-codec-http2:jar:4.1.50.Final:compile
[INFO]          +- io.netty:netty-transport-native-unix-common:jar:4.1.50.Final:compile
[INFO]          +- io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.50.Final:compile
[INFO]          \- io.netty:netty-transport-native-kqueue:jar:osx-x86_64:4.1.50.Final:compile

@ranjithv - seems like you are getting dependency conflict on reactor-core library.. Since you are getting NoSuchMethodError on reactor-util package. Check reactor-core dependency coming from spring-boot and from cosmos, make sure they are the same.

for some reason, I had to add these dependencies explicitly:
<dependency>
      <groupId>io.projectreactor</groupId>
      <artifactId>reactor-core</artifactId>
      <version>3.3.12.RELEASE</version>
    </dependency>
    <dependency>
      <groupId>io.projectreactor.netty</groupId>
      <artifactId>reactor-netty</artifactId>
      <version>0.9.15.RELEASE</version>
    </dependency>

It happened to me (cosmos v 4.11) but only in the Azure environment, locally it ran just fine with java 8. In the end what worked was to change the java runtime to 11 in the Azure function app (was using 8).
One other thing I noticed in Azure DevOps pipeline was that the netty-tcnative-boringssl-static dependency came in 2 versions, from reactor-core (cosmos db) and jakarta (jackson) so maybe there was a conflict. But locally in the dependency tree I only saw the netty version from the cosmos dependency.


Removing the term preview from the content

Multi-line logging is no longer a preview feature.

@bwren

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Want to add a music kit

Project title
Music Kit
Project Description
This is a music kit comprising tabla, guitar and drum
Stack:
And in order to tick the check box just but x inside them for example - [x] like this. Please delete options that are not relevant.

[x] Html
[x] CSS
[x] JavaScript

Assigned to u @soumali28


Support addressing classified Jar via coordinates

For example, to patch io.netty:netty-transport-native-epoll with classifier linux-x86_64 you have to use the file name:
module("netty-transport-native-epoll-4.1.87.Final-linux-x86_64.jar", "io.netty.transport.epoll.linux.x86_64")

It should be possible to do it like this:
module("io.netty:netty-transport-native-epoll|linux-x86_64", "io.netty.transport.epoll.linux.x86_64")

It should be possible to do it like this:

Don't forget a version for version-catalog accessor usage :-)
Maybe a viable alternative: module("io.netty:netty-transport-native-epoll", "io.netty.transport.epoll.linux.x86_64") { classifier = "linux-x86_64" } or something like that.

The feature is implemented with the notation proposed in the description. Follwoing the same "identifier" notation used in java-module-dependencies.
Generally, I would agree that we do to much "special" strings instead of a nicer DSL. For now, I want to stay consistent with things we already have in this and the other GradleX Modules Plugins.
Maybe something to revisit if we should do a 2.x with a reworked DSL.


Revamping IPC Xnet messages howto and demo

Issue type
Feature Request
Have you reproduced the bug with the latest dev version?
No
Version
n/a
Custom code
No
OS platform and distribution
No response
Describe the issue
We need a howto - recorded demo is a bonus - which would demonstrate L2-to-L2 IPC communication akin to https://youtu.be/qPDYOa8Tnp0?list=PLxN6L-h3wFfse7XdcdH9dDuhQwe-W6zWt&t=281 with our current stack.
Repro steps
Seamless Ln-Ln (n>1) subnet-to-subnet addressing and value (message) transfers as in https://youtu.be/qPDYOa8Tnp0?list=PLxN6L-h3wFfse7XdcdH9dDuhQwe-W6zWt&t=281 with routing along the IPC tree. L2-(L1)-L2 suffices, or L3-(L2)-L3.
Relevant log output
No response

Some raw thoughts from elsewhere:

At a basic, demoable level, this isn't much more than chaining a sequence of those calls with a simple blocking state machine.
Should be doable, with or without adding an explicit CLI for multi-hop transfer. The caveat, of course, is that whoever's sending the transfer needs access to an RPC on every intermediate subnet (though not the terminal subnet, though for demo purposes they would need it to show the balance), i.e. it's not general in the "hands-off, arbitrary depth" sense.

⬆ is actually in line with Guy's Lisbon presentation and the regional subnets (Schweiz) where the transfer should happen in a subnet where both parties had an account, rather than someone's "home" subnet.

That said, following the disabling of L3+ support, the RPC issue is hardly an issue (everyone already has access to L1 RPC). I think the question really hinges on what the hierarchy will look like.

If we're focusing on application-specific L2s (with a hierarchy below them or not), then it doesn't matter much. Having the L1 RPC is enough to do cross-application transfers and what happens inside each application is its own microcosm.
This doesn't really work for the banking system scenario, which also doesn't require heavy L2 customisation.


Can't create WinUI3 project

Describe the bug
I tried with 1.5.5 and 1.6 experimental2, followed every step of this : https://learn.microsoft.com/fr-fr/windows/apps/windows-app-sdk/set-up-your-development-environment?tabs=cs-vs-community%2Ccpp-vs-community%2Cvs-2022-17-1-a%2Cvs-2022-17-1-b
Following ideas from there:
https://github.com/microsoft/microsoft-ui-xaml/issues/6767
Installed almost every versions of .Net, checked everything with SDK in it in VS installer.
I also tried Visual studio 2022 17.10.4 on 2 computers.
I don't know what to do next, it's just broken... :(
Can someone help me?
Steps to reproduce the bug
See screenshots
Expected behavior
No response
Screenshots

NuGet package version
WinUI 3 - Windows App SDK 1.6 Experimental 2: 1.6.240701003-experimental2
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response

@Darkskills127 Unfortunately we have not been able to replicate this ourselves. Could you follow the instructions on this page for filing Visual Studio feedback? That will allow logs from Visual Studio to be collected which may shed some light on what is causing this issue for you.


Update included hook for nested addons

This PR fixes the included hook so emberx-file-input can be used as a dependency of another addon.

This looks good to me. Thanks for the PR!


Keycloak Syncer Issue - Syncer failed to sync users: SyntaxError: Unexpected token < in JSON at position 1

I have launched keycloak  "quay.io/keycloak/keycloak:legacy", postgres and casdoor "casbin/casdoor-all-in-one" with docker image, and tried to sync users with keycloak syncer in casdoor.
I followed this doc to config keycloak syncer - https://casdoor.org/docs/syncer/Keycloak#keycloak-syncer,
and got below error message when triggering syncer
Syncer failed to sync users: SyntaxError: Unexpected token < in JSON at position 1

@seriouszyx

@billyhu We fixed the dataSource for PostgreSQL and some detailed problems where the Keycloak table fields in the PostgrSQL are all lowercase. plz review https://github.com/casdoor/casdoor/pull/886

Thanks @seriouszyx  and @hsluoyz.
I have tried to sync users with the latest image of casdoor,  there's no error message now, while it seems users are still not inserted into the table casdoor.user, so we cannot see users list on the page. could you please have a check on this issue?

sure, thanks.