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

Error when running seed.exs #53

Closed
cdesch opened this issue Jan 23, 2020 · 3 comments
Closed

Error when running seed.exs #53

cdesch opened this issue Jan 23, 2020 · 3 comments

Comments

@cdesch
Copy link

cdesch commented Jan 23, 2020

I ran into this error when getting setup with the readme process:

docker-compose up -d
mix deps.get
cd apps/ui/assets && npm install && cd ../../..
cd apps/hefty && mix ecto.reset && cd ../..

when running cd apps/hefty && mix ecto.reset && cd ../.. i get the following error

20:06:53.661 application=ecto_sql module=Ecto.Migration.Runner [info] == Migrated 20190820071000 in 0.0s
20:06:53.677 application=ecto_sql module=Ecto.Migration.Runner [info] == Running 20190911200414 Hefty.Repo.Migrations.CreateSettingsTable.change/0 forward
20:06:53.677 application=ecto_sql module=Ecto.Migration.Runner [info] create table settings
20:06:53.680 application=ecto_sql module=Ecto.Migration.Runner [info] == Migrated 20190911200414 in 0.0s
20:06:59.217 [info] Fetching exchange info to retrieve assets and symbols
** (MatchError) no match of right hand side value: {:error, {:http_error, %HTTPoison.Error{id: nil, reason: {:option, :server_only, :honor_cipher_order}}}}
    priv/repo/seeds.exs:111: (file)
    (elixir) lib/code.ex:813: Code.require_file/2
    (mix) lib/mix/tasks/run.ex:145: Mix.Tasks.Run.run/5
    (mix) lib/mix/tasks/run.ex:85: Mix.Tasks.Run.run/1
    (mix) lib/mix/task.ex:331: Mix.Task.run_task/3
    (mix) lib/mix/task.ex:365: Mix.Task.run_alias/3
    (mix) lib/mix/task.ex:292: Mix.Task.run/2
    (mix) lib/mix/task.ex:365: Mix.Task.run_alias/3
    (mix) lib/mix/task.ex:292: Mix.Task.run/2
    (mix) lib/mix/cli.ex:79: Mix.CLI.run_task/2

I looks like the migrations run fine but there is an issue with the seed.exs

is there some binance configuration that needs to be done?

@cdesch
Copy link
Author

cdesch commented Jan 23, 2020

I did put the api_key and secret in config.exs.... still get the same error

@ghost
Copy link

ghost commented Jan 23, 2020

benoitc/hackney#591

@cdesch
Copy link
Author

cdesch commented Jan 23, 2020

thanks. I made the pull request on the binance.ex library to fix

@cdesch cdesch closed this as completed Jan 23, 2020
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

1 participant