Check In Fails Consistently

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

Moderator: SourceGear

beanmf
Posts: 14
Joined: Tue Aug 24, 2004 11:44 am

Post by beanmf » Fri Jul 08, 2005 1:36 pm

I find the following error messages occur.
"Session is no longer valid. EIther the server restarted your session or your session timed out. You must login again to reauthenticate."

"The Vault server could not be contacted to perform the operation. Your network connection to the server may have been interrupted."

"Username or password supplied is invalid." (clearly untrue as it is remembered)

I find I can check in or check out if I connect, find the file and perform my operation in less than about a minute. After that, I need to reconnect.

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

Post by jeremy_sg » Fri Jul 08, 2005 1:39 pm

Email me your phone number, using the button below this post.

beanmf
Posts: 14
Joined: Tue Aug 24, 2004 11:44 am

Post by beanmf » Sat Jul 23, 2005 4:22 pm

I applied the web.config changes suggested, after which I am unable to connect to Vault at all (no errors, and no duplicate keys), so I rolled back to the original web.config.

Here is the latest log. I connect, get repository and attempt a checkout. Unless I request it within 30 seconds or so, my session expires and I have to login once more. Eventually I was able to download my source code but all attempts at checkout failed. I can get checkout to work on a single file, but I have to work really quickly to sneak in under the session limit.

It seems to me that Vault is not installed under wwroot anyway, so I am not sure that the Sharepoint problem really applies. I don't really know enough to be sure.

----7/23/2005 3:14:36 PM Mark_Bean--pcp01412595pcs.phnixv01.pa.comcast.net(68.81.57.165)--SSL Disabled
GetCheckOutListChanges returned: Success
----7/23/2005 3:14:43 PM Mark_Bean--pcp01412595pcs.phnixv01.pa.comcast.net(68.81.57.165)--SSL Disabled
Getting repository Structure.
----7/23/2005 3:14:43 PM Mark_Bean--pcp01412595pcs.phnixv01.pa.comcast.net(68.81.57.165)--SSL Disabled
GetRepositoryStructure returned: Success
----7/23/2005 3:14:43 PM Mark_Bean--pcp01412595pcs.phnixv01.pa.comcast.net(68.81.57.165)--SSL Disabled
Getting list of checkout changes.
----7/23/2005 3:14:43 PM Mark_Bean--pcp01412595pcs.phnixv01.pa.comcast.net(68.81.57.165)--SSL Disabled
GetCheckOutListChanges returned: Success
----7/23/2005 3:14:44 PM Mark_Bean--pcp01412595pcs.phnixv01.pa.comcast.net(68.81.57.165)--SSL Disabled
Getting repository Structure.
----7/23/2005 3:14:44 PM Mark_Bean--pcp01412595pcs.phnixv01.pa.comcast.net(68.81.57.165)--SSL Disabled
GetRepositoryStructure returned: Success
----7/23/2005 3:14:45 PM Mark_Bean--pcp01412595pcs.phnixv01.pa.comcast.net(68.81.57.165)--SSL Disabled
Getting list of checkout changes.
----7/23/2005 3:14:45 PM Mark_Bean--pcp01412595pcs.phnixv01.pa.comcast.net(68.81.57.165)--SSL Disabled
GetCheckOutListChanges returned: Success
----7/23/2005 3:16:20 PM sgvaultsystem--()--
System Started
Version 2.0.0.2120
Cache Level = 1
DataBase Buffer Size = 768
LogFile Path = C:\hosting\webhost4life\member\beanmf\VaultService\Temp\sgvault
Log Level = Debug
Archive Log = Weekly
ReverseDNS Lookup = True
Maximum HTTP Request Length = 102400
Overwrite Log on Startup = False
Session Timeout = 8620
SGVault Working Directory = C:\hosting\webhost4life\member\beanmf\VaultService\Temp
----7/23/2005 3:16:24 PM --pcp01412595pcs.phnixv01.pa.comcast.net(68.81.57.165)--SSL Disabled
Getting repository Structure.

beanmf
Posts: 14
Joined: Tue Aug 24, 2004 11:44 am

Post by beanmf » Thu Jul 28, 2005 2:41 am

Hosting service has turned off the HTTP keep-alives checked box. I still get "Session is no longer valid. Either the server restarted, or your session timed out. You must login again to reauthenticate." if hitting the refresh button. Refreshes ok until for 40-60seconds, and then throws the exception. They are willing to reinstall the msi if you really think that would help.

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

Post by jeremy_sg » Thu Jul 28, 2005 1:29 pm

Before you have them run the installer, make sure that they have disabled all of the automatic recycling options for IIS 6.0

# Open IIS Manager
# Select Application Pools and right click on the correct application pool for your Web site
# Select Properties.
# Select Recycling tab

There should be no recycling options set. Installing Vault 3.0 or 3.1 with the msi should set most of the commonly-intrusive settings.

Post Reply