This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 257095 - Not able to open remote C++ project or create new
Summary: Not able to open remote C++ project or create new
Status: STARTED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-10 11:04 UTC by matjazfinc
Modified: 2017-05-10 14:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log (59.25 KB, text/plain)
2016-01-29 15:25 UTC, matjazfinc
Details
Log of requested command (3.02 KB, text/plain)
2016-02-01 09:47 UTC, matjazfinc
Details
Full console log for NB 8.1 (45.82 KB, text/plain)
2016-02-01 12:03 UTC, matjazfinc
Details
Full console log for NB 8.0.2 (30.27 KB, application/octet-stream)
2016-02-01 12:04 UTC, matjazfinc
Details
Messages for NB 8.0.2 (29.06 KB, text/plain)
2016-02-01 12:16 UTC, matjazfinc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matjazfinc 2015-12-10 11:04:24 UTC
1) Fresh install of NB 8.1 C++ x64
2) Add new C++ remote server (SSH, password, autodetect (GNU), SFTP) - success
3) Connect to server - success
4) Right click - open project - file open dialog opens and no folders are listed (hangs indefinitely); checking the traffic with wireshark, no traffic to the server after open project is clicked
5) Right click - create new c++ project (with existing sources) - browse - the same symptom as in 4)

The terminal console connection from NB (right click on server...) works fine, so it can connect to the server. It seems that NB does not send any browse query over SFTP when open/browse dialogs are opened. If the path is entered manually, it says "Validating" indefinitely, but no traffic to the server.

The connection is made through secure VPN.

Tried uninstall/cleanup NB/cleanup ssh/restart etc. Nothing helped.

Older version 8.0.2, which was installed couple of months ago, connects and opens remote projects without any problems on the same infrastructure. I also had one instance of 8.1 installed in october working fine, but had to remove it. But now any fresh installation of 8.1 or 8.0.2 on that or different PCs and different infrastructure have the symptoms above.

Let me know what logs do you need and how to create them.
Comment 1 Vladimir Kvashin 2016-01-14 10:28:57 UTC
What is your remote host system?

Could you launch NetBeans with additional tracing flags 
-J-Dnativeexecution.support.logger.level=0 -J-Dremote.support.logger.level=0
and attach IDE log?
Please note that it can contain user and machine name you would probably like to strip.
Comment 2 Vladimir Kvashin 2016-01-28 10:22:16 UTC
I need more information to be able to work on this. Please feel free to reopen
with more information.
Comment 3 matjazfinc 2016-01-29 15:25:54 UTC
Created attachment 158295 [details]
Log

I hope this helps. After null (last line) the GUI waits indefinitely (until cancel button brings it back).
Comment 4 Vladimir Kvashin 2016-02-01 06:50:25 UTC
Could you please do the following:
- login (in console) to yore remote host
- launch the following utility
/var/tmp/dlight_[username]/5ecfc134/bin/Linux-x86/fs_server -t 4 -p -d /var/tmp/dlight_[username]/5ecfc134/fs_server_cache -c -v 4
- feed it with commands
i 2 0
o 0 11 access=fast
l 1 1 /

I guess it will hang at this moment.
If not then please proceed with command

l 2 0 /dun/homes/[username]

Will it hang?

If it will, could you please do the same, but with with strace
(just prefix the same command with strace; strace will trace all system calls, most likely this will show where it hangs)
Comment 5 matjazfinc 2016-02-01 09:47:22 UTC
Created attachment 158327 [details]
Log of requested command

The requested command went fine in the command line without hanging
Comment 6 matjazfinc 2016-02-01 09:59:03 UTC
Please take into consideration, that the projects from the same server can be opened with NB 8.0.2, but only from the PC with which the projects were originally created a year ago. No success from other PCs.

Strange thing is, that when I installed NB 8.1 back in November 2015 (on Win 10) it worked great with the server. But after reinstalling windows, I am not able to connect with NB 8.1 anymore. Tried multiple PCs and user names, the result is the same.

The connection to the server goes through a VPN. It shouldn't be the problem with the server, because the particular instance of NB 8.0.2 works. I assumed it had something to do with local settings (cache) on my PC, but I made it work on fresh instance of NB 8.0.2 after reinstalling windows, so this should not be the case. NB 8.1 doesn't work no matter what I do.
Comment 7 Vladimir Kvashin 2016-02-01 10:56:50 UTC
This is misterious... Could you get NetBeans full thread dump at the moment dialog shows empty list and hungs?

Here is an article on how to do this
http://wiki.netbeans.org/GenerateThreadDump
I prefer launching NetBeans from Windows console and pressing Ctrl+Break in this console
Comment 8 matjazfinc 2016-02-01 12:03:06 UTC
Created attachment 158330 [details]
Full console log for NB 8.1
Comment 9 matjazfinc 2016-02-01 12:04:23 UTC
Created attachment 158331 [details]
Full console log for NB 8.0.2

The same procedure made in NB 8.0.2 as in NB 8.1, but this one succeeds
Comment 10 matjazfinc 2016-02-01 12:16:49 UTC
Created attachment 158332 [details]
Messages for NB 8.0.2

The message log corresponding to "nb 8.0.2 full.log"
Comment 11 matjazfinc 2016-05-10 07:41:24 UTC
Are there any updates on this?