TCP服务端使用了TLS,服务端会验证客户端的证书,服务端多数报错跟头两条一样,有少数不明白的来请教各位。<br/>
2020/05/31 21:10:40 ReadString err: tls: first record does not look like a TLS handshake<br/>
2020/05/31 21:24:24 ReadString err: tls: client didn't provide a certificate<br/>
//这条信息正常情况下只有客户端在非正常关闭时才会出现,但这条不是我自己连接的,是否有人伪造了证书连接上了我的服务端?还是其它原因导致的错误?网上也没有详细的解答。<br/>
2020/05/31 22:59:50 ReadString err: read tcp 172.16.0.6:8000->208.91.109.50:62879: wsarecv: An existing connection was forcibly closed by the remote host.<br/>
2020/06/01 10:43:52 ReadString err: tls: first record does not look like a TLS handshake<br/>
2020/06/01 10:43:53 ReadString err: tls: first record does not look like a TLS handshake<br/>
2020/06/01 10:43:53 ReadString err: tls: first record does not look like a TLS handshake<br/>
//这条连着上几条,也很可疑。<br/>
2020/06/01 10:43:59 ReadString err: unexpected EOF<br/>
2020/06/01 10:44:13 ReadString err: tls: first record does not look like a TLS handshake<br/>