{"action":"created","issue":{"url":"https://api.github.com/repos/balderdashy/skipper-s3/issues/25","labels_url":"https://api.github.com/repos/balderdashy/skipper-s3/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/skipper-s3/issues/25/comments","events_url":"https://api.github.com/repos/balderdashy/skipper-s3/issues/25/events","html_url":"https://github.com/balderdashy/skipper-s3/issues/25","id":75024793,"number":25,"title":"Fails silently","user":{"login":"zfrenchee","id":2761597,"avatar_url":"https://avatars.githubusercontent.com/u/2761597?v=3","gravatar_id":"","url":"https://api.github.com/users/zfrenchee","html_url":"https://github.com/zfrenchee","followers_url":"https://api.github.com/users/zfrenchee/followers","following_url":"https://api.github.com/users/zfrenchee/following{/other_user}","gists_url":"https://api.github.com/users/zfrenchee/gists{/gist_id}","starred_url":"https://api.github.com/users/zfrenchee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zfrenchee/subscriptions","organizations_url":"https://api.github.com/users/zfrenchee/orgs","repos_url":"https://api.github.com/users/zfrenchee/repos","events_url":"https://api.github.com/users/zfrenchee/events{/privacy}","received_events_url":"https://api.github.com/users/zfrenchee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-10T23:25:07Z","updated_at":"2015-05-11T18:28:56Z","closed_at":null,"body":"I'm trying to use dropzone on the frontend to serialize images on s3. My FileController code looks roughly like: \r\n\r\n\t\treq.file('groupImage').upload({\r\n\t\t\tadapter: require('skipper-s3'),\r\n\t\t\tkey: 'key',\r\n\t\t\tsecret: 'secret',\r\n\t\t\tbucket: 'group.images'\r\n\t\t}, function whenDone(err, uploadedFiles) {\r\n\t\t\tif (err) { console.log(err); return res.serverError(err);  }\r\n\t\t\telse { \r\n\t\t\t\tconsole.log(uploadedFiles);\r\n\t\t\t\treturn res.json({ files: uploadedFiles, textParams: req.params.all() }); }\r\n\t\t});\r\n\t},\r\n\r\nThe second console log prints an empty array, and err is null, meaning that it seems nothing has happened. The bucket is empty after the \"upload\". I tried a couple things: \r\n- I wanted to get an idea of what req.file('groupImage') was, so I console logged it right before 'upload' and it always crashed the app, the second field of the output was \"isNoop: true, \" which sounds foreboding. \r\n- I thought it might be that s3 now wants IAM credentials rather than traditional keys/secrets, but changing that had no effect. \r\n- I tried to clone and do the npm test, which failed \r\n\r\n\t\t  1) \"before all\" hook\r\n\r\n\t\t  0 passing (82ms)\r\n\t\t  1 failing\r\n\r\n\t\t  1)  \"before all\" hook:\r\n\t\t     Uncaught Error: listen EADDRINUSE\r\n\t\t      at errnoException (net.js:905:11)\r\n\t\t      at Server._listen2 (net.js:1043:14)\r\n\t\t      at listen (net.js:1065:10)\r\n\t\t      at Server.listen (net.js:1139:5)\r\n\t\t      at Function.app.listen (/Users/Alex/Documents/skipper-s3/node_modules/skipper-adapter-tests/node_modules/connect/lib/proto.js:232:24)\r\n\t\t      at Context.Helpers.setup (/Users/Alex/Documents/skipper-s3/node_modules/skipper-adapter-tests/lib/helpers.js:71:20)\r\n\t\t      at Hook.Runnable.run (/Users/Alex/Documents/skipper-s3/node_modules/skipper-adapter-tests/node_modules/mocha/lib/runnable.js:196:15)\r\n\t\t      at next (/Users/Alex/Documents/skipper-s3/node_modules/skipper-adapter-tests/node_modules/mocha/lib/runner.js:259:10)\r\n\t\t      at Object._onImmediate (/Users/Alex/Documents/skipper-s3/node_modules/skipper-adapter-tests/node_modules/mocha/lib/runner.js:276:5)\r\n\t\t      at processImmediate [as _immediateCallback] (timers.js:354:15)\r\n\r\nGiven the issues, this repository feels abandoned. Is there a machinepack on the way or something? @sgress454 \r\n "},"comment":{"url":"https://api.github.com/repos/balderdashy/skipper-s3/issues/comments/101009796","html_url":"https://github.com/balderdashy/skipper-s3/issues/25#issuecomment-101009796","issue_url":"https://api.github.com/repos/balderdashy/skipper-s3/issues/25","id":101009796,"user":{"login":"sgress454","id":553428,"avatar_url":"https://avatars.githubusercontent.com/u/553428?v=3","gravatar_id":"","url":"https://api.github.com/users/sgress454","html_url":"https://github.com/sgress454","followers_url":"https://api.github.com/users/sgress454/followers","following_url":"https://api.github.com/users/sgress454/following{/other_user}","gists_url":"https://api.github.com/users/sgress454/gists{/gist_id}","starred_url":"https://api.github.com/users/sgress454/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgress454/subscriptions","organizations_url":"https://api.github.com/users/sgress454/orgs","repos_url":"https://api.github.com/users/sgress454/repos","events_url":"https://api.github.com/users/sgress454/events{/privacy}","received_events_url":"https://api.github.com/users/sgress454/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T18:28:56Z","updated_at":"2015-05-11T18:28:56Z","body":"`EADDRINUSE` indicates that you have a Sails app running on 1337.  Try killing all other node processes before running the test.  You'll also need to set some environment vars for the tests to work; check out the [contributing section](https://github.com/balderdashy/skipper-s3/blob/master/README.md#contribute) for details."}}