manukall / phoenix_token_auth

Token authentication solution for Phoenix. Useful for APIs for e.g. single page apps.
MIT License
163 stars 39 forks source link

Update deps #18

Closed ACPK closed 9 years ago

ACPK commented 9 years ago

Updated Mix.exs

manukall commented 9 years ago

Thanks @ACPK!

ACPK commented 9 years ago

@manukall Sorry and looking into it along with another error I found. Any clue what's causing the issue below as the site gets an error when the app tries to send a confirmation email?

00:51:00.774 [error] GenServer Hound.SessionServer terminating
** (exit) an exception was raised:
    ** (MatchError) no match of right hand side value: {:error, %HTTPoison.Error{id: nil, reason: :econnrefused}}
        (hound) lib/hound/request_utils.ex:40: Hound.RequestUtils.send_req/4
        (hound) lib/hound/session_server.ex:22: Hound.SessionServer.handle_call/3
        (stdlib) gen_server.erl:607: :gen_server.try_handle_call/4
        (stdlib) gen_server.erl:639: :gen_server.handle_msg/5
        (stdlib) proc_lib.erl:237: :proc_lib.init_p_do_apply/3
manukall commented 9 years ago

this looks like hound can't connect to selenium of phantomjs. are they running?

ACPK commented 9 years ago

@manukall - Yes but why would Hound break the site when a user signs up in the dev environment?

manukall commented 9 years ago

i really don't know. usually hound shouldn't even be available in the dev environment. in the example app i added it as {:hound, ">= 0.6.0", only: :test} in mix.exs, so it's only available in the test environment.