Top

.net SetWebProxyInfo method throw exception

Respondida

Comentários

8 comentários

  • 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
    Ações de comentário 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
    Ações de comentário 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
    Ações de comentário 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
    Ações de comentário 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
    Ações de comentário 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
    Ações de comentário Permalink
  • Axel Steppe

    Hi Christophe,

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

    Thanks for your support !

    BR Axel

    0
    Ações de comentário Permalink
  • Christophe IRLES

    Great news.

    You're welcome

    0
    Ações de comentário Permalink

Por favor, entrar para comentar.

Ainda não consegue encontrar o que você precisa?

  • Contate-nos

    Você tem alguma pergunta sobre o Rainbow? Deixe-nos uma mensagem para obter mais informações.

    Contato
  • Pergunte à Comunidade

    Você precisa de ajuda? Faça suas perguntas na Comunidade para obter respostas de outros usuários do Rainbow.

    Enviar mensagem