After a bit of load something goes wrong in the CosmosDB driver, we're getting a lot of TransportExpcetion. The TransportException type was introduced in Microsoft.Azure.DocumentDB.Core 2.2.0, but we did not see this exception before upgrading to 2.2.2. Version 2.2.1 works fine.
We have created our own package built with Microsoft.Azure.DocumentDB.Core 2.2.1 to get around this problem. We've had an initial chat with our MSFT contact and are trying to get the CosmosDB team involved.
We're interested if anyone else experience this problem.