<html><head></head><body><div>Yes, the TLS diagnostics can be confusing:<br>it reports "wrong version" also when there is no TLS (version) being used by the peer at all.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">  </span>David</div><div><span></span></div><div><br></div><div>On Mon, 2022-07-11 at 00:16 -0400, Viktor Dukhovni wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>On Sun, Jul 10, 2022 at 02:41:23PM +0000, loic nicolas wrote:<br></div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>I am trying to connect my client to my server but I always receive an<br></div><div>error.(ssl3_get_record:wrong version<br></div><div>number:../ssl/record/ssl3_record.c:331)<br></div><div><br></div><div>How can I get more information about the error and fix it? (the error<br></div><div>is probably in my client)<br></div></blockquote><div><br></div><div>Indeed, the client's packet to the server is not a TLS Record.<br></div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>openssl s_server -accept 127.0.0.1:3000 -key server.key -cert server.cert -msg<br></div><div><br></div><div><<< ??? [length 0005]<br></div><div>    20 ae c0 2e d6<br></div></blockquote><div><br></div><div>Whatever the client is doing, it isn't starting a TLS session with a<br></div><div>TLS handshake record containing a TLS client HELLO.<br></div><div><br></div></blockquote></body></html>