Advertisement
Guest User

Untitled

a guest
Jan 28th, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. [error] GenServer #PID<0.178.0> terminating
  2. ** (DBConnection.ConnectionError) tcp connect (postgres://*****@aws-us-east-1-portal.5.dblayer.com:16786/compose:5432): non-existing domain - :nx
  3. domain
  4. (db_connection) lib/db_connection/connection.ex:148: DBConnection.Connection.connect/2
  5. (connection) lib/connection.ex:622: Connection.enter_connect/5
  6. (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
  7. Last message: nil
  8. State: Postgrex.Protocol
  9. ** (Mix) The database for HelloPhoenix.Repo couldn't be created: an exception was raised:
  10. ** (DBConnection.ConnectionError) tcp connect (postgres://****@aws-us-east-1-portal.5.dblayer.com:16786/compose:5432): non-existing domain -
  11. :nxdomain
  12. (db_connection) lib/db_connection/connection.ex:148: DBConnection.Connection.connect/2
  13. (connection) lib/connection.ex:622: Connection.enter_connect/5
  14. (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
  15.  
  16. defp deps do
  17. [{:phoenix, "~> 1.2.1"},
  18. {:phoenix_pubsub, "~> 1.0"},
  19. {:phoenix_ecto, "~> 3.0"},
  20. {:postgrex, ">= 0.0.0"},
  21. {:phoenix_html, "~> 2.6"},
  22. {:phoenix_live_reload, "~> 1.0", only: :dev},
  23. {:gettext, "~> 0.11"},
  24. {:cowboy, "~> 1.0"}]
  25. end
  26.  
  27. # Configure your database
  28. config :hello_phoenix, HelloPhoenix.Repo,
  29. adapter: Ecto.Adapters.Postgres,
  30. username: "admin",
  31. password: "******",
  32. database: "compose",
  33. hostname: "postgres://admin:******@aws-us-east-1-portal.5.dblayer.com:16786/compose",
  34. pool_size: 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement