Comments (9)
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.
@benoitc This bug is now released and breaks multiple requests for us with latest hackney.
from hackney.
fixed in maint.
from hackney.
We had to downgrade from 1.8.2 to 1.8.1 due to this issue exactly.
from hackney.
Same here, a downgrade from 1.8.2 to 1.8.1 was required
from hackney.
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.
isssue have been introduced in 5e74354 . working on it.
from hackney.
Please check #724 PR and let me know.
from hackney.
Thanks! I'll check
from hackney.
Related Issues (20)
- Incorrect Host header used on redirected requests HOT 2
- Hackney should ignore 1XX responses HOT 1
- Status codes as floats HOT 2
- Connection timeout errors
- Authorization header on redirect
- Need a way to set filename for Content-Disposition when uploading file-data from memory HOT 4
- invalid_proxy_transport - returned with https proxy requesting https host HOT 7
- relative paths in the location header are not properly redirected
- parse_trans needed at runtime?
- Incorrect URL parsing when path is not set and query contains `/` character HOT 2
- Pool connection not freed when response code is 307 (with example! :tada: ) HOT 2
- Failing to access localhost on macOS
- Multiple Cookie headers in request HOT 1
- `content-type` corrupted if supplied as list/string instead of binary HOT 1
- GET request with basic authorization -- "HTTP request failed: bad_request" HOT 2
- Hackney can not handle very large responses. HOT 1
- FunctionClauseError no function clause matching in :hackney_response.stream_body_recv/2 HOT 6
- DNS lookups with connection pooling
- `secure_renegotiate` and `reuse_sessions` is incompatible with `tlsv1.3`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hackney.