stavro/arc_ecto

Image Uploading on S3 not working

Opened this issue · 3 comments

Hello @stavro

I'm quite new to Phoenix & I liked your 2 libraries arc & arc_ecto, since they make it quite straightforward the whole process of uploading images on S3.

However for the past couple of days I couldn't make it to work & I don't know how to debug it, since I'm getting nothing useful in the stack-trace about possible issues.

I followed your implementation process & when I upload the image what I get as a response is that I have no image selected although the image is actually in it's temporary directory on the server.

This is a gist of the relevant code of my implementation of your library.

The versions of the libraries that I use are

  {:ex_aws, "~> 0.4.18"},
  {:httpoison, "~> 0.8.3"},
  {:arc_ecto, "~> 0.3.2"}

Any advice and insight is welcome,

Thanks!
@kexoth

What region is the bucket in?

The bucket is in eu-central-1 (Frankfurt).

Can you test for me with a bucket in US Standard just to isolate the behavior? There are some quirks with alternate regions I haven't been able to pindown yet.