2

我正在调用 Ws-Management 调用以与 Dell Server R620 上的 iDRAC 交互。因为,我使用的是 windows 机器,所以我为此目的调用 windows WinRM 命令。

命令:winrm e http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_PhysicalDiskView -u:[用户名] -p:[密码] -r:https:// [drac IP]/wsman -SkipCNCheck -SkipCACheck -encoding:utf-8 -a:basic

所以我间歇性地收到以下错误响应:


Message = WS-Management cannot process the request. The operation failed because of an HTTP error. The HTTP error (12152) is: The server returned an invalid or unrecognized response .

错误号:-2147023901 0x800703E3 由于线程退出或应用程序请求,I/O 操作已中止。


我检查了wireshark来监控网络并看到一致的帧检查序列错误错误,但这是间歇性的

有没有人经历过类似的事情。

我试图: 1. 在机器上禁用防火墙 2. 尝试多台机器执行相同的命令

4

1 回答 1

2

我设法通过禁用防病毒软件的请求过滤功能使其工作。例如,Avast 为 webShield 提供了一种称为 HTTPS 扫描的功能。此外,QUIC 扫描仪的功能几乎相同。

最后,我发现这个主题解决了我在目标系统上使用 Avast 的问题: https ://mikefrobbins.com/2012/06/21/welcome-to-powershell-hell/

于 2020-05-05T15:46:09.810 回答