Skip to content
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

Arc sometimes does not save files #281

Open
DmitryKK opened this issue Jun 12, 2019 · 0 comments
Open

Arc sometimes does not save files #281

DmitryKK opened this issue Jun 12, 2019 · 0 comments

Comments

@DmitryKK
Copy link

DmitryKK commented Jun 12, 2019

Environment

  • Elixir version (elixir -v): Elixir 1.8.1
  • Arc version (mix deps): 0.11.0
  • Arc dependencies when applicable (mix deps): arc_ecto (0.11.2), ecto (2.2.12)
  • Operating system: mac os

I have very weird situation with arc. I use arc_ecto and have a model with an attachment field. My genserver (1) passes the remote path to another genserver (2) (sync) where the message is saved. Arc uploads file by remote path. My genserver (2) replies to the genserver (1) that the message was successfully uploaded and saved in database. But the file is missing in my storage dir. This behavior does not always occur. I don't have a clear reproduction algorithm. The only thing I noticed is that the genserver (1) always gets an error before this:

2019-06-12 15:54:17.037 [error] Agala.Bot.Handler :"#Agala.Bot.Handler<name>" received unexpected message in handle_info/2: {#Reference<0.4156968029.1152122882.243458>, :ok}

2019-06-12 15:54:17.037 [error] Agala.Bot.Handler :"#Agala.Bot.Handler<name>" received unexpected message in handle_info/2: {:DOWN, #Reference<0.4156968029.1152122882.243458>, :process, #PID<0.8292.0>, :normal}

What's going on? Please help me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant