Last active
August 29, 2015 14:24
-
-
Save aarondufall/575a070e0ac442e589e8 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
2015-07-12T00:51:18.966610+00:00 app[web.1]: | |
2015-07-12T00:51:20.107453+00:00 heroku[web.1]: State changed from starting to crashed | |
2015-07-12T00:51:20.108642+00:00 heroku[web.1]: State changed from crashed to starting | |
2015-07-12T00:51:20.090710+00:00 heroku[web.1]: Process exited with status 1 | |
2015-07-12T00:51:28.011296+00:00 heroku[web.1]: Starting process with command `mix phoenix.server` | |
2015-07-12T00:51:37.672540+00:00 app[web.1]: {"Kernel pid terminated",application_controller,"{application_start_failure,swagger,{{shutdown,{failed_to_start_child,'Elixir.Swagger.Endpoint',{shutdown,{failed_to_start_child,'Elixir.Phoenix.Endpoint.Server',{function_clause,[{'Elixir.Keyword',put_new,[{system,<<\"PORT\">>},otp_app,swagger],[{file,\"lib/keyword.ex\"},{line,320}]},{'Elixir.Phoenix.Endpoint.Server',default,3,[{file,\"lib/phoenix/endpoint/server.ex\"},{line,39}]},{'Elixir.Phoenix.Endpoint.Server',init,1,[{file,\"lib/phoenix/endpoint/server.ex\"},{line,24}]},{supervisor,init,1,[{file,\"supervisor.erl\"},{line,243}]},{gen_server,init_it,6,[{file,\"gen_server.erl\"},{line,306}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,237}]}]}}}}},{'Elixir.Swagger',start,[normal,[]]}}}"} | |
2015-07-12T00:51:41.294552+00:00 app[web.1]: | |
2015-07-12T00:51:41.294606+00:00 app[web.1]: Crash dump was written to: erl_crash.dump | |
2015-07-12T00:51:41.295138+00:00 app[web.1]: Kernel pid terminated (application_controller) ({application_start_failure,swagger,{{shutdown,{failed_to_start_child,'Elixir.Swagger.Endpoint',{shutdown,{failed_to_start_child,'Elixir.Phoenix.Endpoi | |
2015-07-12T00:51:42.208484+00:00 heroku[web.1]: Process exited with status 1 | |
2015-07-12T00:51:42.220075+00:00 heroku[web.1]: State changed from starting to crashed | |
2015-07-12T00:59:59.565090+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=swagger-app.herokuapp.com request_id=02b2fb70-3395-47ee-ab38-56ed75af2ebb fwd="70.36.63.26" dyno= connect= service= status=503 bytes= | |
2015-07-12T01:00:00.256478+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=swagger-app.herokuapp.com request_id=b2f88b36-191a-4e5c-8bbd-318c31158f77 fwd="70.36.63.26" dyno= connect= service= status=503 bytes= |
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
use Mix.Config | |
# For production, we configure the host to read the PORT | |
# from the system environment. Therefore, you will need | |
# to set PORT=80 before running your server. | |
# | |
# You should also configure the url host to something | |
# meaningful, we use this information when generating URLs. | |
# | |
# Finally, we also include the path to a manifest | |
# containing the digested version of static files. This | |
# manifest is generated by the mix phoenix.digest task | |
# which you typically run after static files are built. | |
config :swagger, Swagger.Endpoint, | |
http: {:system, "PORT"}, | |
url: [host: "example.com"], | |
cache_static_manifest: "priv/static/manifest.json" | |
# ## SSL Support | |
# | |
# To get SSL working, you will need to add the `https` key | |
# to the previous section: | |
# | |
# config :swagger, Swagger.Endpoint, | |
# ... | |
# https: [port: 443, | |
# keyfile: System.get_env("SOME_APP_SSL_KEY_PATH"), | |
# certfile: System.get_env("SOME_APP_SSL_CERT_PATH")] | |
# | |
# Where those two env variables point to a file on | |
# disk for the key and cert. | |
# Do not print debug messages in production | |
config :logger, level: :info | |
# ## Using releases | |
# | |
# If you are doing OTP releases, you need to instruct Phoenix | |
# to start the server for all endpoints: | |
# | |
# config :phoenix, :serve_endpoints, true | |
# | |
# Alternatively, you can configure exactly which server to | |
# start per endpoint: | |
# | |
# config :swagger, Swagger.Endpoint, server: true | |
# | |
# Finally import the config/prod.secret.exs | |
# which should be versioned separately. | |
# import_config "prod.secret.exs" | |
# In this file, we keep production configuration that | |
# you likely want to automate and keep it away from | |
# your version control system. | |
config :swagger, Swagger.Endpoint, | |
secret_key_base: "[hidden]" | |
# Configure your database | |
config :swagger, Swagger.Repo, | |
adapter: Ecto.Adapters.Postgres, | |
url: System.get_env("DATABASE_URL"), | |
size: 20 # The amount of database connections in the pool |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment