{"action":"created","issue":{"url":"https://api.github.com/repos/OpenFoodFrance/openfoodnetwork/issues/3","repository_url":"https://api.github.com/repos/OpenFoodFrance/openfoodnetwork","labels_url":"https://api.github.com/repos/OpenFoodFrance/openfoodnetwork/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/OpenFoodFrance/openfoodnetwork/issues/3/comments","events_url":"https://api.github.com/repos/OpenFoodFrance/openfoodnetwork/issues/3/events","html_url":"https://github.com/OpenFoodFrance/openfoodnetwork/issues/3","id":131805087,"number":3,"title":"Le chat arrive quand on sauve le logo d'un producteur","user":{"login":"marito59","id":11704159,"avatar_url":"https://avatars.githubusercontent.com/u/11704159?v=3","gravatar_id":"","url":"https://api.github.com/users/marito59","html_url":"https://github.com/marito59","followers_url":"https://api.github.com/users/marito59/followers","following_url":"https://api.github.com/users/marito59/following{/other_user}","gists_url":"https://api.github.com/users/marito59/gists{/gist_id}","starred_url":"https://api.github.com/users/marito59/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marito59/subscriptions","organizations_url":"https://api.github.com/users/marito59/orgs","repos_url":"https://api.github.com/users/marito59/repos","events_url":"https://api.github.com/users/marito59/events{/privacy}","received_events_url":"https://api.github.com/users/marito59/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenFoodFrance/openfoodnetwork/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"gnollet","id":7429232,"avatar_url":"https://avatars.githubusercontent.com/u/7429232?v=3","gravatar_id":"","url":"https://api.github.com/users/gnollet","html_url":"https://github.com/gnollet","followers_url":"https://api.github.com/users/gnollet/followers","following_url":"https://api.github.com/users/gnollet/following{/other_user}","gists_url":"https://api.github.com/users/gnollet/gists{/gist_id}","starred_url":"https://api.github.com/users/gnollet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnollet/subscriptions","organizations_url":"https://api.github.com/users/gnollet/orgs","repos_url":"https://api.github.com/users/gnollet/repos","events_url":"https://api.github.com/users/gnollet/events{/privacy}","received_events_url":"https://api.github.com/users/gnollet/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-02-06T01:40:18Z","updated_at":"2016-02-07T04:37:40Z","closed_at":null,"body":"Probablement lié à la config de Amazon S3\r\n\r\ncf https://openfoodnetwork.slack.com/archives/france-ameliorations/p1454685029000002"},"comment":{"url":"https://api.github.com/repos/OpenFoodFrance/openfoodnetwork/issues/comments/180945371","html_url":"https://github.com/OpenFoodFrance/openfoodnetwork/issues/3#issuecomment-180945371","issue_url":"https://api.github.com/repos/OpenFoodFrance/openfoodnetwork/issues/3","id":180945371,"user":{"login":"marito59","id":11704159,"avatar_url":"https://avatars.githubusercontent.com/u/11704159?v=3","gravatar_id":"","url":"https://api.github.com/users/marito59","html_url":"https://github.com/marito59","followers_url":"https://api.github.com/users/marito59/followers","following_url":"https://api.github.com/users/marito59/following{/other_user}","gists_url":"https://api.github.com/users/marito59/gists{/gist_id}","starred_url":"https://api.github.com/users/marito59/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marito59/subscriptions","organizations_url":"https://api.github.com/users/marito59/orgs","repos_url":"https://api.github.com/users/marito59/repos","events_url":"https://api.github.com/users/marito59/events{/privacy}","received_events_url":"https://api.github.com/users/marito59/received_events","type":"User","site_admin":false},"created_at":"2016-02-07T04:37:40Z","updated_at":"2016-02-07T04:37:40Z","body":"Cf https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html\r\n\r\nSi l'appel se fait avec s3.amazonaws.com, l'image est cherchée sur le serveur US West (N. Virginia) par défaut. Sinon, il faut spécifier le host name du serveur.\r\n\r\nON peut utiliser l'option Virtual  Hosting en créant un alias.\r\n\r\nPar contre, comme tout cela vient de paperclip, donc c'est la config de paperlip qu'il faut modifier.\r\nhttp://www.rubydoc.info/gems/paperclip/Paperclip/Storage/S3\r\n\r\nDonc, je vois 3 options:\r\n- on utilise le serveur AWS de North Virginia --> simple, immédiat et pas grave vu que c'est pas des données sensibles (mais latence ?)\r\n- on trouve comment configurer correctement paperclip\r\n- on lance une discussion dans OFN pour savoir si quelqu'un a déjà résolu le pb\r\n\r\nYour choice."}}