Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Protocol https not supported or disabled in libcurl

I am using Authorize.net in my application(its in OSCOMMERCE) , When the user making payment its returning empty response. I debugged and find that it returning this error:

Protocol https not supported or disabled in libcurl

I am sending a prober url starts with https there is no space in that https://secure.authorize.net/gateway/transact.dll

My application in shared hosting server. My doubt is this is server side problem or Programming problem ?

like image 475
AnNaMaLaI Avatar asked Mar 07 '12 04:03

AnNaMaLaI


2 Answers

I had this problem and it was because of space in url:

' https://www.google.com/recaptcha/api/siteverify'

as you see there is a space before https

like image 131
parastoo Avatar answered Sep 20 '22 04:09

parastoo


For those that have https support but still get an error similar to below

[curl] 1: Protocol %20https not supported or disabled in libcurl [url] %20https://www.example.com/%20

Ensure that the URL is valid

  • Try on a basic URL such as https://www.example.com
  • Check your URLs and make sure no spaces at start/end of URL (as shown above as %20)
  • Check for characters in your URL likely to break the curl request
like image 33
Carlton Avatar answered Sep 22 '22 04:09

Carlton