-
Notifications
You must be signed in to change notification settings - Fork 92
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
Error when uploading file from Remote URL #10
Comments
Could you provide a full stack trace for this please? |
@jnicklas here is what I have: Completed 500 Internal Server Error in 446ms IOError (closed stream):
app/controllers/users_controller.rb:58:in `block in update'
app/controllers/users_controller.rb:57:in `update'
|
I have the same problem, has any one found a workaround for this? |
The bug was caused by aws-sdk, since it did not ensure that the file it received to create a md5 checksum was open. See the above pull request for more information. The file is by default closed by rest-client after its downloaded on this line in refile: |
Thanks @ohenrik ! I hope that PR can get merged in quickly. :) |
@ohenrik this is now resolved in the latest release of the |
Since upgraded to the new, extracted refile-s3 gem, adding a profile photo via a remote URL gives me this error:
Traditional uploads via uploading a local file from my computer works fine
The text was updated successfully, but these errors were encountered: