http://qs321.pair.com?node_id=11115187


in reply to Re: IO::Socket::SSL Connection Error
in thread IO::Socket::SSL Connection Error

Hello. thanks for the replies :-) Now, one year later, i tried to get working my Perl Script. ( Chatserver ) I have installed it on localhost and i created a certificate with mkcert. Now, everytime, i want to login into my page i get an error in the browser:
Secure Connection Failed An error occurred during a connection to 127.0.0.1:22222. SSL_ERROR_RX +_UNEXPECTED_RECORD_TYPE
In my console i got this error:
DEBUG: .../IO/Socket/SSL.pm:1042: local error: SSL accept attempt fail +ed error:140940F4:SSL routines:ssl3_read_bytes:unexpected message [07.04.2020 - 20:17:06] SSL Error: SSL accept attempt failed error:140 +940F4:SSL routines:ssl3_read_bytes:unexpected message DEBUG: .../IO/Socket/SSL.pm:2875: free ctx 94723586472400 open=9472358 +6472400 94723590508016 DEBUG: .../IO/Socket/SSL.pm:2886: OK free ctx 94723586472400 DEBUG: .../IO/Socket/SSL.pm:962: no socket yet DEBUG: .../IO/Socket/SSL.pm:964: accept created normal socket IO::Sock +et::SSL=GLOB(0x56268dfe9eb0) DEBUG: .../IO/Socket/SSL.pm:992: starting sslifying DEBUG: .../IO/Socket/SSL.pm:1039: Net::SSLeay::accept -> 1 DEBUG: .../IO/Socket/SSL.pm:1087: handshake done, socket ready DEBUG: .../IO/Socket/SSL.pm:980: accept_SSL ok DEBUG: .../IO/Socket/SSL.pm:2853: new ctx 94723586472400 DEBUG: .../IO/Socket/SSL.pm:1540: start handshake DEBUG: .../IO/Socket/SSL.pm:992: starting sslifying DEBUG: .../IO/Socket/SSL.pm:1039: Net::SSLeay::accept -> -1 DEBUG: .../IO/Socket/SSL.pm:1042: SSL accept attempt failed DEBUG: .../IO/Socket/SSL.pm:1042: local error: SSL accept attempt fail +ed error:140940F4:SSL routines:ssl3_read_bytes:unexpected message [07.04.2020 - 20:17:06] SSL Error: SSL accept attempt failed error:140 +940F4:SSL routines:ssl3_read_bytes:unexpected message DEBUG: .../IO/Socket/SSL.pm:2875: free ctx 94723586472400 open=9472359 +0508016 94723586472400 DEBUG: .../IO/Socket/SSL.pm:2886: OK free ctx 94723586472400
How can i resolve the problem? Thank you very much