Protocol https not supported or disabled in libcurl

Have you ever seen this error before when working with CURL:

“Protocol https not supported or disabled in libcurl”

Yet, you know that https works. Or even:

“Protocol http not supported or disabled in libcurl”

And you think, “What the hell? That’s basically what CURL is for. Why would HTTP not work!?”

Try wrapping that echoed out error message with <pre> tags:

Protocol  https not supported or disabled in libcurl

Notice anything?

There is an extra space before ‘https’. Make sure that when you do set CURLOPT_URL, you don’t put a space before the http, CURL won’t know what to do with it.

12 thoughts on “Protocol https not supported or disabled in libcurl

  1. Thanks for that information. My problem was neraly the same but only that there wasn’t any extra spaces … no … the quotes that buddy who posted that script used were false. It’s pretty hard to notice because they looked very similar to normal quotes. So to everybody out there: be attentive! 😉
    Greets Cellbender

  2. Thanx alot man for the information, you do not know how you help me, but this thing was a thing of life or dead, iam writing from mexico, and thanx for the information….

    You are great!

  3. Thanks a lot! That was exactly what I encountered and your post saved me a lot of time.

    Cheers,
    Roman

  4. Any ideas on what is happening to this feed? I get the same error, but I don’t have the same experience as your group (beginner here.) I’m using WordPress and don’t know where to go to correct the problem. Advice?

    Feed Finder: Subscribe to davidsbeenhere.com/dbhweb/site/rss_All
    Searched for feeds at feed://davidsbeenhere.com/dbhweb/site/rss_All

    Error: FeedWordPress couldn’t find any feeds at feed://davidsbeenhere.com/dbhweb/site/rss_All. Try another URL.

    Diagnostic information

    HTTP request failure

    Protocol feed not supported or disabled in libcurl

    Fatal error: Call to undefined method WP_Http::_getTransport() in /home/alysonfl/public_html/wandercast.tv/wp-content/plugins/feedwordpress/feeds-page.php on line 813

  5. Thanks man! Was banging my head against this problem for a while. I’m lucky google brought up this post!

  6. Thanks~I met another
    cURL error number:6
    cURL error:name lookup timed out

    just one page happened, the others worked.any information is welcome,thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *