Results 1 to 2 of 2
  1. #1

    DotNet Client not able to connect via NTLM proxy

    When we try to connect to Light streamer Server via .NET Client through a NTLM proxy and we are not able to connect.
    We are setting the proxy on Internet Explorer.

    From your forums I found out that we need to set the “DefaultWebProxy” on “WebRequest” to get it to work. But in this case it returns Proxy Authentication Error.

    Here is the exception we get from DotNetClient_N2.dll

    ERROR2013-04-26 11:56:52 – The remote server returned an error: (407) Proxy Authentication Required.
    Lightstreamer.DotNet.Client.PushConnException: The remote server returned an error: (407) Proxy Authentication Required. ---> System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
    at Lightstreamer.DotNet.Client.HttpProvider.SendPost( )
    at Lightstreamer.DotNet.Client.HttpProvider.DoHTTP(Bo olean isPost)
    at Lightstreamer.DotNet.Client.HttpProvider.DoHTTP(ID ictionary parameters, Boolean isPost)
    at Lightstreamer.DotNet.Client.PushServerTranslator.C allSession()
    at Lightstreamer.DotNet.Client.PushServerProxy.Connec tForSession()
    --- End of inner exception stack trace ---
    at Lightstreamer.DotNet.Client.ServerManager.Connect( )
    at Lightstreamer.DotNet.Client.LSClient.OpenConnectio n(ConnectionInfo info, IConnectionListener listener)
    at Intralinks.Communicator.CommunicationManager.Conne ctWithPushServer(String userId) in C:\VIA Release 1.0\Common\Intralinks.Communicator\CommunicationMa nager.cs:line 418

  2. #2
    Senior Member
    Join Date
    Feb 2013
    Posts
    54
    Hi vpurohit,


    The Lightstreamer .NET client library does not use proxy-specific code but relies upon the standard HttpWebRequest class, so you can configure the proxy support as you would do in any .NET application, by working on the HttpWebRequest.
    For more detail you may take a look at "Using the .NET client API behind a proxy", and also at this article: "Working With Proxy Servers Get Your Internet App's Working With Them".


    Marco

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 11:02 AM.