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 Responses to “Protocol https not supported or disabled in libcurl”

  1. Cellbender Says:

    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. Roezers Says:

    Hihi, i also had this problem, stupid if you think about it, thanks for the info:P

  3. Pippin Says:

    Thanks, you just saved me hours of time :)

  4. Isaac Ojeda Says:

    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!

  5. Ace Says:

    Thanks! This was exactly the problem I encountered.

  6. Carlos Says:

    Thanks Dude! That was exactly my problem. Thanks Thanks Thanks

  7. RomanT Says:

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

    Cheers,
    Roman

  8. shekhar Says:

    thanks…a lot. buddy

  9. Alyson Says:

    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

  10. Brian Says:

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

  11. iove86 Says:

    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!

  12. durgesh Says:

    thanks man

Drop Some Knowledge On Us…