按照this中的说明,通过访问Jenkins URL来尝试获取Jenkins节点是否被拒绝的详细信息。使用以下代码获取详细信息
using (webClient wc=new webClient()){
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
client.UseDefaultCredentials = true;
var s = wc.DownloadString(url);
}
获取错误 431请求标头文件太大