[ https://issues.apache.org/jira/browse/LIBCLOUD-811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15249463#comment-15249463 ]
Teemu Vesala edited comment on LIBCLOUD-811 at 4/20/16 8:59 AM: ---------------------------------------------------------------- It seems to be missing _ex_connection_class_kwargs method at GoDaddyDNSDriver was (Author: teemu_vesala): It seems to be missing _ex_connection_class_kwargs method at GoDaddyDNSConnection. > GoDaddy driver mishandling shopper ID parameter > ----------------------------------------------- > > Key: LIBCLOUD-811 > URL: https://issues.apache.org/jira/browse/LIBCLOUD-811 > Project: Libcloud > Issue Type: Bug > Components: DNS > Environment: This has been tested with following operating systems > and Python versions: > Windows 7: Python 2.7 and Python 3.0 > Linux: Python 2.7 > Reporter: Teemu Vesala > > 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(): > # -------- 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/ > # -------- 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 > # -------- end 3069020076:3069040908 response ---------- -- This message was sent by Atlassian JIRA (v6.3.4#6332)