server uses a protocol that is not supported by this client

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

Moderator: SourceGear

Post Reply
btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

server uses a protocol that is not supported by this client

Post by btd » Tue Apr 21, 2015 1:25 pm

I am not sure how/why I am getting this error.
I recently upgraded our build server from Vault Std 7.1. to Vault 8.0.1.
We did not update CruiseControl. Its still on version 1.6.7981.1
I have a project in CruiseControl that won't build.

Here is the error reported from
BUILD FAILED

INTERNAL ERROR

System.Exception: The server uses a protocol that is not supported by this client. ---> System.Web.Services.Protocols.SoapException: 1021 : FailServiceVersionNotSupported
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at VaultClientNetLib.ClientService.VaultService.ValidateServiceVersions(Int32[] clientSupportedVersions)
at VaultClientNetLib.VaultConnection.Login(String strURLBase, String strUserLogin, String strPassword)
at VaultClientOperationsLib.ClientInstance.Login(String urlbase, String username, String password)
at VaultClientIntegrationLib.ServerOperations.Login(AccessLevelType altCommand, Boolean bAllowAuto, Boolean bSaveSession)
--- End of inner exception stack trace ---
at VaultClientIntegrationLib.ServerOperations.Login(AccessLevelType altCommand, Boolean bAllowAuto, Boolean bSaveSession)
at VaultClientIntegrationLib.ServerOperations.Login()
at NAnt.Contrib.Tasks.SourceGearVault.VaultTask.CheckLoggedIn()
at NAnt.Contrib.Tasks.SourceGearVault.vaultcheckout.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.TaskContainer.ExecuteChildTasks()
at NAnt.Core.Tasks.IfTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.TaskContainer.ExecuteChildTasks()
at NAnt.Core.Tasks.IfTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.TaskContainer.ExecuteChildTasks()
at NAnt.Core.TaskContainer.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Tasks.LoopTask.ExecuteChildTasks()
at NAnt.Core.Tasks.LoopTask.DoWork(String[] propVals)
at NAnt.Core.Tasks.LoopTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.TaskContainer.ExecuteChildTasks()
at NAnt.Core.Tasks.IfTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()


Any help would be greatly appreciated.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: server uses a protocol that is not supported by this cli

Post by Beth » Tue Apr 21, 2015 2:17 pm

The error "The server uses a protocol that is not supported by this client" means that the Vault client doesn't match the Vault server.

Is the Vault server on Vault 8.0.1?

How did you go about upgrading the client on the build machine?
Beth Kieler
SourceGear Technical Support

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: server uses a protocol that is not supported by this cli

Post by btd » Wed Apr 22, 2015 5:58 am

I logged on to Build-Test and installed Vault Client 8.0.1.
On a different box I installed Vault Admin 8.0.1 and Vault Client 8.0.1.


So I'm not sure what to do or what went wrong?
Can you help further please?

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: server uses a protocol that is not supported by this cli

Post by btd » Wed Apr 22, 2015 7:55 am

the build server I checked Add Remove programs and I only see one entry for Vault and its version is 8.0.1.299

On the Vault server where I installed Vault Admin I see 2 entries.
One SourceGear Vault Standard Client v 8.0.1.299 and SourceGear Vault Standard Server v 8.0.1.299.

So I'm not sure what to do next.

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: server uses a protocol that is not supported by this cli

Post by btd » Wed Apr 22, 2015 8:12 am

OK I figured it out. The issue was that for this particular build, it was using the Nant.VaultTasks.dll and not the command line argument. Once I updated the 14 files to the 8.0.1 version, all is well.

Thanks
BTD

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: server uses a protocol that is not supported by this cli

Post by Beth » Wed Apr 22, 2015 8:36 am

Thank you for the update.
Beth Kieler
SourceGear Technical Support

Post Reply