File Upload Issue

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
rcwalden
Posts: 22
Joined: Thu Jan 13, 2005 8:38 am

File Upload Issue

Post by rcwalden » Wed Oct 11, 2006 2:06 pm

When trying to upload MSI packages from our builds, we are getting the following error:

[10/11/2006 12:46:35 PM] Beginning transaction

[10/11/2006 12:46:35 PM] Add $/SonyRewardsSolution.Builds/Release Builds/v1.0/SR10Build_101106124100_b40-RC14-hotfix14.msi

[10/11/2006 12:56:47 PM] Upload for item $/SonyRewardsSolution.Builds/Release Builds/v1.0/SR10Build_101106124100_b40-RC14-hotfix14.msi failed, retrying...

[10/11/2006 1:07:00 PM] Upload for item $/SonyRewardsSolution.Builds/Release Builds/v1.0/SR10Build_101106124100_b40-RC14-hotfix14.msi failed, retrying...

[10/11/2006 1:17:13 PM] Upload for item $/SonyRewardsSolution.Builds/Release Builds/v1.0/SR10Build_101106124100_b40-RC14-hotfix14.msi failed, retrying...

[10/11/2006 1:17:13 PM] Ending the transaction

[10/11/2006 1:17:13 PM] Transaction failed

[10/11/2006 1:17:13 PM] Upload for item $/SonyRewardsSolution.Builds/Release Builds/v1.0/SR10Build_101106124100_b40-RC14-hotfix14.msi failed too many times, aborting transaction.

Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client.

The specific error was "The operation has timed-out."

An exception was encountered during the transaction. Exception: The operation has timed-out. at System.Net.HttpWebRequest.GetResponse()

at VaultClientOperationsLib.ClientInstance.UploadItem(ChangeSetItem item, String txID, Byte[]& streamBuffer, Int32& bytesWrittenThisFile, Boolean bIsImport)

at VaultClientOperationsLib.UploadThread.ProcessCommand(UploadThreadCommand command, UploadThreadCommandResult& outputResult)

[10/11/2006 1:17:13 PM] Transaction failed


The client shows that it gets to 99% and then hangs. The files vary in size from 3MB to 40+MB. We are using version 3.5.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Wed Oct 11, 2006 3:56 pm

Looks like the operation is taking too long and timing out.

In the Vault GUI Client under Tools->Options->Network Settings, is "use chunked encoding" checked? If so, uncheck it. If it is
not checked, check it to see if that makes a difference.


If the Vault Server OS is Windows 2003 Server, check in IIS on the Vault server machine for the properties of the web site that hosts
VaultService. Make sure Connection Timeout is set to 1800.


If that still doesn't help, you could try to adjust your SQL Server timeout. This is in the Vault.config file in Inetpub\wwwroot\VaultService. Look for the line

Code: Select all

<SQLCommandTimeout>360</SQLCommandTimeout>. 
Change the number to something bigger, like 3600 or more.


Also check to see if there is a firewall, router, or other device that could be closing the connection after a certain amount of time or data has passed.
Linda Bauer
SourceGear
Technical Support Manager

Locked