Top

.net SetWebProxyInfo method throw exception

Answered

Comments

8 comments

  • Christophe IRLES

    Hi,

    Are you sure that your Web Proxy is working well ?

    On my side there is no problem to use this method with or without credentials. and using HTTP or HTTPS.

    The method SetWebProxyInfo has no callback. So whick callback are you talking about ?

    Regards,
    Christophe

     

    0
    Comment actions Permalink
  • Axel Steppe

    Hi Christophe,

    thanks for your reply.

    I have setup the proxy befor i login to the rainbow service with rainbowApplication.Login.

    The exception is thrown within the callback of the rainbowApplication.Login.

    Cheers Axel

    0
    Comment actions Permalink
  • Axel Steppe

    The proxy server is used by several other applications where it work.

    Maybe it is a hint that we do not use the standard port 80 or 8080 of the webproxy. We use there the port 3128.

     

    0
    Comment actions Permalink
  • Christophe IRLES

    It's not a problem to use a specific port: 80, 8080, 3128 or anything else. I used myself 8080 or 3128 in my own tests.

    The exception is raised because the parsing of the REST login failed: it means that the SDK has received an unexpected response.

    Which SDK version are you using ?

    Using the callback object could you indicate me what are values of ResponseStatus and HttpStatusCode of the SDKError object ?

     

     

    0
    Comment actions Permalink
  • Axel Steppe

    Hi Christophe,

    this is the version:

    <package id="Rainbow.CSharp.SDK" version="1.22.0" targetFramework="net461" />

    The rest of the informationen are stored in the RainbowSampleTelephony.log ?

    Cheers Axel

    0
    Comment actions Permalink
  • Christophe IRLES

    Please try with a supported release of the SDK. v2.1.0 for example

    As I said using the callback you have access to the SDKError object. Provide me the value of ResponseStatus and HttpStatusCode which are propertis of the SDKErro object

    0
    Comment actions Permalink
  • Axel Steppe

    Hi Christophe,

    with the SDK v.2.1.0 it work now as expected.

    Thanks for your support !

    BR Axel

    0
    Comment actions Permalink
  • Christophe IRLES

    Great news.

    You're welcome

    0
    Comment actions Permalink

Please sign in to leave a comment.

Still can't find what you need?

  • Contact Us

    Do you have any question about Rainbow? Leave us a message to get more information.

    Contact
  • Ask the Community

    Do you need help? Ask your questions to the Community and get answers from other Rainbow users.

    Post message