Hello,
I’m deployed my application in Heroku, but although deploy ok, in browser show view: “Application Error” (Image)
In log show message:
at=error code=H10 desc=“App crashed” method=GET path=“/” host=boom-one.herokuapp.com request_id=90b53153-3cfc-4348-ae90-109e0b596e32 fwd=“191.178.6.99” dyno= connect= service= status=503 bytes= protocol=https
The Only clue of error is in log of application:
State changed from crashed to starting
2017-03-31T020 heroku[web.1]: Process exited with status 1
1]: Starting process with commandMIX_ENV=prod mix phoenix.server
=INFO REPORT==== 31-Mar-2017::02:20:04 ===
application: boom_one
exited: {{shutdown,
{failed_to_start_child,‘Elixir.BoomOne.Endpoint’,
{shutdown,
{failed_to_start_child,‘Elixir.Phoenix.Endpoint.Server’,
{shutdown,
{failed_to_start_child,
{ranch_listener_sup,‘Elixir.BoomOne.Endpoint.HTTP’},
{‘EXIT’,
{noproc,
{gen_server,call,
[ranch_server,
{set_new_listener_opts,‘Elixir.BoomOne.Endpoint.HTTP’,
16384,
[{env,
[{‘‘,[],
[{[<<“socket”>>,<<“websocket”>>],
[{dispatch,
[],‘Elixir.Phoenix.Endpoint.CowboyWebSocket’,
{‘Elixir.Phoenix.Transports.WebSocket’,
{‘Elixir.BoomOne.Endpoint’,
‘Elixir.BoomOne.UserSocket’,websocket}}},
{‘Elixir.BoomOne.Endpoint’,
{’’,,‘Elixir.Plug.Adapters.Cowboy.Handler’,
}}]}]}]}]}]}}}}}}}}},
{‘Elixir.BoomOne’,start,[normal,]}}
type: permanent
** (exit) exited in: GenServer.call(Mix.State, {:get, {Map, :get, [:debug, false]}}, 5000)
** (EXIT) no process
(mix) lib/mix/cli.ex:65: Mix.CLI.run_task/2
(elixir) lib/code.ex:363: Code.require_file/2
(elixir) lib/gen_server.ex:596: GenServer.call/3
{“init terminating in do_boot”,{noproc,{gen_server,call,[elixir_config,{get_and_put,at_exit,}]}}}
init terminating in do_boot ()
Crash dump is being written to: erl_crash.dump…done
1]: Process exited with status 1
1]: State changed from starting to crashed
I followed this phoenix page tutorial on heroku.
Thanks in advance!