1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Curl error

Discussion in 'Site & Server Administration' started by lapidus, Sep 2, 2017.

  1. #1
    Hello folks

    I am facing with this problem:
    exception 'Exception' with message 'curl error: Protocol "https" not supported or disabled in libcurl'

    That is a message from error log for my website.Usually my website is taking to much to load and then i must restart my server to he normal work.

    That happen couple of times every day. Then all other websites on my server are not available too.

    Now can somebody explain me step by step what i must to do to fix this error? Did i must enable https" and where? Or something else?

    I am using VPS

    Thanks in advance
     
    lapidus, Sep 2, 2017 IP
  2. qwikad.com

    qwikad.com Illustrious Member Affiliate Manager

    Messages:
    7,151
    Likes Received:
    1,656
    Best Answers:
    29
    Trophy Points:
    475
    #2
    I am not sure if it's related to that curl error. Sounds too me that you have peaks throughout the day when your CPU usage is high, and your site gets hung. You see VPS is not a dedicated server. It acts like it's a dedicated server but it's still a shared hosting (shared hosting environment). Normally it's not an issue since you should get 100% of CPU usage but if, let's say, the company you are with has oversold their VPS packages it may start negatively affecting your CPU usage.

    It's just a guess, since I don't know all the details.
     
    qwikad.com, Sep 2, 2017 IP
  3. lapidus

    lapidus Well-Known Member

    Messages:
    392
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    128
    #3
    Hello qwikad is not CPU because i always see that he is normal. I have read here some answer explanation about that by drew010,but i don't know how to fix this. Just check his answer https://stackoverflow.com/questions/9595820/protocol-https-not-supported-or-disabled-in-libcurl

    Btw if you said about CPU or maybe RAM they are always ok, because i not have heavy traffic to site get hung.
     
    lapidus, Sep 2, 2017 IP
  4. RoseHosting

    RoseHosting Well-Known Member

    Messages:
    230
    Likes Received:
    11
    Best Answers:
    11
    Trophy Points:
    138
    #4
    If you have a custom build of CURL you will need to rebuild it with "--with-ssl".
     
    RoseHosting, Sep 12, 2017 IP
  5. lapidus

    lapidus Well-Known Member

    Messages:
    392
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    128
    #5
    Still have this error when i want to fetch Youtube url on my site: Curl Error : Protocol "https" not supported or disabled in libcurl
     
    lapidus, Aug 1, 2018 IP
  6. hostechsupport

    hostechsupport Well-Known Member

    Messages:
    413
    Likes Received:
    23
    Best Answers:
    7
    Trophy Points:
    138
    #6
    Your curl installation seems not proper..
    Check using curl -V command
    If it's compiled properly "--with-ssl", https was still not supported.
     
    hostechsupport, Aug 23, 2018 IP