HTTP Status 417: Expectation failed

Last post 09-11-2009, 4:04 AM by rvdpool. 2 replies.
Sort Posts: Previous Next
  •  09-03-2009, 3:40 AM 55338

    HTTP Status 417: Expectation failed

    Hi,
     
    I get an error while trying to use the LiveSupport Operator on our corporate pc. Our company uses a proxy server, so in order to login I edited the config file as below:
     
        <add key="UseProxy" value="Custom"/>
        <add key="ProxyAddress" value="[Corporate Proxy Server]:8080"/>
        <add key="ProxyBypassOnLocal" value="True"/>
        <add key="ProxyUsername" value="[Corporate Username]"/>
        <add key="ProxyPassword" value="[Corporate Password]"/>

    I keep getting the following error: Server side error: System.Net.WebException: The request failed with HTTP status 417: Expectation failed.
    as System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, Webresponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodeName, Object[] parameters)
    at LiveSupport.CuteChatService.SupportService.SupportLogin(String loginName, String password)
    at LiveSupport.LoginForm.button1_Click(Object sender, EventArgs e)
     
    Please help me out.
     
    Richard
  •  09-10-2009, 8:42 PM 55547 in reply to 55338

    Re: HTTP Status 417: Expectation failed

    Richard,
     
    Server side :
     
    Make sure your application do not redirect the CuteSoft_Client/CuteChat/SupportService.asmx
    (For example , of you use Forms auth , do not use <deny users='?'/> for that file )
     
    Operator side :
     
    try to add this to configuration file :
     

    <configuration>

    <system.net>

    <settings>

                <servicePointManager expect100Continue="false" />

    </settings>

    </system.net>

    </configuration>

     
    Regards,
    Terry
     
  •  09-11-2009, 4:04 AM 55558 in reply to 55547

    Re: HTTP Status 417: Expectation failed

    Thanks, that worked!
View as RSS news feed in XML