{"action":"created","issue":{"url":"https://api.github.com/repos/emccode/s3motion/issues/7","repository_url":"https://api.github.com/repos/emccode/s3motion","labels_url":"https://api.github.com/repos/emccode/s3motion/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/emccode/s3motion/issues/7/comments","events_url":"https://api.github.com/repos/emccode/s3motion/issues/7/events","html_url":"https://github.com/emccode/s3motion/issues/7","id":174372633,"number":7,"title":"Unable to access objects on 3rd party S3 endpoints that only support path-style URL's","user":{"login":"joeharlan","id":16154518,"avatar_url":"https://avatars.githubusercontent.com/u/16154518?v=3","gravatar_id":"","url":"https://api.github.com/users/joeharlan","html_url":"https://github.com/joeharlan","followers_url":"https://api.github.com/users/joeharlan/followers","following_url":"https://api.github.com/users/joeharlan/following{/other_user}","gists_url":"https://api.github.com/users/joeharlan/gists{/gist_id}","starred_url":"https://api.github.com/users/joeharlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeharlan/subscriptions","organizations_url":"https://api.github.com/users/joeharlan/orgs","repos_url":"https://api.github.com/users/joeharlan/repos","events_url":"https://api.github.com/users/joeharlan/events{/privacy}","received_events_url":"https://api.github.com/users/joeharlan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-31T20:38:56Z","updated_at":"2016-08-31T22:22:56Z","closed_at":null,"body":"This is more of a feature request, but I would like see the use of path-style object URL's as an option for a given client configuration.\r\n\r\nIn testing the latest s3motion release with an EMC Elastic Cloud Storage endpoint that is not configured for virtual-host style URL's, I was unable to address objects.  The use of the virtual-host style URL's requires some DNS configuration that isn't always practical or approved for use with on-premise object storage deployments.  Having the ability to use the \"legacy\" path-style URL's would provide a suitable workaround.\r\n\r\nHere is an example of the error:\r\n\r\n\r\n### Confirm bucket existence: ###\r\n```\r\ncurl -i -XGET http://localhost:8080/api/buckets/ecs-joe\r\nHTTP/1.1 200 OK\r\nX-Powered-By: Express\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 155\r\nETag: W/\"9b-e8fcc88c\"\r\nDate: Wed, 31 Aug 2016 20:06:08 GMT\r\nConnection: keep-alive\r\n\r\n{\"Buckets\":[{\"Name\":\"joe\",\"CreationDate\":\"2016-08-17T19:48:23.501Z\"}],\"Owner\":{\"DisplayName\":\"<redacted>\",\"ID\":\"<redacted>\"}}\r\n```\r\n\r\n### Attempt object listing: ###\r\n```\r\n$ curl -i -XGET http://localhost:8080/api/objects/ecs-joe/joe\r\nHTTP/1.1 200 OK\r\nX-Powered-By: Express\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 1102\r\nETag: W/\"c004Wda6KT/KI8i9JytTRg==\"\r\nDate: Wed, 31 Aug 2016 20:12:16 GMT\r\nConnection: keep-alive\r\n\r\n\"unable to list joe : UnknownEndpoint: Inaccessible host: `joe.<redacted>.<redacted>.com'. This service may not be available in the `us-east-1' region.\r\n    at Request.ENOTFOUND_ERROR (/usr/local/lib/node_modules/s3motion/node_modules/s3/node_modules/aws-sdk/lib/event_listeners.js:355:46)\r\n    at Request.callListeners (/usr/local/lib/node_modules/s3motion/node_modules/s3/node_modules/aws-sdk/lib/sequential_executor.js:100:18)\r\n    at Request.emit (/usr/local/lib/node_modules/s3motion/node_modules/s3/node_modules/aws-sdk/lib/sequential_executor.js:77:10)\r\n    at Request.emit (/usr/local/lib/node_modules/s3motion/node_modules/s3/node_modules/aws-sdk/lib/request.js:604:14)\r\n    at ClientRequest.error (/usr/local/lib/node_modules/s3motion/node_modules/s3/node_modules/aws-sdk/lib/event_listeners.js:204:22)\r\n    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/s3motion/node_modules/s3/node_modules/aws-sdk/lib/http/node.js:61:19)\r\n    at ClientRequest.emit (events.js:95:17)\r\n    at Socket.socketErrorListener (http.js:1552:9)\r\n    at Socket.emit (events.js:95:17)\r\n    at net.js:834:16\"\r\n```"},"comment":{"url":"https://api.github.com/repos/emccode/s3motion/issues/comments/243921053","html_url":"https://github.com/emccode/s3motion/issues/7#issuecomment-243921053","issue_url":"https://api.github.com/repos/emccode/s3motion/issues/7","id":243921053,"user":{"login":"kacole2","id":4482386,"avatar_url":"https://avatars.githubusercontent.com/u/4482386?v=3","gravatar_id":"","url":"https://api.github.com/users/kacole2","html_url":"https://github.com/kacole2","followers_url":"https://api.github.com/users/kacole2/followers","following_url":"https://api.github.com/users/kacole2/following{/other_user}","gists_url":"https://api.github.com/users/kacole2/gists{/gist_id}","starred_url":"https://api.github.com/users/kacole2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kacole2/subscriptions","organizations_url":"https://api.github.com/users/kacole2/orgs","repos_url":"https://api.github.com/users/kacole2/repos","events_url":"https://api.github.com/users/kacole2/events{/privacy}","received_events_url":"https://api.github.com/users/kacole2/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T22:22:56Z","updated_at":"2016-08-31T22:22:56Z","body":"@joeharlan i'll have to add this to my backlog of things to do. I haven't updated this in a while and didn't know if people were getting use out of it. "}}
{"actor":{"display_login":"kacole2"}}