Created
April 10, 2014 23:53
-
-
Save knewter/10432898 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BeamToolbox.Router.start | |
>> Running Elixir.BeamToolbox.Router with Cowboy with [port: nil, ssl: false] | |
18:49:54.065 [error] CRASH REPORT Process <0.285.0> with 0 neighbours exited with reason: bad argument in gen_server:init_it/6 line 330 | |
18:49:54.066 [error] Supervisor {<0.283.0>,ranch_listener_sup} had child ranch_acceptors_sup started with ranch_acceptors_sup:start_link('Elixir.BeamToolbox.Router.HTTP', 100, ranch_tcp, [{port,nil},{ssl,false}]) at undefined exit with reason badarg in context start_error | |
{:error, | |
{{:shutdown, {:failed_to_start_child, :ranch_acceptors_sup, :badarg}}, | |
{:child, :undefined, {:ranch_listener_sup, BeamToolbox.Router.HTTP}, | |
{:ranch_listener_sup, :start_link, | |
[BeamToolbox.Router.HTTP, 100, :ranch_tcp, [port: nil, ssl: false], | |
:cowboy_protocol, | |
[env: [dispatch: [{:_, [], | |
[{:_, [], Plug.Adapters.Cowboy.Handler, {BeamToolbox.Router, []}}]}]], | |
compress: false]]}, :permanent, 5000, :supervisor, | |
[:ranch_listener_sup]}}} | |
iex(2)> Config.for(BeamToolbox) | |
** (UndefinedFunctionError) undefined function: Config.for/1 | |
Config.for(BeamToolbox) | |
iex(2)> Phoenix.Config.for(BeamToolbox) | |
BeamToolbox.Config.Dev | |
iex(3)> Phoenix.Config.for(BeamToolbox).router | |
[port: "4000", ssl: false] | |
iex(4)> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment