prasmussen / glot-run

API for running code inside docker containers
https://run.glot.io/
MIT License
147 stars 48 forks source link

Failed to boot glot #27

Closed stephenjesus closed 5 years ago

stephenjesus commented 5 years ago

Failed to boot glot for reason {bad_return, {{glot_app,start,[normal,[]]}, {'EXIT', {{badmatch, {error, {{shutdown, {failed_to_start_child, ranch_acceptors_sup, {{badmatch, {error,eaddrinuse}}, [{ranch_acceptors_sup, init,1, [{file, "/home/ubuntu/glot-run/_build/default/lib/ranch/src/ranch_acceptors_sup.erl"}, {line,30}]}, {supervisor,init,1, [{file, "supervisor.erl"}, {line,287}]}, {gen_server, init_it,6, [{file, "gen_server.erl"}, {line,328}]}, {proc_lib, init_p_do_apply,3, [{file, "proc_lib.erl"}, {line,240}]}]}}}, {child,undefined, {ranch_listener_sup, http}, {ranch_listener_sup, start_link, [http,100,ranch_tcp, [{ip,{0,0,0,0}}, {port,8090}], cowboyprotocol, [{env, [{dispatch, [{'',[], [{[],[], root_resource, []}, {[<<"admin">>], [], admin_root_resource, []}, {[<<"admin">>, <<"users">>], [], admin_users_resource, []}, {[<<"admin">>, <<"users">>, id], [], admin_user_resource, []}, {[<<"admin">>, <<"languages">>], [], admin_languages_resource, []}, {[<<"admin">>, <<"languages">>, id], [], admin_language_resource, []}, {[<<"images">>], [], images_resource, []}, {[<<"languages">>], [], languages_resource, []}, {[<<"languages">>, name], [], language_resource, []}, {[<<"languages">>, name, version], [], language_run_resource, []}]}]}]}, {onrequest,

Fun},

                                                      {onresponse,
                                                       #Fun<http_util.log_response.4>}]]},
                                                   permanent,infinity,
                                                   supervisor,
                                                   [ranch_listener_sup]}}}},
                                               [{glot_app,
                                                 start_http_server,0,
                                                 [{file,
                                                   "/home/ubuntu/glot-run/_build/default/lib/glot/src/glot_app.erl"},
                                                  {line,40}]},
                                                {glot_app,start,2,
                                                 [{file,
                                                   "/home/ubuntu/glot-run/_build/default/lib/glot/src/glot_app.erl"},
                                                  {line,18}]},
                                                {application_master,
                                                 start_it_old,4,
                                                 [{file,
                                                   "application_master.erl"},
                                                  {line,273}]}]}}}}