我正在尝试使用 URL ping 测试为我的一个 Web 应用程序设置可用性测试。问题是它不断失败并出现以下错误。该站点是公开可用的,当我只使用 IP 时,它会被解析并定向到正确的 url,但出现相同的错误(在测试中)。
尝试将 url 更改为 google/microsoft,可用性测试通过(当然)。
这是网络层问题还是其他问题?
System.Net.WebException: The server committed a protocol violation. Section=ResponseHeader Detail=CR must be followed by LF
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.ResponseReceived(IAsyncResult result)
------------------------
System.Exception: Failure
**** NOTE: This is not a real web request ****
1 primary requests, 0 dependant requests and 0 conditional rules failed