==================================================
Win7 HTTPS Diagnose
Start Time: 周六 2026/04/11 22:53:11.72
Computer: WIN-TRUV54QT396
User: bibni
Host: tool.coisco.cn
HTTPS URL: https://tool.coisco.cn/client/health

HTTP URL: http://tool.coisco.cn/client/health

===== SYSTEM =====

Microsoft Windows [Version 6.1.7601]
Microsoft Windows NT 6.1.7601 Service Pack 1
PowerShell=2.0
.NET=v2.0.50727

===== DNS =====
Non-authoritative answer:

Server: public1.114dns.com
Address: 114.114.114.114

DNS request timed out.

timeout was 2 seconds.

Name: tool.coisco.cn
Addresses: 2409:8c20:bea1:5::a1

  112.3.31.154

DNS total ms = 2610

===== TCP 443 =====
TCP 443 connect ms = 283

===== TLS HANDSHAKE =====
TLS handshake ms = 359
Subject=CN=tool.coisco.cn
Issuer=CN=R13, O=Let's Encrypt, C=US
Thumbprint=96D33C96EDA5D6EDD2C81A352FCD875970F80BA1

===== HTTPS HEALTH =====
Exception setting "SecurityProtocol": "Cannot convert null to type "System.Net.
SecurityProtocolType" due to invalid enumeration values. Specify one of the fol
lowing enumeration values and try again. The possible enumeration values are "S
sl3, Tls"."
At line:1 char:35

  • tyProtocolType]::Tls12; $url='https://tool.coisco.cn/client/health'; $req=[Syst
    em.Net.HttpWebRequest]::Create($url); $req.Method='GET'; $req.Timeout=20000; $r
    eq.ReadWriteTimeout=20000; $sw=[System.Diagnostics.Stopwatch]::StartNew(); try
    { $resp=$req.GetResponse(); $sw.Stop(); 'HTTPS health total ms = ' + $sw.Elapse
    dMilliseconds; 'Status = ' + [int]$resp.StatusCode + ' ' + $resp.StatusDescript
    ion; $reader=New-Object System.IO.StreamReader($resp.GetResponseStream()); 'Bod
    y = ' + $reader.ReadToEnd(); $reader.Close(); $resp.Close() } catch [System.Net
    .WebException] { $sw.Stop(); 'HTTPS health failed after ms = ' + $sw.ElapsedMil
    liseconds; if ($_.Exception.Response) { $resp=$_.Exception.Response; 'Status =
    ' + [int]$resp.StatusCode + ' ' + $resp.StatusDescription; $reader=New-Object S
    ystem.IO.StreamReader($resp.GetResponseStream()); 'Body = ' + $reader.ReadToEnd
    (); $reader.Close(); $resp.Close() } else { $_.Exception.Message } } catch { $s
    w.Stop(); 'HTTPS health failed after ms = ' + $sw.ElapsedMilliseconds; $_.Excep
    tion.Message }

    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : PropertyAssignmentException

HTTPS health total ms = 7796
Status = 200 OK
Body = {"message":"Server is running","status":"UP","timestamp":1775919209765}

===== HTTP HEALTH =====
HTTP health total ms = 2524
Status = 200 OK
Body = {"message":"Server is running","status":"UP","timestamp":1775919213472}

===== HTTPS HEALTH x3 =====
Exception setting "SecurityProtocol": "Cannot convert null to type "System.Net.
SecurityProtocolType" due to invalid enumeration values. Specify one of the fol
lowing enumeration values and try again. The possible enumeration values are "S
sl3, Tls"."
At line:1 char:59

  • 1..3 | ForEach-Object { [System.Net.ServicePointManager]:: <<<< SecurityProto
    col = [System.Net.SecurityProtocolType]::Tls12; $url='https://tool.coisco.cn/cl
    ient/health'; $req=[System.Net.HttpWebRequest]::Create($url); $req.Method='GET'
    ; $req.Timeout=20000; $req.ReadWriteTimeout=20000; $sw=[System.Diagnostics.Stop
    watch]::StartNew(); try { $resp=$req.GetResponse(); $sw.Stop(); 'Run ' + $_ + '
    => ' + $sw.ElapsedMilliseconds + 'ms, Status=' + [int]$resp.StatusCode + ' ' +
    $resp.StatusDescription; $resp.Close() } catch [System.Net.WebException] { $sw
    .Stop(); if ($_.Exception.Response) { $resp=$_.Exception.Response; 'Run ' + $_
  • ' => FAIL after ' + $sw.ElapsedMilliseconds + 'ms, Status=' + [int]$resp.Stat
    usCode + ' ' + $resp.StatusDescription; $resp.Close() } else { 'Run ' + $_ + '
    => FAIL after ' + $sw.ElapsedMilliseconds + 'ms, Message=' + $_.Exception.Messa
    ge } } catch { $sw.Stop(); 'Run ' + $_ + ' => FAIL after ' + $sw.ElapsedMillise
    conds + 'ms, Message=' + $_.Exception.Message } }

    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : PropertyAssignmentException

^C

最后修改:2026 年 04 月 11 日
如果觉得我的文章对你有用,请随意赞赏