"Bad HTTP version" in blaze-client
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- networking
Hướng nghiên cứu
Tái hiện các request thành công và thất bại xen kẽ bằng curl, đồng thời so sánh các file error.log và ok.log được liên kết. Sau đó, lần theo quá trình phân tích response qua Http1Connection.scala, BlazeHttp1ClientParser.scala và Http1ClientParser.java, sử dụng thay đổi được tham chiếu http4s/http4s#2458 làm ngữ cảnh. Công việc được hoàn tất khi các request bị ảnh hưởng không còn tạo ra lỗi Bad HTTP version.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
We are getting exceptions like below after trying to upgrade to v0.20.10.
Bad HTTP version: DSLU":
org.http4s.blaze.http.parser.BaseExceptions$BadMessage: Bad HTTP version: DSLU":
at org.http4s.blaze.http.parser.Http1ClientParser.parseResponseLine(Http1ClientParser.java:122) ~[blaze-http_2.12-0.14.8.jar:0.14.8]
at org.http4s.client.blaze.BlazeHttp1ClientParser.finishedResponseLine(BlazeHttp1ClientParser.scala:49) ~[http4s-blaze-client_2.12-0.20.10.jar:0.20.10]
at org.http4s.client.blaze.Http1Connection.parsePrelude(Http1Connection.scala:208) ~[http4s-blaze-client_2.12-0.20.10.jar:0.20.10]
at org.http4s.client.blaze.Http1Connection.$anonfun$readAndParsePrelude$1(Http1Connection.scala:189) ~[http4s-blaze-client_2.12-0.20.10.jar:0.20.10]
at org.http4s.client.blaze.Http1Connection.$anonfun$readAndParsePrelude$1$adapted(Http1Connection.scala:188) ~[http4s-blaze-client_2.12-0.20.10.jar:0.20.10]
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60) [scala-library-2.12.1.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
After investigation it turns out to be caused by http4s/http4s#2458:
In my reproduction, curling a particular request on v0.20.10 results in the above exception every other request, the other half goes ok. See https://gist.github.com/rintcius/f01dfe9e113458dbd0df530783cbddc2 for the error.log and ok.log. Using v0.20.10 with http4s/http4s#2458 reverted these requests return ok.
- Ngôn ngữ chính
- Scala
- Star
- 371
- Fork
- 63
- Merge trung bình
- 2 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của http4s/blaze
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
-
support
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Issue tương tự
-
Bound wrong-magic P2P diagnostics to parsed header bytesCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ergoplatform/ergo#2736 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
perf: use extend when buffering partition row indices in the native shuffle writerCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởarea:shuffle enhancement good first issue performance requires-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/datafusion-comet#7072 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug 🐞 CI/CD ⚒️
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
valkey-io/valkey-glide#7370 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Improve UI text on confirmation page (at registration)Có thể đã có người làm @Arghyann đã nhận 1 ngày trước. Đang mởgood first issue improvement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
lichess-org/lila#22126 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[VL] Remove the unused ShuffleSchema.hCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 2 ngày