Top

.net SetWebProxyInfo method throw exception

Répondu

Commentaires

8 commentaires

  • 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
    Actions pour les commentaires Permalien
  • 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
    Actions pour les commentaires Permalien
  • 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
    Actions pour les commentaires Permalien
  • 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
    Actions pour les commentaires Permalien
  • 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
    Actions pour les commentaires Permalien
  • 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
    Actions pour les commentaires Permalien
  • Axel Steppe

    Hi Christophe,

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

    Thanks for your support !

    BR Axel

    0
    Actions pour les commentaires Permalien
  • Christophe IRLES

    Great news.

    You're welcome

    0
    Actions pour les commentaires Permalien

Vous devez vous connecter pour laisser un commentaire.

Vous n'avez pas trouvé ce que vous cherchez?

  • Contactez-nous

    Vous avez des questions? Laissez-nous un message pour obtenir plus d'informations.

    Contactez-nous
  • Demandez à la Communauté

    Vous avez besoin d'aide? Posez vos questions à la Communauté et obtenez des réponses d'autres utilisateurs Rainbow.

    Poster un message