DocumentDb 模拟器不工作 - 服务不可用
DocumentDb Emulator not working - Service Unavailable
我在使用 DocumentDB Emulator (v. 1.11.136.2) 时遇到了一些问题。
我能够看到资源管理器 (https://localhost:8081/_explorer/index.html),但我无法使用资源管理器和 SDK 创建任何 Database\Collection(我尝试使用该页面提供的示例代码和我自己的代码)。
我总是得到:
{"readyState":4,"responseText":"{\"code\":\"ServiceUnavailable\",\"message\":\"Service is currently unavailable.\r\nActivityId: 9c9f56f8-91f9-4fad-b592-0c6bd5bbd300\"}","responseJSON":{"code":"ServiceUnavailable","message":"Service is currently unavailable.\r\nActivityId: 9c9f56f8-91f9-4fad-b592-0c6bd5bbd300"},
"status":503,
"statusText":"error"}
我是 运行 Windows 10. 我已经尝试重启电脑并重新安装 SDK\Emulator。
Microsoft 支持回答:
The failure is when the emulator tries to bring up the network stack.
We have seen this on some customer machines where 3rd network filter
drivers break some of the Windows networking APIs that we use.
Examples of these include drivers installed by Pulse Secure (or
Juniper network). I think we’ve also seen this type of failure with
some 3rd party antivirus products.
Typically uninstalling the 3rd party software should resolve the
issue.
为了解决这个问题,我必须在模拟器上执行 "Reset Data"。
这可能是由于从 DocumentDb 更新到 Cosmo Db 模拟器时出现的一些问题。
我尝试将 ConnectionMode 更改为 Gateway 作为
到
而且效果很好
我在使用 DocumentDB Emulator (v. 1.11.136.2) 时遇到了一些问题。 我能够看到资源管理器 (https://localhost:8081/_explorer/index.html),但我无法使用资源管理器和 SDK 创建任何 Database\Collection(我尝试使用该页面提供的示例代码和我自己的代码)。
我总是得到:
{"readyState":4,"responseText":"{\"code\":\"ServiceUnavailable\",\"message\":\"Service is currently unavailable.\r\nActivityId: 9c9f56f8-91f9-4fad-b592-0c6bd5bbd300\"}","responseJSON":{"code":"ServiceUnavailable","message":"Service is currently unavailable.\r\nActivityId: 9c9f56f8-91f9-4fad-b592-0c6bd5bbd300"},
"status":503,
"statusText":"error"}
我是 运行 Windows 10. 我已经尝试重启电脑并重新安装 SDK\Emulator。
Microsoft 支持回答:
The failure is when the emulator tries to bring up the network stack. We have seen this on some customer machines where 3rd network filter drivers break some of the Windows networking APIs that we use. Examples of these include drivers installed by Pulse Secure (or Juniper network). I think we’ve also seen this type of failure with some 3rd party antivirus products.
Typically uninstalling the 3rd party software should resolve the issue.
为了解决这个问题,我必须在模拟器上执行 "Reset Data"。 这可能是由于从 DocumentDb 更新到 Cosmo Db 模拟器时出现的一些问题。
我尝试将 ConnectionMode 更改为 Gateway 作为
到
而且效果很好