Giter Club home page Giter Club logo

Comments (6)

kaievns avatar kaievns commented on July 24, 2024

Just in case here is my mix.lock

%{"hackney": {:hex, :hackney, "1.3.1"},
  "idna": {:hex, :idna, "1.0.2"},
  "instream": {:git, "git://github.com/mneudert/instream.git", "da519f3450950e7ee79ad8f9c0d2e72d9b046093", []},
  "meck": {:hex, :meck, "0.8.3"},
  "mock": {:git, "git://github.com/jjh42/mock.git", "5a6bb6dd70ccc54997dda72f18f0ab85138c1253", []},
  "poison": {:hex, :poison, "1.5.0"},
  "poolboy": {:hex, :poolboy, "1.5.1"},
  "ssl_verify_hostname": {:hex, :ssl_verify_hostname, "1.0.5"}}

from instream.

mneudert avatar mneudert commented on July 24, 2024

Well, the terminate/2 method is definitely not there and it is expected to blow up if there is any real error with the server.

Another problem may be a missing :hackney in the applications of your mix file. The first error line Instream.Pool.Worker.terminate({:noproc, {:gen_server, :call, [:hackney_manager ... at least looks like that. Could you check if that resolves your problems?

Then it is just a matter of fixing the docs to fix your problem. (And maybe finally completing the otp behaviour...)

from instream.

kaievns avatar kaievns commented on July 24, 2024

em... hackney is the first line on the mix.lock i posted. it's also in the deps/ folder as well. it compiles and everything

from instream.

mneudert avatar mneudert commented on July 24, 2024

I am talking about mix.exs and the applications started there:

  def application do
    [ applications: [ :hackney ]]
  end

That part is missing in the docs and might be the root of your problem.

from instream.

kaievns avatar kaievns commented on July 24, 2024

agh! that was it! and that's actually in your readme as well. sorry about that, totally my fault!

in any case thanks for the help and a quick answer. really appreciate it!

and thanks for the lib too! :)

from instream.

mneudert avatar mneudert commented on July 24, 2024

😌

from instream.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.