Command line client fails to connect

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

Moderator: SourceGear

Post Reply
kasti
Posts: 108
Joined: Tue Apr 20, 2004 4:21 am
Location: Austria

Command line client fails to connect

Post by kasti » Thu Dec 23, 2004 4:56 am

Hi,

We use vault 3.0 and we have got the problem that a command line client for a user connecting over vpn fails to connect. The IDE however works fine on the same machine using the same user account. Here is the command line and error message:

vault GETLABEL -host xxxxx -user xxxxx -password xxxxx -repository vault_2004 -destpath .\CppFW $/framework/cppfw-branches/cppfw-1.2.2/cppfw "Release 1.2.3"

<vault> <error> The connection to the server failed: server cannot be contacted or uses a protoc ol that is not supported by this client. Unable to connect to http://vault.rde-s w.vi-at.sez.org/VaultService. No server was found at the specified URL. Please verify your network settings using the Options dialog under the Tools menu in t he Vault GUI Client. Web Exception: The request failed with HTTP status
400: Ba
d Request ( The data is invalid. ).
</error>
<exception>
System.Exception: The connection to the server failed: server cannot be contacte d or uses a protocol that is not supported by this client. Unable to connect to xxxxxx/VaultService. No server was found at the spec ified URL. Please verify your network settings using the Options dialog under t he Tools menu in the Vault GUI Client. Web Exception: The request failed with H TTP status 400: Bad Request ( The data is invalid. ).
at VaultCmdLineClient.VaultCmdLineClient.Login(Boolean bAllowAuto, Boolean bS
aveSession)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommandGetLabel(String
reposI
tem, String label, String labelSubItem)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg)
at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args) </exception> <result success="no" /> </vault>




Now the question is if there is any difference in port / protocol usage between command line and Vault IDE. BTW we checked the version of the command line client and it matches the server.


Thanks,
Herbert.

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

Post by lbauer » Thu Dec 23, 2004 11:45 am

This may be a version incompatiblity, but there could be more to it. I ran the 2.x CLC against a 3.0 server and got the protocol error, but not "The request failed with H TTP status 400: Bad Request ( The data is invalid. ). "

Can you connect to the Vault database with the Vault GUI client located in the same directory as the command line client you used?

The value in this registry key will tell you where the IDE client is looking for the integration .dll.

HKEY_LOCAL_MACHINE\SOFTWARE\SourceGear\Vault Client

Is it the same directory as the CLC you used?
Linda Bauer
SourceGear
Technical Support Manager

Post Reply