Server was unable to process request. -> ?

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

Moderator: SourceGear

Post Reply
Guest

Server was unable to process request. -> ?

Post by Guest » Fri Mar 11, 2005 8:51 pm

I'm getting this exception when trying to connect to a vault server that I've just set up... The full exception is:

<vault>
<error>
The connection to the server failed: server cannot be contacted or uses a protoc
ol that is not supported by this client. Server was unable to process request. -
-> ?
</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. Server was unable to
process request. --> ?
at VaultCmdLineClient.VaultCmdLineClient.Login(Boolean bAllowAuto, Boolean bS
aveSession)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommandListRepositories()
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg)
at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)
</exception>
<result success="no" />
</vault>

I have the server debug level set to Debug but all that appears in the log file is:

# SourceGear Vault Server
----12/03/2005 1:33:40 PM sgvaultsystem--()--
System Started
Version 3.0.5.2833
Cache Level = 1
DataBase Buffer Size (KB) = 256
LogFile Path = C:\sites\vault\vaultservice\log
Log Level = Debug
Archive Log = Weekly
ReverseDNS Lookup = True
Maximum HTTP Request Length = 102400
Overwrite Log on Startup = False
Session Timeout = 4320
Active Directory Domain =
SGVault Working Directory = C:\sites\vault\vaultservice\working
SGVault Server URL = http://mydomain/VaultService
Identity = NT AUTHORITY\NETWORK SERVICE


This is running at a hosting provider and all of the permissions have been set correctly I believe.

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

Post by jeremy_sg » Fri Mar 11, 2005 10:25 pm

Do you only get this error with the command line client? What happens when you try with the regular GUI client?

Guest

Post by Guest » Fri Mar 11, 2005 10:53 pm

I just get "Server was unable to process request. --> ?" from the GUI client and the Admin Tool.

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

Post by jeremy_sg » Sat Mar 12, 2005 8:07 am

Try turning on client-side logging (see http://support.sourcegear.com/viewtopic.php?t=1534) when connecting. Post the log here.

Guest

Post by Guest » Sat Mar 12, 2005 6:06 pm

Here it is:

13/03/2005 10:02:40 AM <generic>: [<No Name>:196] VaultGUIClient, Version=3.0.5.2833, Culture=neutral, PublicKeyToken=null
13/03/2005 10:02:40 AM <generic>: [<No Name>:196] Logging all classes
13/03/2005 10:02:41 AM <statussearch>: [GUIClientWorkerThread:2512] Refresh called
13/03/2005 10:02:41 AM <statussearch>: [GUIClientWorkerThread:2512] Returning from refresh early (no GCI, CI, or TC)
13/03/2005 10:02:41 AM <statussearch>: [GUIClientWorkerThread:2512] Refresh finished
13/03/2005 10:02:41 AM <connection>: [GUIClientWorkerThread:2512] InitService started.
13/03/2005 10:02:43 AM <connection>: [GUIClientWorkerThread:2512] InitService finished.
13/03/2005 10:02:53 AM <statussearch>: [Main:196] Connection state changed from Unconnected to Connecting
13/03/2005 10:02:53 AM <emailview>: [Main:196] Connection state changed from Unconnected to Connecting
13/03/2005 10:02:53 AM <connection>: [GUIClientWorkerThread:2512] Login started.
13/03/2005 10:02:55 AM <statussearch>: [Main:196] Connection state changed from Connecting to Disconnecting
13/03/2005 10:02:55 AM <connection>: [GUIClientWorkerThread:2512] Logout started.
13/03/2005 10:02:55 AM <emailview>: [Main:196] Connection state changed from Connecting to Disconnecting
13/03/2005 10:02:55 AM <connection>: [GUIClientWorkerThread:2512] Logout finished.
13/03/2005 10:02:55 AM <statussearch>: [Main:196] Active repository changed to
13/03/2005 10:02:55 AM <emailview>: [Main:196] Active repository changed to
13/03/2005 10:02:55 AM <statussearch>: [Main:196] Connection state changed from Disconnecting to Unconnected
13/03/2005 10:02:55 AM <emailview>: [Main:196] Connection state changed from Disconnecting to Unconnected

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

Post by jeremy_sg » Sun Mar 13, 2005 8:08 am

Something very odd is happening. Have you run through the troubleshooting articl at http://support.sourcegear.com/viewtopic.php?p=2450 ? Can you connect to the server with a web browser?

Guest

Post by Guest » Sun Mar 13, 2005 3:45 pm

I can get to the vaultService.html file and the .asmx file runs OK. I can connect to the SQL Server with the same credentials that Vault is configured to use.

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

Post by jeremy_sg » Sun Mar 13, 2005 7:05 pm

Email me your server's URL so that I can attempt the connection with a debug client. I'll try it first thing in the morning.

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

Post by jeremy_sg » Tue Mar 15, 2005 9:02 am

The user emailed me that it is now working. His hosting provider most likely rebooted the computer or reset IIS.

Post Reply