{"action":"created","issue":{"url":"https://api.github.com/repos/parse-server-modules/parse-server-s3-adapter/issues/5","repository_url":"https://api.github.com/repos/parse-server-modules/parse-server-s3-adapter","labels_url":"https://api.github.com/repos/parse-server-modules/parse-server-s3-adapter/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/parse-server-modules/parse-server-s3-adapter/issues/5/comments","events_url":"https://api.github.com/repos/parse-server-modules/parse-server-s3-adapter/issues/5/events","html_url":"https://github.com/parse-server-modules/parse-server-s3-adapter/issues/5","id":144957382,"number":5,"title":"S3 FileAdapter fails when bucket is located in Frankfurt","user":{"login":"ststroppel","id":18194149,"avatar_url":"https://avatars.githubusercontent.com/u/18194149?v=3","gravatar_id":"","url":"https://api.github.com/users/ststroppel","html_url":"https://github.com/ststroppel","followers_url":"https://api.github.com/users/ststroppel/followers","following_url":"https://api.github.com/users/ststroppel/following{/other_user}","gists_url":"https://api.github.com/users/ststroppel/gists{/gist_id}","starred_url":"https://api.github.com/users/ststroppel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ststroppel/subscriptions","organizations_url":"https://api.github.com/users/ststroppel/orgs","repos_url":"https://api.github.com/users/ststroppel/repos","events_url":"https://api.github.com/users/ststroppel/events{/privacy}","received_events_url":"https://api.github.com/users/ststroppel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-31T16:58:27Z","updated_at":"2016-03-31T17:40:14Z","closed_at":null,"body":"When setting up the s3 bucket with region Frankfurt (eu-central-1) the access from parse server / S3Adapter does not work. I'm using the latest version of the parse-server-s3-adapter 1.0.1. I'm testing it on my local parse installation (v 2.2.4). Without using the s3-adapter, the file is successfully saved. \r\nThis issue has already been reported on https://github.com/ParsePlatform/parse-server/issues/1176 by another user.\r\n\r\nThis is how my configuration looks like:\r\n\r\n```\r\nvar S3Adapter = require('parse-server-s3-adapter');\r\n\r\nvar api = new ParseServer({\r\n  cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js',\r\n  // ...\r\n  filesAdapter: new S3Adapter(\r\n      \"---\",\r\n      \"---\",\r\n      \"bucket\",\r\n      {\r\n          region: 'eu-central-1'\r\n          //bucketPrefix: '',\r\n          //directAccess: true\r\n      }\r\n  )\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/parse-server-modules/parse-server-s3-adapter/issues/comments/204045484","html_url":"https://github.com/parse-server-modules/parse-server-s3-adapter/issues/5#issuecomment-204045484","issue_url":"https://api.github.com/repos/parse-server-modules/parse-server-s3-adapter/issues/5","id":204045484,"user":{"login":"ststroppel","id":18194149,"avatar_url":"https://avatars.githubusercontent.com/u/18194149?v=3","gravatar_id":"","url":"https://api.github.com/users/ststroppel","html_url":"https://github.com/ststroppel","followers_url":"https://api.github.com/users/ststroppel/followers","following_url":"https://api.github.com/users/ststroppel/following{/other_user}","gists_url":"https://api.github.com/users/ststroppel/gists{/gist_id}","starred_url":"https://api.github.com/users/ststroppel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ststroppel/subscriptions","organizations_url":"https://api.github.com/users/ststroppel/orgs","repos_url":"https://api.github.com/users/ststroppel/repos","events_url":"https://api.github.com/users/ststroppel/events{/privacy}","received_events_url":"https://api.github.com/users/ststroppel/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T17:40:14Z","updated_at":"2016-03-31T17:40:14Z","body":"I've modofied the adapter to get some console logs: this is the error message I got from the adapter:\r\n```\r\n{ [InvalidRequest: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.]\r\n  message: 'The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.',\r\n  code: 'InvalidRequest',\r\n  region: null,\r\n  time: Thu Mar 31 2016 19:37:05 GMT+0200 (Mitteleuropäische Sommerzeit),\r\n  requestId: 'xxx',\r\n  extendedRequestId: 'xxx',\r\n  statusCode: 400,\r\n  retryable: false,\r\n  retryDelay: 58.94708309788257 }\r\n\r\n```"}}