{"action":"created","issue":{"url":"https://api.github.com/repos/smira/aptly/issues/356","repository_url":"https://api.github.com/repos/smira/aptly","labels_url":"https://api.github.com/repos/smira/aptly/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/smira/aptly/issues/356/comments","events_url":"https://api.github.com/repos/smira/aptly/issues/356/events","html_url":"https://github.com/smira/aptly/issues/356","id":135044806,"number":356,"title":"publish to ceph/rados backed s3","user":{"login":"eiginn","id":1760532,"avatar_url":"https://avatars.githubusercontent.com/u/1760532?v=3","gravatar_id":"","url":"https://api.github.com/users/eiginn","html_url":"https://github.com/eiginn","followers_url":"https://api.github.com/users/eiginn/followers","following_url":"https://api.github.com/users/eiginn/following{/other_user}","gists_url":"https://api.github.com/users/eiginn/gists{/gist_id}","starred_url":"https://api.github.com/users/eiginn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eiginn/subscriptions","organizations_url":"https://api.github.com/users/eiginn/orgs","repos_url":"https://api.github.com/users/eiginn/repos","events_url":"https://api.github.com/users/eiginn/events{/privacy}","received_events_url":"https://api.github.com/users/eiginn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/smira/aptly/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/smira/aptly/milestones/14","html_url":"https://github.com/smira/aptly/milestones/v0.9.7","labels_url":"https://api.github.com/repos/smira/aptly/milestones/14/labels","id":1539487,"number":14,"title":"v0.9.7","description":"","creator":{"login":"smira","id":55211,"avatar_url":"https://avatars.githubusercontent.com/u/55211?v=3","gravatar_id":"","url":"https://api.github.com/users/smira","html_url":"https://github.com/smira","followers_url":"https://api.github.com/users/smira/followers","following_url":"https://api.github.com/users/smira/following{/other_user}","gists_url":"https://api.github.com/users/smira/gists{/gist_id}","starred_url":"https://api.github.com/users/smira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smira/subscriptions","organizations_url":"https://api.github.com/users/smira/orgs","repos_url":"https://api.github.com/users/smira/repos","events_url":"https://api.github.com/users/smira/events{/privacy}","received_events_url":"https://api.github.com/users/smira/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":18,"state":"open","created_at":"2016-01-24T18:49:19Z","updated_at":"2016-03-20T19:20:44Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-02-20T07:21:28Z","updated_at":"2016-03-20T19:21:20Z","closed_at":null,"body":"Could be misinterpreting the docs so apologies in advance if i should be rtfm-ing harder. I'm getting the following error:\r\n\r\n```\r\naptly publish repo squeeze s3:aptly:                                                                                                                                                                                              \r\nLoading packages...\r\nGenerating metadata files and linking package files...\r\nERROR: unable to publish: unable to process packages: error caching paths under prefix: error listing under prefix  in S3: us-east-1:aptly/: InvalidArgument: \r\n        status code: 400, request id: tx000000000000000006cf5-0056c811ad-12ec62-default\r\n```\r\n\r\nI have these bits in my conf (changed):\r\n```\r\n  \"S3PublishEndpoints\": {\r\n    \"aptly\": {\r\n      \"bucket\": \"aptly\",\r\n      \"region\": \"us-east-1\",\r\n      \"endpoint\": \"https://some.thing.net\",\r\n      \"awsAccessKeyID\": \"removed\",\r\n      \"awsSecretAccessKey\": \"removed\",\r\n      \"acl\": \"public-read\"\r\n    }\r\n  },\r\n```\r\n\r\nI was suspect about the region part, but the output of \"s3cmd info s3://aptly\" shows:\r\n```\r\ns3cmd info s3://aptly                                                                                                                                                                                                             \r\ns3://aptly/ (bucket):\r\n   Location:  us-east-1\r\n```\r\n\r\nThis is on 0.9.7~dev+17+gffafed4 from nightly repo"},"comment":{"url":"https://api.github.com/repos/smira/aptly/issues/comments/198995719","html_url":"https://github.com/smira/aptly/issues/356#issuecomment-198995719","issue_url":"https://api.github.com/repos/smira/aptly/issues/356","id":198995719,"user":{"login":"smira","id":55211,"avatar_url":"https://avatars.githubusercontent.com/u/55211?v=3","gravatar_id":"","url":"https://api.github.com/users/smira","html_url":"https://github.com/smira","followers_url":"https://api.github.com/users/smira/followers","following_url":"https://api.github.com/users/smira/following{/other_user}","gists_url":"https://api.github.com/users/smira/gists{/gist_id}","starred_url":"https://api.github.com/users/smira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smira/subscriptions","organizations_url":"https://api.github.com/users/smira/orgs","repos_url":"https://api.github.com/users/smira/repos","events_url":"https://api.github.com/users/smira/events{/privacy}","received_events_url":"https://api.github.com/users/smira/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T19:21:20Z","updated_at":"2016-03-20T19:21:20Z","body":"Fix has been committed to `master`. New options are not documented yet, so putting some details here:\r\n\r\n```\r\n\"S3PublishEndpoints\":{\r\n\t\"foo\": {\r\n                ...\r\n                \"forceSigV2\": true,\r\n\t\t\"debug\": false,\r\n\t}}\r\n```\r\n\r\nThere are two new options: `forceSigV2` to enable S3 Signature V2 (default is V4 which is not supported by ceph for example) and `debug` to dump request-response chains.\r\n\r\nSee also #365 \r\n\r\n"}}