-
-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS S3 file create HTTP 400 errors #693
Comments
@wpeterson Thanks for the report. Are you using fog directly or through an intermediary like carrierwave? Could you share an example of how you are calling it in the vicinity of one of the errors? A couple of guesses:
I'm not sure on either though, and could probably benefit from a bit more detail on your usage if you can share it. |
@geemus Thank you for looking/thinking further about this. We are using both
I've also included a redacted version of our Gemfile.lock if that's helpful (without the https://gist.github.com/wpeterson/d8785654dc8c6c1a9061eb9f9690498f |
Thanks for the extra details, just a little slow getting back to it as I'm on parental leave right now with a new baby so things are a little chaotic. A couple of follow up questions:
The only difference between 3.20.0 and 3.21.0 should be #691. On the plus side it's a fairly constrained change, on the less plus side, it's not immediately apparent to me how/why this would cause the problem, but hopefully since it's narrow we'll be able to pin it down without too much trouble. |
@geemus Thanks for looking into this and for all the work that goes into open source. This isn't urgent and you shouldn't feel the need to look at this if you've got a new baby at home. Here's a slightly redacted stack trace showing the
|
@wpeterson Hey, finally trying to circle back to this now that I'm back to work. I strongly suspect that if you lock to that earlier fog-aws release it should avoid the issue (I wouldn't think the excon changes would be impactful for this in particular, but definitely let me know if that seems not to be the case). |
@wpeterson Thanks for the stack-trace, that is helpful. For instance, we can see that it goes to |
A couple of follow up questions to help narrow this down when you get the chance:
Sorry I don't have a ready answer, it's kind of a weird case and definitely something that we only see through a lot of layers of indirection, so just trying to narrow things down a bit more. Thanks. |
This issue has been marked inactive and will be closed if no further activity occurs. |
We recently upgraded a Rails app from
3.20.0
to3.21.0
and began seeing all of our writes/file creation calls to AWS S3 failing with a 400 error from S3s service calls:Example exception raised from
excon
client layer:I don't see any changes in
fog-aws
orexcon
that appears related, but confirmed upgrading tofog-aws
3.21.0
andexcon
0.104.0
causes this issue for us. Apologies for not having a simpler test case/reproduction, but thought I would log an issue in case other folks encounter this problem.The text was updated successfully, but these errors were encountered: