Bug 4959 - Add to workspace can freeze up when adding over VPN
Summary: Add to workspace can freeze up when adding over VPN
Status: RESOLVED DUPLICATE of bug 4911
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 98
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kevin McGuire CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-12 23:26 EDT by Carolyn MacLeod CLA
Modified: 2001-10-17 16:55 EDT (History)
0 users

See Also:


Attachments
progress dialog showing bogus extra slash appended to java file name (12.98 KB, image/jpeg)
2001-10-12 23:32 EDT, Carolyn MacLeod CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carolyn MacLeod CLA 2001-10-12 23:26:07 EDT
Build 204
I am connected to the new CVS repository from home over VPN.
I selected several swt projects and said 'add to workspace'.
The progress dialog came up and the add began fine,
but after a few minutes progress seemed to halt on one java file.
I let it wait for 10 minutes, and nothing changed.
Then I clicked cancel, and all that happened was the cancel button disabled.
Now the Eclipse UI is locked, and I will have to kill the process.

I will try to attach the progress dialog. The only reason this is interesting 
at all is that the file name that the add seems to be stuck on is incorrectly 
displayed with a trailing slash. I thought there was a remote possibility that 
the add is actually trying to locate a bogusly-named file?
Comment 1 Carolyn MacLeod CLA 2001-10-12 23:32:15 EDT
Created attachment 4 [details]
progress dialog showing bogus extra slash appended to java file name
Comment 2 Carolyn MacLeod CLA 2001-10-12 23:53:04 EDT
I looked at the file in question to see if it was downloaded at all, and I see 
that it was partially downloaded. In fact, many files were downloaded before 
the add got stuck on this one. My hard disk is not full (still 10G left). I am 
sure that the VPN was connected and working fine (I was able to use email with 
no problems).

Note that the extra / is just a bad string sent to the progress dialog.

I am going to delete my target directory and try again.
Comment 3 Carolyn MacLeod CLA 2001-10-13 00:42:16 EDT
Second try. This time the add completed (slowly - I guess ssh must be slower). 
But at the end, I got an "Errors Adding Project" dialog saying "Cannot close 
connection". Also, the UI does not show all of my projects - one is missing. I 
added 6 projects, and only 5 are displayed. If I look at my target in Explorer, 
I see that all 6 projects were uploaded. Restarting Eclipse does not 
fix this problem - I had to add the project again.

Perhaps there are issues with downloading over ssh. I added some other projects 
from our old repository using pserver and it was faster, and I had no 'hang' 
or 'socket not closed' problems. Could have been coincidence, though. Or maybe 
quantity? The extssh repository connection seems ok when you ask for smaller 
downloads. It pauses when you start the operation (probably establishing a 
secure connection, but confusing to the user - maybe would be nice if the 
progress dialog said "establishing secure connection..." here). But I haven't 
had any real problem since I asked it to load 6 projects all at once.

By the way, the bogus extra / is appended to every file name string sent to the 
progress dialog - looks pretty silly.
Comment 4 Michael Valenta CLA 2001-10-17 16:55:26 EDT
There are several issues in here

The first problem is a duplicate of bug 4911 and a fix has been submitted. For 
some reason the socket freezes and never comes back. A configurable timeout has 
been added

The second (cannot close connection) is a duplicate of bug 4386 which we are 
working on.

The third (involving filename) is an issue with paths. I've raised bug 5059 to 
Core and based on their response will take appropriate action to fix.

*** This bug has been marked as a duplicate of 4911 ***