- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Download the sample
Install Gremlin .NET (3.3.3) through Nuget
Run the sample (no code change needed)
The sample hangs (at CreateDatabaseIfNotExistsAsync() in InitializeAsync()), as it complains that none of the write regions are available for write. See log below.
Any log messages given by the failure
DocDBTrace Information: 0 : Current WriteEndpoints = (https://xxx-mms-westus.documents.azure.com/) ReadEndpoints = (https://xxx-mms-westus.documents.azure.com/)
DocDBTrace Information: 0 : Current WriteEndpoints = (https://xxx-mms-centralus.documents.azure.com/) ReadEndpoints = (https://xxx-mms-centralus.documents.azure.com/)
DocDBTrace Information: 0 : Current WriteEndpoints = (https://xxx-mms-ukwest.documents.azure.com/) ReadEndpoints = (https://xxx-mms-ukwest.documents.azure.com/)
DocDBTrace Information: 0 : ShouldRefreshEndpoints = False since most preferred location West US is not available for write.
DocDBTrace Information: 0 : ShouldRefreshEndpoints = False since most preferred location Central US is not available for write.
DocDBTrace Information: 0 : ShouldRefreshEndpoints = False since most preferred location UK West is not available for write.
DocDBTrace Information: 0 : TimerPool Created with minSupportedTimerDelayInSeconds = 1
DocDBTrace Information: 0 : RntbdConnectionDispenser: requestTimeoutInSeconds: 60, openTimeoutInSeconds: 5, timerValueInSeconds: 1
DocDBTrace Information: 0 : TimerPool Created with minSupportedTimerDelayInSeconds = 1
DocDBTrace Information: 0 : RntbdConnectionDispenser: requestTimeoutInSeconds: 60, openTimeoutInSeconds: 5, timerValueInSeconds: 1
DocDBTrace Information: 0 : TimerPool Created with minSupportedTimerDelayInSeconds = 1
DocDBTrace Information: 0 : RntbdConnectionDispenser: requestTimeoutInSeconds: 60, openTimeoutInSeconds: 5, timerValueInSeconds: 1
DocDBTrace Information: 0 : TimerPool Created with minSupportedTimerDelayInSeconds = 1
DocDBTrace Information: 0 : TimerPool Created with minSupportedTimerDelayInSeconds = 1
DocDBTrace Information: 0 : TimerPool Created with minSupportedTimerDelayInSeconds = 1
DocDBTrace Warning: 0 : Endpoint not reachable. Refresh cache and retry
DocDBTrace Information: 0 : Marking endpoint https://xxx-mms-centralus.documents.azure.com/ unavailable for read
DocDBTrace Information: 0 : Endpoint https://xxx-mms-centralus.documents.azure.com/ unavailable for operations Read present in unavailableEndpoints
DocDBTrace Information: 0 : Current WriteEndpoints = (https://xxx-mms-centralus.documents.azure.com/) ReadEndpoints = (https://xxx-mms-centralus.documents.azure.com/, https://gremlim-mms-centralus.documents.azure.com/)
DocDBTrace Information: 0 : Endpoint https://xxx-mms-centralus.documents.azure.com/ unavailable for Read added/updated to unavailableEndpoints with timestamp 09/26/2018 18:09:49
DocDBTrace Information: 0 : RefreshLocationAsync() refreshing locations
DocDBTrace Information: 0 : ShouldRefreshEndpoints = False since most preferred location Central US is not available for write.
DocDBTrace Warning: 0 : Endpoint not reachable. Refresh cache and retry
DocDBTrace Information: 0 : Marking endpoint https://xxx-mms-westus.documents.azure.com/ unavailable for read
DocDBTrace Information: 0 : Endpoint https://xxx-mms-centralus.documents.azure.com/ unavailable for operations Read present in unavailableEndpoints
DocDBTrace Information: 0 : Current WriteEndpoints = (https://xxx-mms-centralus.documents.azure.com/) ReadEndpoints = (https://gremlim-mms-centralus.documents.azure.com/, https://xxx-mms-centralus.documents.azure.com/)
DocDBTrace Information: 0 : Endpoint https://xxx-mms-westus.documents.azure.com/ unavailable for Read added/updated to unavailableEndpoints with timestamp 09/26/2018 18:09:51
DocDBTrace Information: 0 : RefreshLocationAsync() refreshing locations
DocDBTrace Information: 0 : ShouldRefreshEndpoints = False since most preferred location Central US is not available for write.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
The sample hangs (at CreateDatabaseIfNotExistsAsync() in InitializeAsync()), as it complains that none of the write regions are available for write. See log below.
Any log messages given by the failure
DocDBTrace Information: 0 : Current WriteEndpoints = (https://xxx-mms-westus.documents.azure.com/) ReadEndpoints = (https://xxx-mms-westus.documents.azure.com/) DocDBTrace Information: 0 : Current WriteEndpoints = (https://xxx-mms-centralus.documents.azure.com/) ReadEndpoints = (https://xxx-mms-centralus.documents.azure.com/) DocDBTrace Information: 0 : Current WriteEndpoints = (https://xxx-mms-ukwest.documents.azure.com/) ReadEndpoints = (https://xxx-mms-ukwest.documents.azure.com/) DocDBTrace Information: 0 : ShouldRefreshEndpoints = False since most preferred location West US is not available for write. DocDBTrace Information: 0 : ShouldRefreshEndpoints = False since most preferred location Central US is not available for write. DocDBTrace Information: 0 : ShouldRefreshEndpoints = False since most preferred location UK West is not available for write. DocDBTrace Information: 0 : TimerPool Created with minSupportedTimerDelayInSeconds = 1 DocDBTrace Information: 0 : RntbdConnectionDispenser: requestTimeoutInSeconds: 60, openTimeoutInSeconds: 5, timerValueInSeconds: 1 DocDBTrace Information: 0 : TimerPool Created with minSupportedTimerDelayInSeconds = 1 DocDBTrace Information: 0 : RntbdConnectionDispenser: requestTimeoutInSeconds: 60, openTimeoutInSeconds: 5, timerValueInSeconds: 1 DocDBTrace Information: 0 : TimerPool Created with minSupportedTimerDelayInSeconds = 1 DocDBTrace Information: 0 : RntbdConnectionDispenser: requestTimeoutInSeconds: 60, openTimeoutInSeconds: 5, timerValueInSeconds: 1 DocDBTrace Information: 0 : TimerPool Created with minSupportedTimerDelayInSeconds = 1 DocDBTrace Information: 0 : TimerPool Created with minSupportedTimerDelayInSeconds = 1 DocDBTrace Information: 0 : TimerPool Created with minSupportedTimerDelayInSeconds = 1 DocDBTrace Warning: 0 : Endpoint not reachable. Refresh cache and retry DocDBTrace Information: 0 : Marking endpoint https://xxx-mms-centralus.documents.azure.com/ unavailable for read DocDBTrace Information: 0 : Endpoint https://xxx-mms-centralus.documents.azure.com/ unavailable for operations Read present in unavailableEndpoints DocDBTrace Information: 0 : Current WriteEndpoints = (https://xxx-mms-centralus.documents.azure.com/) ReadEndpoints = (https://xxx-mms-centralus.documents.azure.com/, https://gremlim-mms-centralus.documents.azure.com/) DocDBTrace Information: 0 : Endpoint https://xxx-mms-centralus.documents.azure.com/ unavailable for Read added/updated to unavailableEndpoints with timestamp 09/26/2018 18:09:49 DocDBTrace Information: 0 : RefreshLocationAsync() refreshing locations DocDBTrace Information: 0 : ShouldRefreshEndpoints = False since most preferred location Central US is not available for write. DocDBTrace Warning: 0 : Endpoint not reachable. Refresh cache and retry DocDBTrace Information: 0 : Marking endpoint https://xxx-mms-westus.documents.azure.com/ unavailable for read DocDBTrace Information: 0 : Endpoint https://xxx-mms-centralus.documents.azure.com/ unavailable for operations Read present in unavailableEndpoints DocDBTrace Information: 0 : Current WriteEndpoints = (https://xxx-mms-centralus.documents.azure.com/) ReadEndpoints = (https://gremlim-mms-centralus.documents.azure.com/, https://xxx-mms-centralus.documents.azure.com/) DocDBTrace Information: 0 : Endpoint https://xxx-mms-westus.documents.azure.com/ unavailable for Read added/updated to unavailableEndpoints with timestamp 09/26/2018 18:09:51 DocDBTrace Information: 0 : RefreshLocationAsync() refreshing locations DocDBTrace Information: 0 : ShouldRefreshEndpoints = False since most preferred location Central US is not available for write.
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful