Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: IO::Socket::SSL -> unexpected message !

by Sascha2018 (Acolyte)
on Apr 17, 2020 at 22:10 UTC ( #11115701=note: print w/replies, xml ) Need Help??

in reply to IO::Socket::SSL -> unexpected message !

Hello. Thank you for the replies. This is the output of curl:
curl curl: (56) OpenSSL SSL_read: error:1408F1BB:SSL routines:ssl3_get_reco +rd:bad record type, errno 0
In the browser i get this message:
Secure Connection Failed An error occurred during a connection to SSL_ERROR_RX_ +UNEXPECTED_RECORD_TYPE The page you are trying to view cannot be shown because the authen +ticity of the received data could not be verified. Please contact the website owners to inform them of this problem.
The code of my program is very long. I can not post it here... Can you help me please? Thanks

Replies are listed 'Best First'.
Re^2: IO::Socket::SSL -> unexpected message !
by Corion (Patriarch) on Apr 18, 2020 at 05:48 UTC

    This random StackOverflow comment still suggests that your webserver is mixing up plaintext connections and SSL connections.

    Maybe the following "works" and returns a webpage?


    Alternatively, maybe you're trying to start an SSLv3 connection, but your web server does not speak SSLv3 ?

    Without anything to replicate this situation, all I can do is Google your error message and guess. I think this is something you can do as well...

      Thank you very much... i solved the problem. Now i use another file ( i have programmed earlier ) and it works ;)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11115701]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2022-01-21 20:21 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (59 votes). Check out past polls.