Bruno,

please post the wirelog or I am unable to help you. Thanks.

Ortwin


Bruno Borges wrote:
Well Glück, about HTTP/1.1, thanks.
But now let's go futher with 400 "Bad Request".

I'm behind a proxy, and after more or less 90 requests, the proxy give
me this error. The message in the body is this one:

    The request was rejected because the port it was connecting to
    is not configured to receive the protocol being sent.
     Please contact your network administrator.

My proxied HttpClient is configured this way (encapsulated):

  private AuthScope proxyAS = new AuthScope("myproxyhost.com", 443);
  private Credentials proxyAuth = new
UsernamePasswordCredentials("user", "pass");
  private ProxyHost proxyHost = new ProxyHost("myproxyhost", 443);

  executeMethod(HostConfiguration hostconfig, HttpMethod method,
                        HttpState state) ... {
      state.setProxyCredentials(proxyAS, proxyAuth);
      hostconfig.setProxyHost(proxyHost);

      this.httpClient.executeMethod(state, method, hostconfig);
  }

Is there something wrong doing this way?

Thank you,
Bruno


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to