Bug 551393 - Unable to connect remote debugging over VPN - Failed to connect to remote VM
Summary: Unable to connect remote debugging over VPN - Failed to connect to remote VM
Status: REOPENED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.12   Edit
Hardware: PC Windows 10
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-23 23:49 EDT by Achint Khade CLA
Modified: 2023-09-08 01:02 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Achint Khade CLA 2019-09-23 23:49:06 EDT
java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.socketRead(Unknown Source)
	at java.net.SocketInputStream.read(Unknown Source)
	at java.net.SocketInputStream.read(Unknown Source)
	at java.io.DataInputStream.readFully(Unknown Source)
	at java.io.DataInputStream.readFully(Unknown Source)
	at org.eclipse.jdi.internal.connect.SocketTransportService.readHandshake(SocketTransportService.java:220)
	at org.eclipse.jdi.internal.connect.SocketTransportService.access$1(SocketTransportService.java:216)
	at org.eclipse.jdi.internal.connect.SocketTransportService$3.run(SocketTransportService.java:185)
	at java.lang.Thread.run(Unknown Source)



-- Configuration Details --
Product: Eclipse IDE 4.12.0.20190614-1200 (org.eclipse.epp.package.jee.product)Installed Features:
 org.eclipse.jdt 3.18.0.v20190605-1800
Versioning Plugin:
 org.eclipse.platform 4.12.0.v20190605-1801
Comment 1 Achint Khade CLA 2019-09-25 23:53:03 EDT
Could you please update on this issue?

I am unable to do remote debugging over. I am able to telnet for the Host and port.
I am able to connect through LAN however, i am only facing issue over VPN.
Comment 2 Sarika Sinha CLA 2019-09-26 00:51:41 EDT
You can try increasing the communication timeout under Preferences->Java->Debug
Comment 3 Achint Khade CLA 2019-09-26 07:41:44 EDT
I tried increasing the timeout under Preferences->Java->Debug but did not work.

Observation:

It is a socket timeout.

It seems after verifying netstat -t log, connection gets established. However, after establishing connection it throws socket timeout exception.
Comment 4 Achint Khade CLA 2019-09-26 07:42:50 EDT
The issue is only during VPN. After connecting to LAN it works fine.
Comment 5 Andrey Loskutov CLA 2019-09-26 08:00:37 EDT
I'm sorry, I believe this is your local vpn / firewall / proxy / whatever network issue, not related to the Eclipse code.
Comment 6 Achint Khade CLA 2019-09-27 01:15:14 EDT
This is VPN is connected through Cisco AnyConnect Secure Mobility Client.

All other firewall, proxy are disabled and still facing the issue.
Comment 7 Sarika Sinha CLA 2019-09-27 02:32:48 EDT
Try writing a java socket program and see if it works with your VPN and it's only Eclipse which is not working!
Comment 8 Eclipse Genie CLA 2021-09-17 17:16:20 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 9 Eclipse Genie CLA 2023-09-08 01:02:02 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.