• Hello everyone,

    I have a big issue on my wordpress site (hosted by OVH) : Facebook crawler can’t access it, I have a Curl Error when I try to debug a link on https://developers.facebook.com/tools/debug/og/object/. That means that I can’t share articles on Facebook, because it is not allowed to retreive og:title, og:image and other Open Graph data.

    The same issue can be seen when I check a page on the W3C Validator : I got the following unexpected response when trying to retrieve <https://mywebsite.com&gt;: 500 Can’t connect to mywebsite.com:443 – If you made recent changes to your domain name (DNS) configuration, you may also want to check that your domain records are correct, or ask your hosting company to do so.

    I had WordFence plugin installed, and the OVH support said it could be this plugin or a misconfiguration of the .htaccess. So I reinstalled a clean wordpress, without plugins and with the default .htaccess file… And the Curl Error remains…

    I’ve a Stable php environment (5.6), did anyone had the same problem ad fixed it ?

    • This topic was modified 9 years, 7 months ago by oscarmarion1.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Are you able to connect with out SSL/TLS enabled ( the plain http version ? ) Also can you check your error logs and post the exact text message here ?

    Also consider some possible causes here
    http://blog.techstacks.com/2010/03/3-common-causes-of-unknown-ssl-protocol-errors-with-curl.html

    Thread Starter oscarmarion1

    (@oscarmarion1)

    Here is (some of) the current web log (not error log)

    88.162.235.123 sorb-on.fr - [31/Oct/2016:14:26:55 +0100] "GET /2016/10/28/differences-qatar-arabie-saoudite/?cf_action=sync_comments&post_id=8532 HTTP/1.1" 200 43 "https://sorb-on.fr/2016/10/28/differences-qatar-arabie-saoudite/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
    88.162.235.123 sorb-on.fr - [31/Oct/2016:14:26:55 +0100] "GET /2016/09/19/non-conflits-moyen-orient-ne-affrontement-chiite-sunnite/?cf_action=sync_comments&post_id=7948 HTTP/1.1" 200 43 "https://sorb-on.fr/2016/09/19/non-conflits-moyen-orient-ne-affrontement-chiite-sunnite/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
    88.162.235.123 sorb-on.fr - [31/Oct/2016:14:26:58 +0100] "GET /wp-content/uploads/2015/09/bg-8.png HTTP/1.1" 200 35408 "https://sorb-on.fr/2016/09/19/non-conflits-moyen-orient-ne-affrontement-chiite-sunnite/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
    157.55.39.82 sorb-on.fr - [31/Oct/2016:14:27:01 +0100] "GET /2016/06/20/sexe-feminin-humour-insolent-liv-stromquist-a-linstitut-suedois/ HTTP/1.1" 301 26 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"
    88.219.187.218 sorb-on.fr - [31/Oct/2016:14:27:21 +0100] "POST /wp-admin/admin-ajax.php HTTP/1.1" 200 43 "https://sorb-on.fr/wp-admin/edit.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/602.1.50 (KHTML, like Gecko) Version/10.0 Safari/602.1.50"
    163.172.65.14 sorb-on.fr - [31/Oct/2016:14:27:26 +0100] "GET /2016/09/17/entretien-avec-serge-halimi/ HTTP/1.1" 200 13688 "-" "Mozilla/5.0 (compatible; AhrefsBot/5.1; +http://ahrefs.com/robot/)"
    54.236.1.13 sorb-on.fr - [31/Oct/2016:14:27:47 +0100] "GET /wp-content/uploads/2015/09/cropped-cropped-sorb_on_logo__small__-300x300-32x32.png HTTP/1.1" 200 1744 "-" "Pinterest/0.2 (+http://www.pinterest.com/)"
    54.236.1.13 sorb-on.fr - [31/Oct/2016:14:27:47 +0100] "GET /wp-content/uploads/2015/09/cropped-cropped-sorb_on_logo__small__-300x300-180x180.png HTTP/1.1" 200 11209 "-" "Pinterest/0.2 (+http://www.pinterest.com/)"
    54.236.1.13 sorb-on.fr - [31/Oct/2016:14:27:53 +0100] "GET /wp-content/uploads/2016/06/dsc_1107-300x180.jpg HTTP/1.1" 200 17648 "-" "Pinterest/0.2 (+http://www.pinterest.com/)"
    54.236.1.11 sorb-on.fr - [31/Oct/2016:14:27:55 +0100] "GET /wp-content/uploads/2016/02/atelier_journalisme_sidebar_min.jpg HTTP/1.1" 200 29960 "-" "Pinterest/0.2 (+http://www.pinterest.com/)"
    46.105.57.169 sorb-on.fr - [31/Oct/2016:14:29:14 +0100] "POST /wp-cron.php?doing_wp_cron=1477920554.4206900596618652343750 HTTP/1.1" 302 233 "http://sorb-on.fr/wp-cron.php?doing_wp_cron=1477920554.4206900596618652343750" "WordPress/4.6.1; https://sorb-on.fr"
    51.255.65.28 sorb-on.fr - [31/Oct/2016:14:29:13 +0100] "GET /2015/01/25/je-change-de-file-ou-comment-peut-on-etre-persanne/ HTTP/1.1" 301 26 "-" "Mozilla/5.0 (compatible; AhrefsBot/5.1; +http://ahrefs.com/robot/)"

    And there is nothing in the error log…

    Thread Starter oscarmarion1

    (@oscarmarion1)

    Yes, the http version works fine ! The problem is that my error log is empty… When I try a curl from my computer :
    * Rebuilt URL to: https://sorb-on.fr/
    * Trying 46.105.57.169…
    * Connected to sorb-on.fr (46.105.57.169) port 443 (#0)
    * Server aborted the SSL handshake
    * Closing connection 0
    curl: (35) Server aborted the SSL handshake

    Thank you for your answer 🙂

    Thread Starter oscarmarion1

    (@oscarmarion1)

    Here is the answer from a Ubuntu Curl (more informations) :

    curl -v https://sorb-on.fr
    * Rebuilt URL to: https://sorb-on.fr/
    * Hostname was NOT found in DNS cache
    * Trying 46.105.57.169…
    * Connected to sorb-on.fr (46.105.57.169) port 443 (#0)
    * successfully set certificate verify locations:
    * CAfile: none
    CApath: /etc/ssl/certs
    * SSLv3, TLS handshake, Client hello (1):
    * Unknown SSL protocol error in connection to sorb-on.fr:443
    * Closing connection 0
    curl: (35) Unknown SSL protocol error in connection to sorb-on.fr:443

    But sometimes, the curl works and the whole html is displayed… I don’t understand … !

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Curl error SSL_CONNECT_ERROR Unknown SSL protocol error in connection’ is closed to new replies.