Closed orf closed 8 years ago
I have no clue how this would be related to an ember-cli-deploy upgrade :-\
Hmm, I'm not sure either, perhaps it's not. It's strange though, if I give it an invalid API key it fails with a proper error, so it must be something it's uploading that is causing it to fail. Is there any way to view the files it's uploading?
I finally tracked this down, the issue was this library doesn't rate limit the uploads at all. If a project has ~60 JS files it ends up hammering the server with 120 requests (sourcemaps and JS files) at once, and our poor self-hosted sentry server couldn't handle that much load in such a small time. Hence the socket disconnections.
I've made MR #14 to handle this, using a library called throat, that limits the number of concurrent uploads to 5 at a time. This is conservative and could maybe be added as a configuration option, but it works well.
Hey, Since updating
ember-cli-deploy
to the latest version uploading the sourcemaps doesn't seem to work. I've not changed any configuration on sentry, but I get this error while uploading sourcemaps:It seems to create the release, but fails when uploading the sourcemaps. I've got no idea how to debug this - perhaps the error message could be improved?