You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I receive a 503 service unavailable error when trying to write to the emulator service. I can access the service through the web browser explorer. Even attempting to upload a document through the explorer results in an error.
Actual behavior Response status code does not indicate success: ServiceUnavailable (503); Substatus: 20003; ActivityId: 9f564e89-5fbf-4580-9892-85fd708a8806; Reason: (GatewayStoreClient Request Timeout. Start Time UTC:6/6/2024 3:20:50PM; Total Duration:71507.381 Ms; Request Timeout 65000 Ms; Http Client Timeout:65000 Ms; Activity id: 9f564e89-5fbf-4580-9892-85fd708a8806;);; Diagnostics:{"Summary":{"GatewayCalls":{"(0, 0)":3}},"name":"CreateItemAsync","start datetime":"2024-06-06T15:20:50.728Z","duration in milliseconds":71553.1605,"data":{"Client Configuration":{"Client Created Time Utc":"2024-06-06T15:20:24.4151100Z","MachineId":"hashedMachineName:4f3d5ecd-8ef4-6341-016f-5345526002d9","NumberOfClientsCreated":2,"NumberOfActiveClients":2,"ConnectionMode":"Gateway","User Agent":"cosmos-netstandard-sdk/3.38.1|2|X64|Darwin 23.5.0 Darwin Kernel Ve|.NET 7.0.13|N|F 00000010|","ConnectionConfig":{"gw":"(cps:50, urto:6, p:False, httpf: True)","rntbd":"(cto: 5, icto: -1, mrpc: 30, mcpe: 65535, erd: True, pr: ReuseUnicastPort)","other":"(ed:False, be:False)"},"ConsistencyConfig":"(consistency: NotSet, prgns:[], apprgn: )","ProcessorCount":12}},"children":[{"name":"ItemSerialize","duration in milliseconds":5.3417},{"name":"Get PkValue From Stream","duration in milliseconds":71531.2227,"children":[{"name":"Get Collection Cache","duration in milliseconds":0.0322,"children":[{"name":"Waiting for Initialization of client to complete","duration in milliseconds":0.0256}]},{"name":"Read Collection","duration in milliseconds":71509.2269,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2024-06-06T15:20:50.7493660Z","DurationInMs":501.921,"RequestUri":"https://172.17.0.2:8081/dbs/preapproved/colls/zipcodes","ResourceType":"Collection","HttpMethod":"GET","ActivityId":"9f564e89-5fbf-4580-9892-85fd708a8806","ExceptionType":"System.Threading.Tasks.TaskCanceledException","ExceptionMessage":"A task was canceled."},{"StartTimeUTC":"2024-06-06T15:20:51.2514600Z","DurationInMs":5001.176,"RequestUri":"https://172.17.0.2:8081/dbs/preapproved/colls/zipcodes","ResourceType":"Collection","HttpMethod":"GET","ActivityId":"9f564e89-5fbf-4580-9892-85fd708a8806","ExceptionType":"System.Threading.Tasks.TaskCanceledException","ExceptionMessage":"A task was canceled."},{"StartTimeUTC":"2024-06-06T15:20:57.2530940Z","DurationInMs":65003.487,"RequestUri":"https://172.17.0.2:8081/dbs/preapproved/colls/zipcodes","ResourceType":"Collection","HttpMethod":"GET","ActivityId":"9f564e89-5fbf-4580-9892-85fd708a8806","ExceptionType":"System.Threading.Tasks.TaskCanceledException","ExceptionMessage":"A task was canceled."}]}}}]}]}
Environment summary
SDK Version: 3.38.1
OS Version (MacOSX):
Additional context
Note the RequestURI above, https://172.17.0.2:8081/dbs/preapproved/colls/zipcodes. 172.17.0.2 does not exist. I've tried pinging that address and nothing is found. Its the emulator supposed to spin up services at that address?
The text was updated successfully, but these errors were encountered:
I receive a 503 service unavailable error when trying to write to the emulator service. I can access the service through the web browser explorer. Even attempting to upload a document through the explorer results in an error.
To Reproduce
Follow the steps here to create a service from the docker image.
https://learn.microsoft.com/en-us/azure/cosmos-db/how-to-develop-emulator?tabs=docker-linux%2Ccsharp&pivots=api-nosql
Expected behavior
Able to write to the container
Actual behavior
Response status code does not indicate success: ServiceUnavailable (503); Substatus: 20003; ActivityId: 9f564e89-5fbf-4580-9892-85fd708a8806; Reason: (GatewayStoreClient Request Timeout. Start Time UTC:6/6/2024 3:20:50PM; Total Duration:71507.381 Ms; Request Timeout 65000 Ms; Http Client Timeout:65000 Ms; Activity id: 9f564e89-5fbf-4580-9892-85fd708a8806;);; Diagnostics:{"Summary":{"GatewayCalls":{"(0, 0)":3}},"name":"CreateItemAsync","start datetime":"2024-06-06T15:20:50.728Z","duration in milliseconds":71553.1605,"data":{"Client Configuration":{"Client Created Time Utc":"2024-06-06T15:20:24.4151100Z","MachineId":"hashedMachineName:4f3d5ecd-8ef4-6341-016f-5345526002d9","NumberOfClientsCreated":2,"NumberOfActiveClients":2,"ConnectionMode":"Gateway","User Agent":"cosmos-netstandard-sdk/3.38.1|2|X64|Darwin 23.5.0 Darwin Kernel Ve|.NET 7.0.13|N|F 00000010|","ConnectionConfig":{"gw":"(cps:50, urto:6, p:False, httpf: True)","rntbd":"(cto: 5, icto: -1, mrpc: 30, mcpe: 65535, erd: True, pr: ReuseUnicastPort)","other":"(ed:False, be:False)"},"ConsistencyConfig":"(consistency: NotSet, prgns:[], apprgn: )","ProcessorCount":12}},"children":[{"name":"ItemSerialize","duration in milliseconds":5.3417},{"name":"Get PkValue From Stream","duration in milliseconds":71531.2227,"children":[{"name":"Get Collection Cache","duration in milliseconds":0.0322,"children":[{"name":"Waiting for Initialization of client to complete","duration in milliseconds":0.0256}]},{"name":"Read Collection","duration in milliseconds":71509.2269,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2024-06-06T15:20:50.7493660Z","DurationInMs":501.921,"RequestUri":"https://172.17.0.2:8081/dbs/preapproved/colls/zipcodes","ResourceType":"Collection","HttpMethod":"GET","ActivityId":"9f564e89-5fbf-4580-9892-85fd708a8806","ExceptionType":"System.Threading.Tasks.TaskCanceledException","ExceptionMessage":"A task was canceled."},{"StartTimeUTC":"2024-06-06T15:20:51.2514600Z","DurationInMs":5001.176,"RequestUri":"https://172.17.0.2:8081/dbs/preapproved/colls/zipcodes","ResourceType":"Collection","HttpMethod":"GET","ActivityId":"9f564e89-5fbf-4580-9892-85fd708a8806","ExceptionType":"System.Threading.Tasks.TaskCanceledException","ExceptionMessage":"A task was canceled."},{"StartTimeUTC":"2024-06-06T15:20:57.2530940Z","DurationInMs":65003.487,"RequestUri":"https://172.17.0.2:8081/dbs/preapproved/colls/zipcodes","ResourceType":"Collection","HttpMethod":"GET","ActivityId":"9f564e89-5fbf-4580-9892-85fd708a8806","ExceptionType":"System.Threading.Tasks.TaskCanceledException","ExceptionMessage":"A task was canceled."}]}}}]}]}
Environment summary
SDK Version: 3.38.1
OS Version (MacOSX):
Additional context
Note the RequestURI above, https://172.17.0.2:8081/dbs/preapproved/colls/zipcodes. 172.17.0.2 does not exist. I've tried pinging that address and nothing is found. Its the emulator supposed to spin up services at that address?
The text was updated successfully, but these errors were encountered: