启动报错
- Dominant language
- Java
- Stars
- 37.5k
- Forks
- 7.6k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 4
Description
- [ ] 我已经在 [issues](https://github.com/alibaba/arthas/issues) 里搜索,没有重复的issue。
### 环境信息
arthas-boot version: 3.6.6
### 重现问题的步骤

[ERROR] Start arthas failed, exception stack trace:
java.io.IOException: Connection reset by peer
at jdk.attach/sun.tools.attach.VirtualMachineImpl.read(Native Method)
at jdk.attach/sun.tools.attach.VirtualMachineImpl$SocketInputStream.read(VirtualMachineImpl.java:260)
at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.readInt(HotSpotVirtualMachine.java:328)
at jdk.attach/sun.tools.attach.VirtualMachineImpl.execute(VirtualMachineImpl.java:192)
at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.executeCommand(HotSpotVirtualMachine.java:309)
at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.getSystemProperties(HotSpotVirtualMachine.java:190)
at com.taobao.arthas.core.Arthas.attachAgent(Arthas.java:105)
at com.taobao.arthas.core.Arthas.(Arthas.java:27)
at com.taobao.arthas.core.Arthas.main(Arthas.java:161)
[ERROR] attach fail, targetPid: 26816
大佬救命啊。
Contributor guide
Research direction
Start with the reported arthas-boot 3.6.6 failure and the stack trace through com.taobao.arthas.core.Arthas.attachAgent, especially the JDK attach calls that end with Connection reset by peer. Reproduce the startup attempt with the reported target PID and environment details, then determine the cause and verify that Arthas can attach successfully without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100