Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL not available #17

Open
Secasp opened this issue May 30, 2018 · 3 comments
Open

SSL not available #17

Secasp opened this issue May 30, 2018 · 3 comments

Comments

@Secasp
Copy link

Secasp commented May 30, 2018

Hi, I'm new with Elixir based apps and following your steps, the next error was shown when I tried to run the migrations with ecto.setup:

18:35:48.949 [error] Postgrex.Protocol (#PID<0.415.0>) failed to connect: ** (Postgrex.Error) ssl not available

I've tried upgrading and recompiling all the libraries, incluiding the postgrex, I removed the SSL parameter located in the Auth configuration. It is something that I`m missing?

Thank you.

@wojtekmach
Copy link
Owner

What OS do you use? Seems like your Erlang installation hasnt been compiled with ssl so I’d start there, even though its not needed for this particular project it will be helpful elsewhere.

I can recommend https://github.com/asdf-vm/asdf-elixir and Erlang plugin from that project, it worked flawlessly on OSX and Linux for me; they have instructions how to install on different OSes.

@Secasp
Copy link
Author

Secasp commented May 30, 2018

Thank you for the quick answer, I used two different docker images to build the app. Ubuntu 16.04 and the other is an Elixir image that I got form docker-hub, and the Elixir version that I'm using is 1.6.5.

@wojtekmach
Copy link
Owner

are you using official docker image for elixir? I can check it after the weekend, in the meantime I'd recommend to find help elsewhere: elixirforum, slack, irc. Also, check if you can run a simple phoenix app (created with mix phx.new), or if it's indeed a problem with acme_bank.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants