Valut client and VS losing connection to Server

If you are having a problem using Vault, post a message here.
Post Reply
IanG
Posts: 64
Joined: Thu Oct 25, 2007 8:11 am
Location: UK
Contact:

Valut client and VS losing connection to Server

Post by IanG » Fri Oct 18, 2013 6:04 am

Hi,
We are finding since we upgraded to v7.0 that VS2010 and the Vault client are loosing connection to the Valut service several times a day, looking in the logs I see many instances of the following:

--SSL Disabled AuthTokenHash matched, but couldn't get the userid

Any ideas as to what we can do to prevent this happening?
FYI The vault server runs Windows 2012 server as does the database server which runs MSSQL2008R2 and everything is 64Bit

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

Re: Valut client and VS losing connection to Server

Post by lbauer » Fri Oct 18, 2013 8:32 am

Are you getting an error on the client side when there's a disconnect?

We'd like to see a copy of the Vault Server log. It's called sgvault.log and is in %windir%\temp\sgvault on the server machine.

We'd also like to see the Visual Studio log.

The log is called VaultVsipClient2010.txt or VaultVsipClient2008 and is in your user's temp directory.

Are there disconnects when using the Vault GUI Client, or only Visual Studio?

Is there any pattern to when the disconnects happen?

Email logs to me at support at sourcegear.com, ATTN: Linda.

Please include a link to this forum post.
Linda Bauer
SourceGear
Technical Support Manager

IanG
Posts: 64
Joined: Thu Oct 25, 2007 8:11 am
Location: UK
Contact:

Re: Valut client and VS losing connection to Server

Post by IanG » Fri Oct 18, 2013 9:42 am

The previous excerpt was from the server log file, looking in VaultVsipClient2010.txt log file I see many examples of this error:

Code: Select all

18/10/2013 14:11:53 <generic>:     [System.ArgumentException: Value does not fall within the expected range.
   at Microsoft.VisualStudio.OLE.Interop.IPropertyBag.Read(String pszPropName, Object& pVar, IErrorLog pErrorLog, UInt32 VARTYPE, Object pUnkObj)
   at SourceGearLLC.VaultVsipClient.VaultVsipClient.ReadSolutionProps_Implementation(IVsHierarchy pHierarchy, String pszProjectName, String pszProjectMk, String pszKey, Int32 fPreLoad, IPropertyBag pPropBag) in E:\Builds\Vault7.0.0.x_Nightly\vault\src\VaultVsipClient\VaultVsipClient.IVsPersistSolutionProps.cs:line 437] Value does not fall within the expected range.
   at Microsoft.VisualStudio.OLE.Interop.IPropertyBag.Read(String pszPropName, Object& pVar, IErrorLog pErrorLog, UInt32 VARTYPE, Object pUnkObj)
   at SourceGearLLC.VaultVsipClient.VaultVsipClient.ReadSolutionProps_Implementation(IVsHierarchy pHierarchy, String pszProjectName, String pszProjectMk, String pszKey, Int32 fPreLoad, IPropertyBag pPropBag) in E:\Builds\Vault7.0.0.x_Nightly\vault\src\VaultVsipClient\VaultVsipClient.IVsPersistSolutionProps.cs:line 437

Stack Trace:
   at SourceGearLLC.VaultVsipClient.VaultVsipClient.ReadSolutionProps_Implementation(IVsHierarchy pHierarchy, String pszProjectName, String pszProjectMk, String pszKey, Int32 fPreLoad, IPropertyBag pPropBag)
   at SourceGearLLC.VaultVsipClient.VaultVsipClient.ReadSolutionProps(IVsHierarchy pHierarchy, String pszProjectName, String pszProjectMk, String pszKey, Int32 fPreLoad, IPropertyBag pPropBag)
   at Microsoft.VisualStudio.Shell.Interop.IVsSolution.OpenSolutionFile(UInt32 grfOpenOpts, String pszFilename)
   at Microsoft.VisualStudio.PlatformUI.ProjectMruItem.OnOpen()
   at Microsoft.VisualStudio.PlatformUI.MruItem.OpenCommandHandler(IVsUIDispatch sender, String verb, Object argumentIn, Object& argumentOut)
   at Microsoft.Internal.VisualStudio.PlatformUI.UIDispatch.Invoke(String verbName, Object pvaIn, Object& pvaOut)
   at Microsoft.VisualStudio.PlatformUI.MruListItems`1.OpenCommandHandler(String commandName, IVsUIDispatch sender, String verb, Object argumentIn, Object& argumentOut, Boolean moveToTop)
   at Microsoft.VisualStudio.PlatformUI.MruListItems`1.OpenCommandHandler(IVsUIDispatch sender, String verb, Object argumentIn, Object& argumentOut)
   at Microsoft.Internal.VisualStudio.PlatformUI.UIDispatch.Invoke(String verbName, Object pvaIn, Object& pvaOut)
   at Microsoft.Internal.VisualStudio.PlatformUI.DataSourceCollection.Invoke(String verb, Object pvaIn, Object& pvaOut)
   at Microsoft.VisualStudio.PlatformUI.MruListBox.InvokeCommand(String command, Int32 index)
   at Microsoft.VisualStudio.PlatformUI.MruListBox.OpenMruItemExecuted(String openCommandName, Object sender, ExecutedRoutedEventArgs e)
   at Microsoft.VisualStudio.PlatformUI.MruListBox.OpenMruItemExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
   at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
   at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

We get disconnects in VS and in VaultClient but there is no obvious pattern to when it happens.
Rgrds Ian

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

Re: Valut client and VS losing connection to Server

Post by lbauer » Fri Oct 18, 2013 12:15 pm

I'd still like to see a copy of the the Vault Server log. There may be other information that would be helpful in diagnosing the disconnects.

Email me at support at sourcegear.com, ATTN: Linda.

Please include a link to this forum post.
Linda Bauer
SourceGear
Technical Support Manager

IanG
Posts: 64
Joined: Thu Oct 25, 2007 8:11 am
Location: UK
Contact:

Re: Valut client and VS losing connection to Server

Post by IanG » Mon Oct 21, 2013 4:02 am

Hi Linda I've emailed you the server log.
Ian

IanG
Posts: 64
Joined: Thu Oct 25, 2007 8:11 am
Location: UK
Contact:

Re: Valut client and VS losing connection to Server

Post by IanG » Thu Oct 24, 2013 9:15 am

Hi,
Any progress on this, it very annoying dealing with all the renegades we end up with due to the connection to the server dropping out.

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

Re: Valut client and VS losing connection to Server

Post by lbauer » Thu Oct 24, 2013 10:05 am

Based on the logs, something is closing the session.

Did you move to a new IIS server machine when you upgraded?
Perhaps the configuration is different.

Have you ever rolled back this VM?
Linda Bauer
SourceGear
Technical Support Manager

Post Reply