Azure cosmosdb connection

Sachin Prajapati 1 Reputation point
2020-05-22T08:50:27.97+00:00

We are facing below connection issue with Azure cosmos DB,

Exception type : System.Net.Sockets.SocketException

Failed method : Gremlin.Net.Driver.WebSocketConnection+<ConnectAsync>d__4.MoveNext

Is this something happen due to low RUs in cosmos db ?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,437 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Yuji Masaoka 56 Reputation points
    2020-05-23T10:15:45.803+00:00

    The content of the error is a socket error. Therefore, it is unlikely that the low RU is the cause.
    How about confirming TCP socket communication?

    There is also a similar question on Stack Overflow.

    By default, Windows may hold this connection in this state for 240 seconds. There is a limit to how quickly OS can open new sockets. All this may lead to exception.
    System.Net.Sockets.SocketException

    1 person found this answer helpful.
    0 comments No comments