HTTP Status 417 Error

If you are having a problem using Vault, post a message here.
Post Reply
nickbell
Posts: 14
Joined: Fri May 30, 2008 6:20 am

HTTP Status 417 Error

Post by nickbell » Thu May 10, 2012 9:01 am

Hi, I have just downloaded Vault Pro Client 5.1.1 and in attempting to connect to the Vault Server I got a HTTP Status 417 error with the following message:

Unable to connect to http://xxx.xxx.xxx.xxx/VaultService. No server was found at the specified URL. Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client. Web Exception: The request failed with HTTP status 417: Expectation failed.

After trawling your forums I came across a post the suggested the adding this line to the <system.net><settings> section in the VaultGUIClient.exe.config file.
<servicePointManager expect100Continue="false"/>

This solved my issue for the Vault GUI but when I try and go online from within Visual Studio 2010 IDE I still get the error. Does visual studio use a different config file for connections to Vault?

Thanks
Nick

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

Re: HTTP Status 417 Error

Post by lbauer » Thu May 10, 2012 9:38 am

I think the post you might be referencing was from 2005.

In Vault 3.5.2 and later releases, Vault Client has an "Allow an expect100Continue" setting in Vault client options so you shouldn't need to modify the config file.

Could you check your setting? It's in the VaultPro Client under Tools->Options->Network Settings->Use Expect: 100-Continue headings. By default, it's checked or "True."

Uncheck it to make it "False," and remove or comment out what you've added to the VaultGUIClient.exe.config file.

Code: Select all

 
<servicePointManager expect100Continue="false"/>
See if the client works. Visual Studio *should* use the same setting. If not, let me know.
Linda Bauer
SourceGear
Technical Support Manager

nickbell
Posts: 14
Joined: Fri May 30, 2008 6:20 am

Re: HTTP Status 417 Error

Post by nickbell » Thu May 10, 2012 9:52 am

Ah yes, didn't see that, sorry. Thanks, that worked.

Nick

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

Re: HTTP Status 417 Error

Post by lbauer » Thu May 10, 2012 10:39 am

Thanks for the update. That's good news. : )
Linda Bauer
SourceGear
Technical Support Manager

Post Reply