Closed stayhero closed 8 years ago
Ok, got it. The issue was caused by a missing timeout config in the Phoenix app.
config/config.exs:
config :fintex, :http_options, [ timeout: 10_000 ]
Probably it makes sense to support a default timeout value? Or throw a nicer error message? I created a very basic pull request #3, feel free to throw it away if you don't like it. :-)
Hi.
I'm not really familiar with Elixir yet, hence this is most likely not a fintex issue but rather a rookie mistake I'm making.
I wanted to use fintex from within a Phoenix application. I added fintex to mix.exs (as dependency and as an application): https://github.com/stayhero/fintex-sample-phoenix
However... starting the phoenix app, I get weird errors when trying to use fintex:
I get this:
Am I doing something stupid here? If I had to guess I would bet on a problem with ibrowse or some too old/new dependencies introduced by Phoenix?