Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DAF146131 for ; Fri, 15 Jul 2011 15:02:23 +0000 (UTC) Received: (qmail 5098 invoked by uid 500); 15 Jul 2011 15:02:23 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 4732 invoked by uid 500); 15 Jul 2011 15:02:22 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 4697 invoked by uid 99); 15 Jul 2011 15:02:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2011 15:02:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2011 15:02:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3E82859FC6 for ; Fri, 15 Jul 2011 15:02:00 +0000 (UTC) Date: Fri, 15 Jul 2011 15:02:00 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: dev@camel.apache.org Message-ID: <1263345906.17495.1310742120252.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <638753894.2943.1309935617548.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CAMEL-4176) camel-http4 component does not support proxy settings for HTTPS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-4176: ------------------------------- Attachment: (was: camel-http4-2.9-SNAPSHOT.jar) > camel-http4 component does not support proxy settings for HTTPS > --------------------------------------------------------------- > > Key: CAMEL-4176 > URL: https://issues.apache.org/jira/browse/CAMEL-4176 > Project: Camel > Issue Type: Bug > Components: camel-http > Affects Versions: 2.8.0 > Environment: Win 7 x64 > JDK 1.6.0 25 > Reporter: Don Doffe > Assignee: Claus Ibsen > Fix For: 2.8.0 > > Attachments: CAMEL-4176.patch, camel-core-2.9-SNAPSHOT.jar, camel-http4-2.9-SNAPSHOT.jar, http_exception.log, out.log, out2.log > > > Camel-http4 does not support http proxy configuration for HTTPS (https4:// endpoints). > Scenario 1: > Camel -- HTTP --> Proxy -- HTTPS4 --> Destination > http.proxyHost & http.proxyPort are specified and recognized: > String _authUsername="WS_P2P_INTERNAL"; > String _authPassword="WS_P2P_INTERNAL"; > > from("servlet:///proxy?matchOnUriPrefix=true") > .removeHeader(Exchange.HTTP_URI) > .removeHeader(Exchange.HTTP_PATH) > .removeHeader(Exchange.HTTP_QUERY) > > .to("https4://aupdc-osb01d:9002/P2P_Creditors/P2P_CreditorWS?wsdl&authUsername="+_authUsername+"&authPassword="+_authPassword+"&x509HostnameVerifier=AllowAllVerifier&proxyAuthHost=aupdc00-revprx01t&proxyAuthPort=9001"); > Getting exception: > java.lang.IllegalStateException: Scheme 'http' not registered. > at org.apache.http.conn.scheme.SchemeRegistry.getScheme(SchemeRegistry.java:71) > at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:127) > Attaching the whole log - http_exception.log > Scenario 2: > Camel -- HTTPS --> Proxy -- HTTPS4 --> Destination > Camel does not seem top recognize and accept https.proxyHost and https.proxyPort settings: > getContext().getProperties().put("https.proxyHost", "aupdc00-revprx01d"); > getContext().getProperties().put("https.proxyPort", "9001"); -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira