Getting 'ERROR: transport error 202: recv error: Connection reset by peer' while debugging
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- java, typescript, vscode
- 領域
- devtools
研究方向
首先,使用所回報的 VS Code、擴充功能、JDK、Windows、attach 設定和大型多模組 Maven 專案,重現中斷連線的問題。將行為與相關 issue 164 進行比較;當應用程式持續執行時除錯器仍保持連線,即表示完成。
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- TypeScript
- 星號
- 591
- 分支
- 431
- 平均合併
- 21 小時 35 分鐘
- 30 天內合併 PR
- 16
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/vscode-java-debug 的其他 Issue
-
java未關閉ai-triaged needs more info
難度 5/5 一週以上 新手友好度 1/100
microsoft/vscode-java-debug#1707 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
Stopping a Java Application with the debugger Stop button dos not work可能已有人在做 @chagong 於 6 天前認領。 未關閉ai-triaged bug
microsoft/vscode-java-debug#1705 · 1 則留言 · 1 個 reaction · 已指派 1 人 ·
維護者通常 1 天內回覆
-
ai-triaged enhancement
難度 3/5 1-2 天 新手友好度 55/100
microsoft/vscode-java-debug#1689 · 3 則留言 ·
維護者通常 1 天內回覆
-
Extension appends malformed string to PATH可能重新可做 @wenytang-ms 於 56 天前認領,目前沒有進行中的 PR。 未關閉ai-triaged bug
microsoft/vscode-java-debug#1666 · 1 則留言 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
ai-triaged bug
難度 3/5 1-2 天 新手友好度 48/100
microsoft/vscode-java-debug#1658 · 1 則留言 ·
維護者通常 1 天內回覆
查看 microsoft/vscode-java-debug 的全部 Issue
相似的 Issue
-
failed-test failure:ai-fixable failure:test-needs-update Team:One Workflow
難度 2/5 1-3 小時 新手友好度 68/100
elastic/kibana#295360 · 2 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
ehmpathy/rhachet-roles-bhrain#586 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 75/100
OHDSI/Data2Evidence#3496 ·
維護者通常 2 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
apache/rocketmq-dashboard#5594 ·
維護者通常 3 天內回覆
-
react-doctor severity:warning tech-debt
難度 1/5 1 小時以內 新手友好度 82/100
digidem/comapeo-cloud-app#418 ·
維護者通常 1 天內回覆