Giter Club home page Giter Club logo

Comments (9)

tarzan avatar tarzan commented on May 24, 2024 6

UP! This forced us to revert the update from hackney 1.8.2 back to 1.8.1 as well. Got this stacktrace in my Elixir app:

** (exit) exited in: :gen_statem.call(#PID<0.187518.0>, {:recv, -1, 5000}, :infinity)
    ** (EXIT) an exception was raised:
        ** (CaseClauseError) no case clause matching: []
            (ssl 11.0.1) ssl_gen_statem.erl:1715: :ssl_gen_statem.iovec_from_front/4
            (ssl 11.0.1) ssl_gen_statem.erl:1551: :ssl_gen_statem.read_application_data_bin/8
            (ssl 11.0.1) tls_gen_connection.erl:427: :tls_gen_connection.handle_protocol_record/3
            (stdlib 5.0.1) gen_statem.erl:1377: :gen_statem.loop_state_callback/11
            (ssl 11.0.1) tls_connection.erl:162: :tls_connection.init/1
            (stdlib 5.0.1) proc_lib.erl:241: :proc_lib.init_p_do_apply/3
    (stdlib 5.0.1) gen.erl:246: :gen.do_call/4
    (stdlib 5.0.1) gen_statem.erl:905: :gen_statem.call/3
    (ssl 11.0.1) ssl_gen_statem.erl:1319: :ssl_gen_statem.call/2
    (hackney 1.18.2) /home/runner/work/my_app/my_app/deps/hackney/src/hackney_response.erl:170: :hackney_response.stream_body_recv/2
    (hackney 1.18.2) /home/runner/work/my_app/my_app/deps/hackney/src/hackney_response.erl:312: :hackney_response.read_body/3
    (hackney 1.18.2) /home/runner/work/my_app/my_app/deps/hackney/src/hackney.erl:520: anonymous fn/2 in :hackney.body/2
    (httpoison 2.1.0) lib/httpoison/base.ex:888: HTTPoison.Base.request/6
    iex:13: (file)

I would strongly advise pulling this release

from hackney.

nulian avatar nulian commented on May 24, 2024 3

@benoitc This bug is now released and breaks multiple requests for us with latest hackney.

from hackney.

benoitc avatar benoitc commented on May 24, 2024 1

fixed in maint.

from hackney.

gmile avatar gmile commented on May 24, 2024

We had to downgrade from 1.8.2 to 1.8.1 due to this issue exactly.

from hackney.

seb3s avatar seb3s commented on May 24, 2024

Same here, a downgrade from 1.8.2 to 1.8.1 was required

from hackney.

conradfr avatar conradfr commented on May 24, 2024

Same here.

What I used in mix (if that helps anyone):
{:hackney, git: "https://github.com/benoitc/hackney.git", tag: "1.18.1", override: true},

Also I can't understand why it's not catch in a try/catch when thrown inside a Httpoison.get! call ?

from hackney.

benoitc avatar benoitc commented on May 24, 2024

isssue have been introduced in 5e74354 . working on it.

from hackney.

benoitc avatar benoitc commented on May 24, 2024

Please check #724 PR and let me know.

from hackney.

AnufrievDE avatar AnufrievDE commented on May 24, 2024

Thanks! I'll check

from hackney.

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.