What Do These Errors Mean?


#1

I host a script that crawls another page to fetch results. This script ran flawlessly on another server. But when I run it on my https server (routed through Cloudflare), I get the following errors

error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

Failed to enable crypto

error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

What do these errors mean? My webhost says it’s an SSL issue and that I need to talk to Cloudflare. Could someone help me out here?

Thanks a lot.


#2

Missed attaching the error message screenshot


#3

This is a PHP error. Since your script creates an outbound connection this is not related to Cloudflare as they proxy inbound traffic only.

Or did you mean, that this scrupt accesses your server that is behind Coudflare?


#4

Thank you. Any idea how the same script works on another server (with the same PHP version)? The only difference between the two is that it is a HTTP website and mine is HTTPS.

Also, since the error reads “handshake failure”, is there a possibility that my SSL is causing issues here?

I mean I use Cloudflare for their caching and SSL. My site’s HTTPS works with Cloudflare.


#5

To clarify cause it still don’t get it:

You are not checking anything on your own server (which is behind Cloudflare) with this script? It’s checking something elsewhere?


#6

@MarkMeyer

Hi Mark, yes, that is correct. Think of this script as some sort of a link extractor. You input a URL to the script and it returns some values from the inputted link.

So when I enter a https link, it returns an error. But when I enter a http link, it works. -> This is only on the Cloudflare site. It works fine on another site which is hosted on http


#7

And the Cloudflare site is a new / different server than before?

As I mentioned I my first post, you are creating an outbound connection directly to the destination. I guess the script uses curl? It looks like there’s something wrong with your server configuration, OpenSSL or something like that.

Though SSLvX should work nowhere Neither on Clients nor on servers. Even not with curl.
Check if you can disable this :poop: if you don’t need it. It’s broken. Totally.


#8

Thanks Mark. Can you clarify - you want me to disable Curl or SSL?


#9

SSL. But It’s your own decision. But you may get rid of this error possibly. I don’t know. But for this particular questions how to handle this error I would recommend to ask users on the official PHP board, or boards like Stackoverflow. There are more nerds - oh, pardon - :wink: people who are (even more) familiar with such issues.


#10

@MarkMeyer

Thank you so much for all your help. I figured that the issue was because of the PHP version. I upgraded it from 5.4.x to 5.6 and it’s working now.


#11

Welcome :slight_smile:


#12

This topic was automatically closed after 14 days. New replies are no longer allowed.