I have an azure function running since 5-6 months. I have been facing some function related issues for past 1 month and hence I upgraded the function runtime version from ~2 to ~3.
This function calls Cosmos DB SDK methods to read and write data into one of our collection. Everything was working fine for me in cosmos DB context till yesterday. Yesterday night I saw error in Application insights while writing data into Cosmos DB. I made the runtime version change yesterday. So, can that be the reason for these exceptions and if yes what is the solution for same?
Could you please assist.
Exception : <InsertTelemetryRecordAsync>d__8MoveNext -> Service is currently unavailable.
ActivityId: 050e4739-59b6-4950-9cbd-2f9d9e586a2e,
RequestStartTime: 2020-06-23T20:24:10.4681781Z, RequestEndTime: 2020-06-23T20:24:40.4814353Z, Number of regions attempted:1
ResponseTime: 2020-06-23T20:24:10.4753410Z, StoreResult: StorePhysicalAddress: rntbd://###.documents.azure.com:14499/apps/##########################/services/722ad889-61ed-42bf-9283-0972d3b5dbaa/partitions/######################/replicas/132334670214786020p/, LSN: -1, GlobalCommittedLsn: -1, PartitionKeyRangeId: , IsValid: True, StatusCode: 410, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: , UsingLocalLSN: False, TransportException: A client transport error occurred: The transport client failed to open a connection. See the inner exception for details. (Time: 2020-06-23T20:24:10.4750214Z, activity ID: 050e4739-59b6-4950-9cbd-2f9d9e586a2e, error code: ChannelOpenFailed [0x0001], base error: HRESULT 0x8007000E, URI: rntbd://###.documents.azure.com:14499/, connection: 10.0.6.202:56699 -> 13.66.138.6:14499, payload sent: False, CPU history: not available, CPU count: 4), ResourceType: Document, OperationType: Create
ResponseTime: 2020-06-23T20:24:10.4890898Z, StoreResult: StorePhysicalAddress: rntbd://###.documents.azure.com:14499/apps/##########################/services/722ad889-61ed-42bf-9283-0972d3b5dbaa/partitions/######################/replicas/132334670214786020p/, LSN: -1, GlobalCommittedLsn: -1, PartitionKeyRangeId: , IsValid: True, StatusCode: 410, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: , UsingLocalLSN: False, TransportException: A client transport error occurred: The transport client failed to open a connection. See the inner exception for details. (Time: 2020-06-23T20:24:10.4887810Z, activity ID: 050e4739-59b6-4950-9cbd-2f9d9e586a2e, error code: ChannelOpenFailed [0x0001], base error: HRESULT 0x8007000E, URI: rntbd://###.documents.azure.com:14499/, connection: 10.0.6.202:56700 -> 13.66.138.6:14499, payload sent: False, CPU history: not available, CPU count: 4), ResourceType: Document, OperationType: Create
ResponseTime: 2020-06-23T20:24:11.5397331Z, StoreResult: StorePhysicalAddress: rntbd://###.documents.azure.com:14499/apps/##########################/services/722ad889-61ed-42bf-9283-0972d3b5dbaa/partitions/######################/replicas/132334670214786020p/, LSN: -1, GlobalCommittedLsn: -1, PartitionKeyRangeId: , IsValid: True, StatusCode: 410, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: , UsingLocalLSN: False, TransportException: A client transport error occurred: The transport client failed to open a connection. See the inner exception for details. (Time: 2020-06-23T20:24:11.5392703Z, activity ID: 050e4739-59b6-4950-9cbd-2f9d9e586a2e, error code: ChannelOpenFailed [0x0001], base error: HRESULT 0x8007000E, URI: rntbd://###.documents.azure.com:14499/, connection: 10.0.6.202:56702 -> 13.66.138.6:14499, payload sent: False, CPU history: not available, CPU count: 4), ResourceType: Document, OperationType: Create
ResponseTime: 2020-06-23T20:24:13.5622675Z, StoreResult: StorePhysicalAddress: rntbd://###.documents.azure.com:14499/apps/##########################/services/722ad889-61ed-42bf-9283-0972d3b5dbaa/partitions/######################/replicas/132334670214786020p/, LSN: -1, GlobalCommittedLsn: -1, PartitionKeyRangeId: , IsValid: True, StatusCode: 410, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: , UsingLocalLSN: False, TransportException: A client transport error occurred: The transport client failed to open a connection. See the inner exception for details. (Time: 2020-06-23T20:24:13.5619276Z, activity ID: 050e4739-59b6-4950-9cbd-2f9d9e586a2e, error code: ChannelOpenFailed [0x0001], base error: HRESULT 0x8007000E, URI: rntbd://###.documents.azure.com:14499/, connection: 10.0.6.202:56709 -> 13.66.138.6:14499, payload sent: False, CPU history: not available, CPU count: 4), ResourceType: Document, OperationType: Create
ResponseTime: 2020-06-23T20:24:17.6688378Z, StoreResult: StorePhysicalAddress: rntbd://###.documents.azure.com:14499/apps/##########################/services/722ad889-61ed-42bf-9283-0972d3b5dbaa/partitions/######################/replicas/132334670214786020p/, LSN: -1, GlobalCommittedLsn: -1, PartitionKeyRangeId: , IsValid: True, StatusCode: 410, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: , UsingLocalLSN: False, TransportException: A client transport error occurred: The transport client failed to open a connection. See the inner exception for details. (Time: 2020-06-23T20:24:17.6685132Z, activity ID: 050e4739-59b6-4950-9cbd-2f9d9e586a2e, error code: ChannelOpenFailed [0x0001], base error: HRESULT 0x8007000E, URI: rntbd://###.documents.azure.com:14499/, connection: 10.0.6.202:56723 -> 13.66.138.6:14499, payload sent: False, CPU history: not available, CPU count: 4), ResourceType: Document, OperationType: Create
ResponseTime: 2020-06-23T20:24:25.6827394Z, StoreResult: StorePhysicalAddress: rntbd://###.documents.azure.com:14499/apps/##########################/services/722ad889-61ed-42bf-9283-0972d3b5dbaa/partitions/######################/replicas/132334670214786020p/, LSN: -1, GlobalCommittedLsn: -1, PartitionKeyRangeId: , IsValid: True, StatusCode: 410, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: , UsingLocalLSN: False, TransportException: A client transport error occurred: The transport client failed to open a connection. See the inner exception for details. (Time: 2020-06-23T20:24:25.6824251Z, activity ID: 050e4739-59b6-4950-9cbd-2f9d9e586a2e, error code: ChannelOpenFailed [0x0001], base error: HRESULT 0x8007000E, URI: rntbd://###.documents.azure.com:14499/, connection: 10.0.6.202:56751 -> 13.66.138.6:14499, payload sent: False, CPU history: not available, CPU count: 4), ResourceType: Document, OperationType: Create
ResponseTime: 2020-06-23T20:24:40.4814353Z, StoreResult: StorePhysicalAddress: rntbd://###.documents.azure.com:14499/apps/##########################/services/722ad889-61ed-42bf-9283-0972d3b5dbaa/partitions/######################/replicas/132334670214786020p/, LSN: -1, GlobalCommittedLsn: -1, PartitionKeyRangeId: , IsValid: True, StatusCode: 410, SubStatusCode: 0, RequestCharge: 0, ItemLSN: -1, SessionToken: , UsingLocalLSN: False, TransportException: A client transport error occurred: The transport client failed to open a connection. See the inner exception for details. (Time: 2020-06-23T20:24:40.4811148Z, activity ID: 050e4739-59b6-4950-9cbd-2f9d9e586a2e, error code: ChannelOpenFailed [0x0001], base error: HRESULT 0x8007000E, URI: rntbd://###.documents.azure.com:14499/, connection: 10.0.6.202:56808 -> 13.66.138.6:14499, payload sent: False, CPU history: not available, CPU count: 4), ResourceType: Document, OperationType: Create
AddressResolution - StartTime: 2020-06-23T20:24:10.4771769Z, EndTime: 2020-06-23T20:24:10.4831901Z, TargetEndpoint: https://###.documents.azure.com//addresses/?$resolveFor=dbs%2fr58iAA%3d%3d%2fcolls%2fr58iAPMtH8U%3d%2fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0
AddressResolution - StartTime: 2020-06-23T20:24:11.4997753Z, EndTime: 2020-06-23T20:24:11.5287322Z, TargetEndpoint: https://###.documents.azure.com//addresses/?$resolveFor=dbs%2fr58iAA%3d%3d%2fcolls%2fr58iAPMtH8U%3d%2fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0
AddressResolution - StartTime: 2020-06-23T20:24:13.5467775Z, EndTime: 2020-06-23T20:24:13.5521201Z, TargetEndpoint: https://###.documents.azure.com//addresses/?$resolveFor=dbs%2fr58iAA%3d%3d%2fcolls%2fr58iAPMtH8U%3d%2fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0
AddressResolution - StartTime: 2020-06-23T20:24:17.5821591Z, EndTime: 2020-06-23T20:24:17.6627695Z, TargetEndpoint: https://###.documents.azure.com//addresses/?$resolveFor=dbs%2fr58iAA%3d%3d%2fcolls%2fr58iAPMtH8U%3d%2fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0
AddressResolution - StartTime: 2020-06-23T20:24:25.6715080Z, EndTime: 2020-06-23T20:24:25.6770017Z, TargetEndpoint: https://###.documents.azure.com//addresses/?$resolveFor=dbs%2fr58iAA%3d%3d%2fcolls%2fr58iAPMtH8U%3d%2fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0
AddressResolution - StartTime: 2020-06-23T20:24:40.4697252Z, EndTime: 2020-06-23T20:24:40.4751774Z, TargetEndpoint: https://###.documents.azure.com//addresses/?$resolveFor=dbs%2fr58iAA%3d%3d%2fcolls%2fr58iAPMtH8U%3d%2fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0
, Windows/10.0.14393 documentdb-netcore-sdk/2.9.4
User contributions licensed under CC BY-SA 3.0