-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting 'ERROR: transport error 202: recv error: Connection reset by peer' while debugging #1269
Comments
Did you try a newer JDK (e.g. JDK 17) on this? |
I didn't as the project requires jdk 1.8. |
A coworker of mine is getting the same problem in a highly-secured corporate environment. Seems that it making a call out to the internet somewhere @testforstephen ? But he's only getting it for a specific complex project and not a simple minimal one. I'm asking him to add things from the complex project to a simple one until it breaks. @tarekahf fyi if you just need java 8 you can use jdk 11 as it's backwards compatible. My coworker is using jdk 11 and gets the same problem, didn't try jdk 17 |
Please try this command in the terminal to see if you can use the jdk debug tool:
|
@jcrben @testforstephen thank you for the reply. It's too late now, as I switched to Eclipse, and not facing such issues at all. I will try again using vscode (because it has other cool features not in eclipse) when I have the chance. |
@testforstephen mysteriously it started working for my coworker now. there may have been some firewall configuration behind the scenes that addressed it |
Environment:
Step to Reproduce:
launch.json
withattach
andlaunch
for Java Projectlaunch
config is working fine. Still, after a couple of minutes, I getERROR: transport error 202: recv error: Connection reset by peer
in the terminal, and the debugger is disconnected.attach
config.attach
config, the debugger keeps on listening, and I can attach again, but it will disconnect after a couple of minutes.attach
mode is: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:
Expected Behavior:
Actual Behavior:
Related Issues:
I found this report to be similar:
#164
and I followed the instructions to do the needed troubleshooting but it is not working.
The text was updated successfully, but these errors were encountered: