java.net.SocketException: Connection reset
See original GitHub issueSummary
Often - but not always - I’m seeing this in the Stryker4S log:
04:09:27.238 [scala-execution-context-global-360] INFO stryker4s.report.ConsoleReporter - Starting test-run 173...
04:09:44.310 [scala-execution-context-global-360] INFO stryker4s.run.TestRunner$$anon$2 - TestRunner crashed for mutant 172. Starting a new one and retrying this mutant 2 more time(s)
[error] java.net.SocketException: Connection reset
[error] at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186)
[error] at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
[error] at java.base/java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2824)
[error] at java.base/java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2840)
[error] at java.base/java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3337)
[error] at java.base/java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:925)
[error] at java.base/java.io.ObjectInputStream.<init>(ObjectInputStream.java:368)
[error] at stryker4s.sbt.runner.TestRunnerConnection$.$anonfun$create$4(TestRunnerConnection.scala:44)
I don’t exactly understand what is happening here, and why I’m seeing this message. From the message, I don’t know what to do either.
You can check the full logs in GitHub actions.
Stryker4s config
stryker4s {
base-dir = "app"
mutate = [
"src/main/scala/**/*.scala"
]
reporters = [
console,
dashboard
]
}
Stryker4s environment
stryker4s 0.9.1+106-39ba27bd-SNAPSHOT
Your Environment
software | version(s) |
---|---|
Scala version | 2.13.1 |
Build tool & version | SBT 1.3.13 |
Operating System | Ubuntu Linux |
Issue Analytics
- State:
- Created 3 years ago
- Comments:22 (22 by maintainers)
Top Results From Across the Web
java.net.SocketException: Connection reset
Connection reset simply means that a TCP RST was received. This happens when your peer receives data that it can' ...
Read more >How to Fix with java.net.SocketException: Connection reset ...
The java.net.SocketException: Connection reset error usually comes when one of the parties in TCP connection like client or server is trying to read/write...
Read more >How to resolve java.net.SocketException: Connection reset
This SocketException occurs on the server side when the client closed the socket connection before the response could be returned over the socket....
Read more >How To Fix Internet Exception java.net.socketexception ...
Renew Your System IP Address · Go to your search window on your PC and type in “ cmd ” to open your...
Read more >How does java net SocketException Connection reset ...
The java.net.SocketException: Connection reset error usually comes when one of the parties in TCP connection like client or server is trying to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It seems that the last run (with Stryker 0.10) re-introduced those mutants. Let’s close this case for now…
I’m now on 0.10.0-RC2, and the dashboard is updated nightly. Haven’t tried with 0.10.0-RC3 recently, somehow ScalaSteward didn’t offer a pull request just yet 😉