bytedance / bytedance/btrace

java.net.SocketException: Unexpected end of file from server

Open
#220 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
335
PR merge metrics
No merged PRs in 30d

Description

9037
05-22 12:04:06.375 E RheaTrace : java.net.SocketException: Unexpected end of file from server
at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:955)
at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:762)
at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:952)
at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:762)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1709)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1610)
at java.base/java.net.URL.openStream(URL.java:1161)
at org.apache.commons.io.IOUtils.toString(IOUtils.java:3204)
at org.apache.commons.io.IOUtils.toString(IOUtils.java:3179)
at org.apache.commons.io.IOUtils.toString(IOUtils.java:3293)
at com.bytedance.rheatrace.Adb$Http.get(Adb.java:227)
at com.bytedance.rheatrace.Main.main(Main.java:94)

Contributor guide

Open the contributing guide

Research direction

Start by reading Adb.java around line 227 and Main.java around line 94 to identify the HTTP request and its caller. Reproduce the reported java.net.SocketException with the same command or server conditions, then determine the expected behavior for an unexpected end of response and document a testable completion condition.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.