Getting 'ERROR: transport error 202: recv error: Connection reset by peer' while debugging
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
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- java, typescript, vscode
- Lĩnh vực
- devtools
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện việc ngắt kết nối với VS Code, extension, JDK, Windows, cấu hình attach và dự án Maven đa mô-đun lớn đã được báo cáo. So sánh hành vi với issue liên quan 164; được xem là hoàn tất khi trình gỡ lỗi vẫn duy trì kết nối trong khi ứng dụng tiếp tục chạy.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Environment:
- VS Code Version: 1.73.1
- Extension Version: Language Support for Java(TM) by Red Hat v1.13.2022111603
- JDK Type & Version: Oracle jdk1.8.0_351 - 32bit
- OS Type & Version: Windows 10 Enterprise
Step to Reproduce:
- Open an existing multi-module maven project in VS Code and wait until it is fully loaded. This project is relatively huge.
- Setup
launch.jsonwithattachandlaunchfor Java Project - The
launchconfig is working fine. Still, after a couple of minutes, I getERROR: transport error 202: recv error: Connection reset by peerin the terminal, and the debugger is disconnected. - The same happens with the
attachconfig. - I am able to debug successfully as long as the debugger is not disconnected.
- When debugging in the
attachconfig, the debugger keeps on listening, and I can attach again, but it will disconnect after a couple of minutes. - Even after the debugger is disconnected, the application is still active.
- The command used to start the debugger in
attachmode is:
C:\apps\jdk1.8.0_271\bin\java.exe "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=localhost:60082" '-Xincgc -Xms64m -Xmx950m' '-Dsun.security.ssl.allowUnsafeRenegotiation="true"' '-Djava.security.policy="policy.all"' '-Dpython.home=".."' '-Dcom.ibm.mq.cfg.useIBMCipherMappings="false"' '-Xbootclasspath/p:class1 class2 ...' '-cp' '.\classpath.jar' 'mainClassName'
Note: The command above to start the debugger is mostly provided as it is the same one used to launch the actual application.
Launch Config for attach:
{
"type": "java",
"name": "Attach to java debug port 60082",
"projectName": "sarora",
"request": "attach",
"hostName": "localhost",
"port": "60082"
}
Expected Behavior:
- The debugger should remain active and should not disconnect
Actual Behavior:
- The debugger is disconnecting after a couple of minutes.
Related Issues:
I found this report to be similar:
https://github.com/microsoft/vscode-java-debug/issues/164
and I followed the instructions to do the needed troubleshooting but it is not working.
- Ngôn ngữ chính
- TypeScript
- Star
- 591
- Fork
- 429
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 19
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 microsoft/vscode-java-debug
-
ai-triaged enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
microsoft/vscode-java-debug#1689 · 2 bình luận ·
-
ai-triaged bug
microsoft/vscode-java-debug#1666 · 1 bình luận · 1 người được giao ·
-
ai-triaged bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
microsoft/vscode-java-debug#1658 · 1 bình luận ·
-
ai-triaged enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
microsoft/vscode-java-debug#1628 · 3 bình luận ·
-
Feature support. Đang mởai-triaged enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
microsoft/vscode-java-debug#1616 · 1 bình luận ·
Tất cả issue của microsoft/vscode-java-debug
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
fil-donadoni/tolaria#4409 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
corsairdev/corsair#1764 ·