netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

Cannot reconnect to remote c++ host when the user name is of the format [email protected]

Open Mrugendra27 opened this issue 3 years ago • 0 comments

Apache NetBeans version

Apache NetBeans 14

What happened

  1. Add a new remote C++ host (host1.domain.net) using userid = [email protected] Host and tool chain gets added successfully We can disconnect and reconnect conveniently. Screenshot 1, 2, 3 ,4; log messages1.log
  2. Restart IDE Try to connect to the newly added host by right clicking the host and choosing "connect" or through Tools->Options->C/C++->Build Tools - > "Edit" button which launches Build Hosts Manager) We get HOST_UNREACHABLE [email protected]@host1.domain.net Screenshot 5, 6; log file: messages.log

The connection module is probably getting confused because of the '@' sign in the user name.

messages1.log Screen1 Screen2 Screen3 Screen4 Screen5 Screen6 messages.log

How to reproduce

  1. Add a new remote C++ host (host1.domain.net) using userid = [email protected] Host and tool chain gets added successfully We can disconnect and reconnect conveniently. Screenshot 1, 2, 3 ,4; log messages1.log
  2. Restart IDE Try to connect to the newly added host by right clicking the host and choosing "connect" or through Tools->Options->C/C++->Build Tools - > "Edit" button which launches Build Hosts Manager) We get HOST_UNREACHABLE [email protected]@host1.domain.net Screenshot 5, 6; log file: messages.log (There does not seem much in the log)

The connection module is probably getting confused because of the '@' sign in the user name.

messages.log messages1.log Screen1 Screen2 Screen3 Screen4 Screen5 Screen6

Did this work correctly in an earlier version?

No

Operating System

WINDOWS 10 x86_64

JDK

OpenJDK 18.0.1.1

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

C++ module was installed using Netbeans 8.2 repository install through plugins.

Are you willing to submit a pull request?

No

Code of Conduct

Yes

Mrugendra27 avatar Jul 13 '22 22:07 Mrugendra27