Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-811

GoDaddy driver mishandling shopper ID parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • DNS
    • None
    • This has been tested with following operating systems and Python versions:
      Windows 7: Python 2.7 and Python 3.0
      Linux: Python 2.7

    Description

      GoDaddy driver is not able to do any action because it sets the 'X-Shopper-Id' header to 'True'. After that all requests to GoDaddy API are resulting:

      {"code":"NOT_FOUND","message":"Resource not found","name":"ApiError"}

      Log output from driver.list_zones():

      1. -------- begin 3069020076 request ----------
        curl -i -X GET -H 'Host: api.godaddy.com' -H 'X-Shopper-Id: True' -H 'Accept-Encoding: gzip,deflate' -H 'X-LC-Request-ID: 3069020076' -H 'Authorization: sso-key ACCESS KEY:SECRET KEY' -H 'User-Agent: libcloud/1.0.0-rc2 (GoDaddy DNS) ' --compress https://api.godaddy.com:443/v1/domains/
      2. -------- begin 3069020076:3069040908 response ----------
        HTTP/1.1 404 Not Found
        Via: 1.1 api.godaddy.com
        X-Powered-By: Express
        Transfer-Encoding: chunked
        Vary: Origin,Accept-Encoding
        Connection: close
        Etag: W/"45-K7cRahIguKtXFPRJXsuOkg"
        Access-Control-Allow-Credentials: true
        Date: Wed, 20 Apr 2016 06:51:54 GMT
        Content-Type: application/json; charset=utf-8

      45

      {"code":"NOT_FOUND","message":"Resource not found","name":"ApiError"}

      0

      1. -------- end 3069020076:3069040908 response ----------

      Attachments

        Activity

          People

            Unassigned Unassigned
            teemu_vesala Teemu Vesala
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: