Top

.net SetWebProxyInfo method throw exception

Beantwortet

Kommentare

8 Kommentare

  • 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
    Aktionen für Kommentare 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
    Aktionen für Kommentare 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
    Aktionen für Kommentare 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
    Aktionen für Kommentare 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
    Aktionen für Kommentare 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
    Aktionen für Kommentare Permalink
  • Axel Steppe

    Hi Christophe,

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

    Thanks for your support !

    BR Axel

    0
    Aktionen für Kommentare Permalink
  • Christophe IRLES

    Great news.

    You're welcome

    0
    Aktionen für Kommentare Permalink

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Sie können immer noch nicht finden, was Sie brauchen?

  • Kontaktieren Sie uns

    Haben Sie eine Frage zu Rainbow? Hinterlassen Sie uns eine Nachricht, um weitere Informationen zu erhalten.

    Kontakt
  • Fragen Sie die Gemeinschaft

    Brauchen Sie Hilfe? Stellen Sie Ihre Fragen in der Community, um Antworten von anderen Rainbow-Benutzern zu erhalten.

    Nachricht posten