Azure CosmosDb returning HTTP 503 Service Unavailable in North Europe region

Benjamin Hubert 20 Reputation points
2025-04-01T09:33:04.0033333+00:00

We're getting this response, for one, but not both of our CosmosDb instances, and we didn't change any configuration or do anything
On twitter it looks like we're not the only ones experiencing this.

Response status code does not indicate success: ServiceUnavailable (503); 
Substatus: 20003; 
ActivityId: a03231d5-d54c-456c-b2de-e89745fb8eda; 
Reason: (GatewayStoreClient Request Timeout. Start Time UTC:04/01/2025 08:47:27; Total Duration:71498.5995 Ms; Request Timeout 65000 Ms; Http Client Timeout:65000 Ms; Activity id: a03231d5-d54c-456c-b2de-e89745fb8eda;);;
Diagnostics:
{
    "Summary": {
        "GatewayCalls": {
            "(0, 0)": 3
        }
    },
    "name": "Typed FeedIterator ReadNextAsync",
    "start datetime": "2025-04-01T08:47:27.506Z",
    "duration in milliseconds": 71499.3936,
    "data": {
        "Client Configuration": {
            "Client Created Time Utc": "2025-03-28T08:40:32.2657144Z",
            "MachineId": "hashedMachineName:1df7ca7c-586d-0397-4dec-a478ae389542",
            "NumberOfClientsCreated": 1,
            "NumberOfActiveClients": 1,
            "ConnectionMode": "Direct",
            "User Agent": "cosmos-netstandard-sdk/3.41.0|1|X64|Debian GNU Linux 12 bookworm |.NET 9.0.3|N|",
            "ConnectionConfig": {
                "gw": "(cps:50, urto:6, p:False, httpf: False)",
                "rntbd": "(cto: 5, icto: -1, mrpc: 30, mcpe: 65535, erd: True, pr: ReuseUnicastPort)",
                "other": "(ed:False, be:False)"
            },
            "ConsistencyConfig": "(consistency: NotSet, prgns:[], apprgn: )",
            "ProcessorCount": 4
        },
        "Query Correlated ActivityId": "cf2836c4-5ef0-4167-b2a3-79a7b1b6aa6c"
    },
    "children": [
        {
            "name": "Create Query Pipeline",
            "duration in milliseconds": 71498.9804,
            "children": [
                {
                    "name": "Get Container Properties",
                    "duration in milliseconds": 0.0111,
                    "children": [
                        {
                            "name": "Get Collection Cache",
                            "duration in milliseconds": 0.001
                        }
                    ]
                },
                {
                    "name": "Gateway QueryPlan",
                    "duration in milliseconds": 0.2964
                },
                {
                    "name": "Microsoft.Azure.Cosmos.Handlers.RequestInvokerHandler",
                    "duration in milliseconds": 71498.8013,
                    "children": [
                        {
                            "name": "Microsoft.Azure.Cosmos.Handlers.DiagnosticsHandler",
                            "duration in milliseconds": 71498.7859,
                            "data": {
                                "System Info": {
                                    "systemHistory": [
                                        {
                                            "dateUtc": "2025-04-01T08:47:40.9263828Z",
                                            "cpu": 2.955,
                                            "memory": 2285804.000,
                                            "threadInfo": {
                                                "isThreadStarving": "False",
                                                "threadWaitIntervalInMs": 0.0299,
                                                "availableThreads": 32766,
                                                "minThreads": 4,
                                                "maxThreads": 32767
                                            },
                                            "numberOfOpenTcpConnection": 6
                                        },
                                        {
                                            "dateUtc": "2025-04-01T08:47:50.9266061Z",
                                            "cpu": 2.686,
                                            "memory": 2284416.000,
                                            "threadInfo": {
                                                "isThreadStarving": "False",
                                                "threadWaitIntervalInMs": 0.0473,
                                                "availableThreads": 32766,
                                                "minThreads": 4,
                                                "maxThreads": 32767
                                            },
                                            "numberOfOpenTcpConnection": 6
                                        },
                                        {
                                            "dateUtc": "2025-04-01T08:48:00.9268307Z",
                                            "cpu": 1.889,
                                            "memory": 2279540.000,
                                            "threadInfo": {
                                                "isThreadStarving": "False",
                                                "threadWaitIntervalInMs": 0.0373,
                                                "availableThreads": 32766,
                                                "minThreads": 4,
                                                "maxThreads": 32767
                                            },
                                            "numberOfOpenTcpConnection": 6
                                        },
                                        {
                                            "dateUtc": "2025-04-01T08:48:10.9271160Z",
                                            "cpu": 3.072,
                                            "memory": 2274568.000,
                                            "threadInfo": {
                                                "isThreadStarving": "False",
                                                "threadWaitIntervalInMs": 0.0383,
                                                "availableThreads": 32766,
                                                "minThreads": 4,
                                                "maxThreads": 32767
                                            },
                                            "numberOfOpenTcpConnection": 6
                                        },
                                        {
                                            "dateUtc": "2025-04-01T08:48:20.9274187Z",
                                            "cpu": 1.886,
                                            "memory": 2274736.000,
                                            "threadInfo": {
                                                "isThreadStarving": "False",
                                                "threadWaitIntervalInMs": 0.0491,
                                                "availableThreads": 32766,
                                                "minThreads": 4,
                                                "maxThreads": 32767
                                            },
                                            "numberOfOpenTcpConnection": 6
                                        },
                                        {
                                            "dateUtc": "2025-04-01T08:48:30.9276561Z",
                                            "cpu": 2.695,
                                            "memory": 2302260.000,
                                            "threadInfo": {
                                                "isThreadStarving": "False",
                                                "threadWaitIntervalInMs": 0.0492,
                                                "availableThreads": 32766,
                                                "minThreads": 4,
                                                "maxThreads": 32767
                                            },
                                            "numberOfOpenTcpConnection": 6
                                        }
                                    ]
                                }
                            },
                            "children": [
                                {
                                    "name": "Microsoft.Azure.Cosmos.Handlers.TelemetryHandler",
                                    "duration in milliseconds": 71498.7795,
                                    "children": [
                                        {
                                            "name": "Microsoft.Azure.Cosmos.Handlers.RetryHandler",
                                            "duration in milliseconds": 71498.7758,
                                            "children": [
                                                {
                                                    "name": "Microsoft.Azure.Cosmos.Handlers.RouterHandler",
                                                    "duration in milliseconds": 71498.7496,
                                                    "children": [
                                                        {
                                                            "name": "Microsoft.Azure.Cosmos.Handlers.TransportHandler",
                                                            "duration in milliseconds": 71498.7468,
                                                            "children": [
                                                                {
                                                                    "name": "Microsoft.Azure.Cosmos.GatewayStoreModel Transport Request",
                                                                    "duration in milliseconds": 71498.6906,
                                                                    "data": {
                                                                        "Client Side Request Stats": {
                                                                            "Id": "AggregatedClientSideRequestStatistics",
                                                                            "ContactedReplicas": [],
                                                                            "RegionsContacted": [],
                                                                            "FailedReplicas": [],
                                                                            "AddressResolutionStatistics": [],
                                                                            "StoreResponseStatistics": [],
                                                                            "HttpResponseStats": [
                                                                                {
                                                                                    "StartTimeUTC": "2025-04-01T08:47:27.5068648Z",
                                                                                    "DurationInMs": 497.441,
                                                                                    "RequestUri": "https://OMITTED.documents.azure.com/dbs/OMITTED/colls/OMITTED/docs",
                                                                                    "ResourceType": "Document",
                                                                                    "HttpMethod": "POST",
                                                                                    "ActivityId": "a03231d5-d54c-456c-b2de-e89745fb8eda",
                                                                                    "ExceptionType": "System.Threading.Tasks.TaskCanceledException",
                                                                                    "ExceptionMessage": "A task was canceled."
                                                                                },
                                                                                {
                                                                                    "StartTimeUTC": "2025-04-01T08:47:28.0043483Z",
                                                                                    "DurationInMs": 4999.5161,
                                                                                    "RequestUri": "https://OMITTED.documents.azure.com/dbs/OMITTED/colls/OMITTED/docs",
                                                                                    "ResourceType": "Document",
                                                                                    "HttpMethod": "POST",
                                                                                    "ActivityId": "a03231d5-d54c-456c-b2de-e89745fb8eda",
                                                                                    "ExceptionType": "System.Threading.Tasks.TaskCanceledException",
                                                                                    "ExceptionMessage": "A task was canceled."
                                                                                },
                                                                                {
                                                                                    "StartTimeUTC": "2025-04-01T08:47:34.0038520Z",
                                                                                    "DurationInMs": 65001.568,
                                                                                    "RequestUri": "https://OMITTED.documents.azure.com/dbs/OMITTED/colls/OMITTED/docs",
                                                                                    "ResourceType": "Document",
                                                                                    "HttpMethod": "POST",
                                                                                    "ActivityId": "a03231d5-d54c-456c-b2de-e89745fb8eda",
                                                                                    "ExceptionType": "System.Threading.Tasks.TaskCanceledException",
                                                                                    "ExceptionMessage": "A task was canceled."
                                                                                }
                                                                            ]
                                                                        }
                                                                    }
                                                                }
                                                            ]
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    ]
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Query Response Serialization",
            "duration in milliseconds": 0.0138
        }
    ]
}
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,847 questions
{count} votes

Accepted answer
  1. Vijayalaxmi Kattimani 2,225 Reputation points Microsoft External Staff
    2025-04-02T09:06:42.64+00:00

    Hi Benjamin Hubert,

    Thank you so much for your response.

    I am glad to hear your issue has been resolved.

    Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution.

    Please click "Accept" the answer as original posters help the community find answers faster by identifying the correct answer.

    Issue: Azure CosmosDB returning HTTP 503 Service Unavailable in North Europe region.

    Resolution: As mentioned earlier, your databases went into an unavailable state due to the North Europe region outage. Our internal team mitigated this issue, which is why your database is now back online.

    I hope this has been helpful.

    Your feedback is important so please take a moment to accept answers. If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A! User's image

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer about the North Europe Region outage.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.