Get Command Only Gets Directory Structure

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
timomta
Posts: 8
Joined: Tue May 25, 2004 9:21 am

Get Command Only Gets Directory Structure

Post by timomta » Thu Oct 14, 2004 11:41 am

Hello, I have one client that will only retrieve the directory structure when a get command is issued. This happens from the GUI and the command line. I'm working with both server and client version 2.0.6. The client that is having trouble is also the Vault server/sql server. The OS is server 2003. No other clients are having trouble connecting to this machine and getting sources.

Both the GUI and the command line clients report that everything worked fine, but no files are retrieved. Here is the command line output:

C:\Build>vault get -merge overwrite -destpath "c:\build\filex" $/public
<vault>
<result success="yes" />
</vault>

This problem started last night (10/13). It has been working fine since I upgraded it on 10/8 from 2.0.5 to 2.0.6.

What could be causing this?

sterwill
Posts: 256
Joined: Thu Nov 06, 2003 10:01 am
Location: SourceGear

Post by sterwill » Thu Oct 14, 2004 12:48 pm

The first thing to try would be to enable debug logging on the server, and look for any errors there. See this KB article for details.

If nothing looks out of the ordinary on the server, you can enable client-side logging (see this KB article). When client-side logging is enabled, and the string "get" is used as the classesToLog setting, the log file will contain details about each file requested and/or retrieved from the server.
Shaw Terwilliger
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`

timomta
Posts: 8
Joined: Tue May 25, 2004 9:21 am

Post by timomta » Thu Oct 14, 2004 4:22 pm

I don't see any glaring errors.

On the server side I see a whole bunch of this type of entry:

----10/14/2004 3:10:23 PM admin--fxws0163.filex.com(127.0.0.1)--SSL Disabled
VaultServiceBase.VaultRequestGetFile returned: SuccessRequireFileDownload


On the client side I enabled 'get' object logging and see:

10/14/2004 3:03:56 PM <generic>: [<null>:2900] VaultGUIClient, Version=2.0.6.2219, Culture=neutral, PublicKeyToken=null
10/14/2004 3:03:56 PM <generic>: [<null>:2900] Enabled logging class <get>
10/14/2004 3:05:42 PM <get>: [GUIClientWorkerThread:1408] ProcessGetFileRequests started
10/14/2004 3:05:42 PM <get>: [GUIClientWorkerThread:1408] UpdateThread started
10/14/2004 3:05:42 PM <get>: [GUIClientWorkerThread:1408] In download loop, tries left: 2
10/14/2004 3:05:42 PM <get>: [GUIClientWorkerThread:1408] Server Request: GetFileInfo path: $/Public/build.xml, request version: 0, request target objverid: 79070

....whole bunch if file enties...
10/14/2004 3:08:07 PM <get>: [GUIClientWorkerThread:1408] Server Request: GetFileInfo path: $/Public/TimeClockSetup/TimeClockSetup/TimeClockSetup.vdproj, request version: 0, request target objverid: 53615
10/14/2004 3:10:38 PM <get>: [GUIClientWorkerThread:1408] BeginDownloadFiles called, downloadID:
10/14/2004 3:10:38 PM <get>: [GUIClientWorkerThread:1408] ProcessGetFileRequests finished

timomta
Posts: 8
Joined: Tue May 25, 2004 9:21 am

Post by timomta » Thu Oct 14, 2004 4:25 pm

I should say also that I did think it was odd that this line in the client log received no downloadID (I don't know if that is expected):

10/14/2004 3:10:38 PM <get>: [GUIClientWorkerThread:1408] BeginDownloadFiles called, downloadID:

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Fri Oct 15, 2004 10:08 am

timomta,

Email your phone number to me by using the button below this post. We've seen other reports of this, but I would like to know if your situation matches what we've seen.

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Fri Oct 15, 2004 2:13 pm

Tim's problem was fixed by setting the Connection Timeout for his 2003 server to a larger value. The server was taking 5 minutes to process the initial get request, so 2003 was killing the connection before the client could get a downloadid. Setting the Connection Timeout up to 12000 solved his problem.

http://support.sourcegear.com/viewtopic.php?p=7491#7491

Post Reply