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?
Get Command Only Gets Directory Structure
Moderator: SourceGear
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.
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 @.`
SourceGear LLC
`echo sterwill5sourcegear6com | tr 56 @.`
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
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
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
http://support.sourcegear.com/viewtopic.php?p=7491#7491