Foxy Forum Status

We're no longer responding to questions via our forum, but we will keep it up for historical reasons. If you can't find the answer you're looking for, please visit our knowledge base or contact us. If there's enough interest in the future, we may bring the forum back.

Datafeed issues: "No data returned for ... Protocol http not supported or disabled in libcurl"

consolibyteconsolibyte Member, Integration Developer, Consolibyte Quickbooks
in Bugs & Feature Requests edited January 2010
We have a Foxycart store experiencing a DataFeed failure error both with a http:// or an httpS:// URL. Any idea what's going on? (Brett? Luke?)

DataFeed Failed: (895501) 2010-01-18 10:39:36 No data returned for http://secure.consolibyte.com/services/QuickBooks/deploy/foxycart.php?barefootcoffee.com [0] Protocol http not supported or disabled in libcurl
Comments
  • Brett? luke? fred? we need answer to this. our entire ecommerce system is non functioning waiting for this to be solved.
  • andy, does this page help you at all? I just did a google search for the error you're receiving.
  • brettbrett FoxyCart Team
    @consolibyte and @andynewbom, we're emailing with Keith (consolibyte) directly about this. We think it's an issue on your end. Are you making any CURL requests in your datafeed processor? Or perhaps ...

    Hahaha, dang @bjbk, you're awesome. Looks like there was indeed a leading space in the datafeed URL and the API key in the admin for that account. We'll make a note to strip leading and trailing spaces on those. Go ahead and strip them yourselves for now and let us know if that solves the issue.
  • consolibyteconsolibyte Member, Integration Developer, Consolibyte Quickbooks
    Thanks @bjbk and @brett! I e-mailed Andy and we'll report back if that fixes the issue.
  • fredfred FoxyCart Team
    As far as our end, our libcurl and PHP cURL extension both support HTTPS/SSL/TLS, and I've tested both with the URL you provide without issue. I just re-read your original error message:

    (895501) 2010-01-18 10:39:36 No data returned for http://secure.consolibyte.com/services/QuickBooks/deploy/foxycart.php?barefootcoffee.com [0] Protocol http not supported or disabled in libcurl

    It says that HTTP support is not enabled in libcurl. On our end, it most assuredly is — we use cURL extensively, and if HTTP were disabled we couldn't cache checkout templates or transmit datafeeds. Also, the error message in your transaction log is the message output by the receiving end, not output by Foxycart. I have to conclude that the error is on @consolibytes' end of the connection, not Foxycart's.

    Some test POST requests I made to the URL you provided shows that the 'error_reporting' setting is turned on on @consolibyte's server, so seeing that error message in the transaction log means that the PHP script that handled that error on the remote server output the error message.
  • consolibyteconsolibyte Member, Integration Developer, Consolibyte Quickbooks
    The error *is not* on our end, we don't use CURL *at all*. Read @bjbk's and @brett's response- it was a trailing and leading space at the end/beginning of the data feed URL, which CURL responds stupidly to. You should trim your URLs when entered into the Foxycart configuration form.
  • brettbrett FoxyCart Team
    @fred was working on this since yesterday, so he probably didn't refresh prior to posting. Funny how something so hard to see can cause such problems. Again, way to go @bjbk for the catch. We probably would have wasted considerable time were it not for that idea.
  • consolibyteconsolibyte Member, Integration Developer, Consolibyte Quickbooks
    Thanks everyone for the help, all is well now!
Sign In or Register to comment.