You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Jeff Davis (JIRA)" <ji...@apache.org> on 2008/11/26 02:56:44 UTC

[jira] Created: (SYNAPSE-481) Outbound proxy server settings do not appear to be working

Outbound proxy server settings do not appear to be working
----------------------------------------------------------

                 Key: SYNAPSE-481
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-481
             Project: Synapse
          Issue Type: Bug
          Components: Transports
    Affects Versions: 1.2
         Environment: Testing on Ubuntu Linux, Java 1.5 and 6.0
            Reporter: Jeff Davis


The outbound proxy server settings, outline in this document - http://wso2.org/library/3346, do not appear to be working. For example, I tried this setting in the axis2.xml file:

<axisconfig name="AxisJava2.0">

     <parameter name="Proxy">
             <Configuration>
                      <ProxyHost>localhost</ProxyHost>
                      <ProxyPort>8888</ProxyPort>
              </Configuration>
    </parameter>
....other stuff
</axisconfig> 

My local outbound proxy that I was testing with, TinyProxy (available with most Linux distro's) doesn't show any activity (but I've confirmed it's working properly via some other programs) when I attempt to call a remote endpoint service. I also attempted using the Java system properties option, but that similarly didn't appear to be work.

Unfortunately, a lot of companies are now restricting all outbound traffic except through a proxy, so this can be a significant problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


RE: [jira] Commented: (SYNAPSE-481) Outbound proxy server settings do not appear to be working

Posted by Kim Horn <ki...@icsglobal.net>.
Hello Oleg,

Sorry about that, No we only use HTTPS

Thanks
Kim

-----Original Message-----
From: Asankha C. Perera (JIRA) [mailto:jira@apache.org] 
Sent: Friday, 13 March 2009 12:09 AM
To: dev@synapse.apache.org
Subject: [jira] Commented: (SYNAPSE-481) Outbound proxy server settings do not appear to be working


    [ https://issues.apache.org/jira/browse/SYNAPSE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681300#action_12681300 ] 

Asankha C. Perera commented on SYNAPSE-481:
-------------------------------------------

Hi Oleg

I am currently only considering simple HTTP proxying, and I hope this is what Kim Horn wanted - Kim?

I also remember our previous discussion http://markmail.org/message/3hfq367f3763pqce and would first like understand the scope and details of HTTPS connection tunneling as I am not familiar with it yet. I have also come across questions on supporting SPNego etc, and non-preemptive authentication with Synapse. I guess that also would fall into the scope of a new sub project similar to HttpClient again.. 

thanks
asankha

> Outbound proxy server settings do not appear to be working
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-481
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-481
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Testing on Ubuntu Linux, Java 1.5 and 6.0
>            Reporter: Jeff Davis
>            Assignee: Asankha C. Perera
>
> The outbound proxy server settings, outline in this document - http://wso2.org/library/3346, do not appear to be working. For example, I tried this setting in the axis2.xml file:
> <axisconfig name="AxisJava2.0">
>      <parameter name="Proxy">
>              <Configuration>
>                       <ProxyHost>localhost</ProxyHost>
>                       <ProxyPort>8888</ProxyPort>
>               </Configuration>
>     </parameter>
> ....other stuff
> </axisconfig> 
> My local outbound proxy that I was testing with, TinyProxy (available with most Linux distro's) doesn't show any activity (but I've confirmed it's working properly via some other programs) when I attempt to call a remote endpoint service. I also attempted using the Java system properties option, but that similarly didn't appear to be work.
> Unfortunately, a lot of companies are now restricting all outbound traffic except through a proxy, so this can be a significant problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Assigned: (SYNAPSE-481) Outbound proxy server settings do not appear to be working

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen reassigned SYNAPSE-481:
---------------------------------------

    Assignee: Asankha C. Perera

> Outbound proxy server settings do not appear to be working
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-481
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-481
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Testing on Ubuntu Linux, Java 1.5 and 6.0
>            Reporter: Jeff Davis
>            Assignee: Asankha C. Perera
>
> The outbound proxy server settings, outline in this document - http://wso2.org/library/3346, do not appear to be working. For example, I tried this setting in the axis2.xml file:
> <axisconfig name="AxisJava2.0">
>      <parameter name="Proxy">
>              <Configuration>
>                       <ProxyHost>localhost</ProxyHost>
>                       <ProxyPort>8888</ProxyPort>
>               </Configuration>
>     </parameter>
> ....other stuff
> </axisconfig> 
> My local outbound proxy that I was testing with, TinyProxy (available with most Linux distro's) doesn't show any activity (but I've confirmed it's working properly via some other programs) when I attempt to call a remote endpoint service. I also attempted using the Java system properties option, but that similarly didn't appear to be work.
> Unfortunately, a lot of companies are now restricting all outbound traffic except through a proxy, so this can be a significant problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Resolved: (SYNAPSE-481) Outbound proxy server settings do not appear to be working

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera resolved SYNAPSE-481.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

Fixed for plain HTTP proxying and tested with Squid

Configuration is enabled as :

    <transportSender name="http"  class="org.apache.synapse.transport.nhttp.HttpCoreNIOSender">
        <parameter name="non-blocking" locked="false">true</parameter>
        <parameter name="http.proxyHost" locked="false">localhost</parameter>
        <parameter name="http.proxyPort" locked="false">3128</parameter>
        <parameter name="http.nonProxyHosts" locked="false">localhost|moon|sun</parameter>
    </transportSender>

or via the same System properties with the above names as per standard Java norms (http://java.sun.com/j2se/1.5.0/docs/guide/net/proxies.html)

> Outbound proxy server settings do not appear to be working
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-481
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-481
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Testing on Ubuntu Linux, Java 1.5 and 6.0
>            Reporter: Jeff Davis
>            Assignee: Asankha C. Perera
>             Fix For: 1.3
>
>
> The outbound proxy server settings, outline in this document - http://wso2.org/library/3346, do not appear to be working. For example, I tried this setting in the axis2.xml file:
> <axisconfig name="AxisJava2.0">
>      <parameter name="Proxy">
>              <Configuration>
>                       <ProxyHost>localhost</ProxyHost>
>                       <ProxyPort>8888</ProxyPort>
>               </Configuration>
>     </parameter>
> ....other stuff
> </axisconfig> 
> My local outbound proxy that I was testing with, TinyProxy (available with most Linux distro's) doesn't show any activity (but I've confirmed it's working properly via some other programs) when I attempt to call a remote endpoint service. I also attempted using the Java system properties option, but that similarly didn't appear to be work.
> Unfortunately, a lot of companies are now restricting all outbound traffic except through a proxy, so this can be a significant problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-481) Outbound proxy server settings do not appear to be working

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650989#action_12650989 ] 

Andreas Veithen commented on SYNAPSE-481:
-----------------------------------------

Can you please attach the complete axis2.xml or tell us which HTTP transport you are using?

> Outbound proxy server settings do not appear to be working
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-481
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-481
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Testing on Ubuntu Linux, Java 1.5 and 6.0
>            Reporter: Jeff Davis
>
> The outbound proxy server settings, outline in this document - http://wso2.org/library/3346, do not appear to be working. For example, I tried this setting in the axis2.xml file:
> <axisconfig name="AxisJava2.0">
>      <parameter name="Proxy">
>              <Configuration>
>                       <ProxyHost>localhost</ProxyHost>
>                       <ProxyPort>8888</ProxyPort>
>               </Configuration>
>     </parameter>
> ....other stuff
> </axisconfig> 
> My local outbound proxy that I was testing with, TinyProxy (available with most Linux distro's) doesn't show any activity (but I've confirmed it's working properly via some other programs) when I attempt to call a remote endpoint service. I also attempted using the Java system properties option, but that similarly didn't appear to be work.
> Unfortunately, a lot of companies are now restricting all outbound traffic except through a proxy, so this can be a significant problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-481) Outbound proxy server settings do not appear to be working

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681394#action_12681394 ] 

Asankha C. Perera commented on SYNAPSE-481:
-------------------------------------------

FYI - I have seen that Squid does not like Chunked encoding, thus you may have to force the use of HTTP 1.0 as follows:

<property name="FORCE_HTTP_1.0" value="true" scope="axis2"/>


> Outbound proxy server settings do not appear to be working
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-481
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-481
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Testing on Ubuntu Linux, Java 1.5 and 6.0
>            Reporter: Jeff Davis
>            Assignee: Asankha C. Perera
>             Fix For: 1.3
>
>
> The outbound proxy server settings, outline in this document - http://wso2.org/library/3346, do not appear to be working. For example, I tried this setting in the axis2.xml file:
> <axisconfig name="AxisJava2.0">
>      <parameter name="Proxy">
>              <Configuration>
>                       <ProxyHost>localhost</ProxyHost>
>                       <ProxyPort>8888</ProxyPort>
>               </Configuration>
>     </parameter>
> ....other stuff
> </axisconfig> 
> My local outbound proxy that I was testing with, TinyProxy (available with most Linux distro's) doesn't show any activity (but I've confirmed it's working properly via some other programs) when I attempt to call a remote endpoint service. I also attempted using the Java system properties option, but that similarly didn't appear to be work.
> Unfortunately, a lot of companies are now restricting all outbound traffic except through a proxy, so this can be a significant problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-481) Outbound proxy server settings do not appear to be working

Posted by "Jeff Davis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651017#action_12651017 ] 

Jeff Davis commented on SYNAPSE-481:
------------------------------------

The only change made to the axis2.xml file was the inclusion of the XML fragment described in the description, which immediately followed the root axisconfig element. 

I was attempting to use a HTTP (not HTTPs) out transport using the SOAP protocol.

Thanks,

jeff

> Outbound proxy server settings do not appear to be working
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-481
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-481
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Testing on Ubuntu Linux, Java 1.5 and 6.0
>            Reporter: Jeff Davis
>
> The outbound proxy server settings, outline in this document - http://wso2.org/library/3346, do not appear to be working. For example, I tried this setting in the axis2.xml file:
> <axisconfig name="AxisJava2.0">
>      <parameter name="Proxy">
>              <Configuration>
>                       <ProxyHost>localhost</ProxyHost>
>                       <ProxyPort>8888</ProxyPort>
>               </Configuration>
>     </parameter>
> ....other stuff
> </axisconfig> 
> My local outbound proxy that I was testing with, TinyProxy (available with most Linux distro's) doesn't show any activity (but I've confirmed it's working properly via some other programs) when I attempt to call a remote endpoint service. I also attempted using the Java system properties option, but that similarly didn't appear to be work.
> Unfortunately, a lot of companies are now restricting all outbound traffic except through a proxy, so this can be a significant problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-481) Outbound proxy server settings do not appear to be working

Posted by "Jeff Davis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651032#action_12651032 ] 

Jeff Davis commented on SYNAPSE-481:
------------------------------------

Yes, I was using the Synapse NIO that comes out-of-the-box with Synapse 1.2. No other changes to axis2.xml were made beyond what I've described.

 

> Outbound proxy server settings do not appear to be working
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-481
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-481
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Testing on Ubuntu Linux, Java 1.5 and 6.0
>            Reporter: Jeff Davis
>
> The outbound proxy server settings, outline in this document - http://wso2.org/library/3346, do not appear to be working. For example, I tried this setting in the axis2.xml file:
> <axisconfig name="AxisJava2.0">
>      <parameter name="Proxy">
>              <Configuration>
>                       <ProxyHost>localhost</ProxyHost>
>                       <ProxyPort>8888</ProxyPort>
>               </Configuration>
>     </parameter>
> ....other stuff
> </axisconfig> 
> My local outbound proxy that I was testing with, TinyProxy (available with most Linux distro's) doesn't show any activity (but I've confirmed it's working properly via some other programs) when I attempt to call a remote endpoint service. I also attempted using the Java system properties option, but that similarly didn't appear to be work.
> Unfortunately, a lot of companies are now restricting all outbound traffic except through a proxy, so this can be a significant problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-481) Outbound proxy server settings do not appear to be working

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681277#action_12681277 ] 

Asankha C. Perera commented on SYNAPSE-481:
-------------------------------------------

I propose the model where one could specify the configuration as follows, which is more natural to the TransportSender, as well as to the standard Java system configuration

    <transportSender name="http"  class="org.apache.synapse.transport.nhttp.HttpCoreNIOSender">
        <parameter name="non-blocking" locked="false">true</parameter>
        <parameter name="http.proxyHost" locked="false">localhost</parameter>
        <parameter name="http.proxyPort" locked="false">3128</parameter>
        <parameter name="http.nonProxyHosts" locked="false">moon| sun:2200| .mozilla.org</parameter>
    </transportSender>

Ref: http://java.sun.com/j2se/1.5.0/docs/guide/net/proxies.html

> Outbound proxy server settings do not appear to be working
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-481
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-481
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Testing on Ubuntu Linux, Java 1.5 and 6.0
>            Reporter: Jeff Davis
>            Assignee: Asankha C. Perera
>
> The outbound proxy server settings, outline in this document - http://wso2.org/library/3346, do not appear to be working. For example, I tried this setting in the axis2.xml file:
> <axisconfig name="AxisJava2.0">
>      <parameter name="Proxy">
>              <Configuration>
>                       <ProxyHost>localhost</ProxyHost>
>                       <ProxyPort>8888</ProxyPort>
>               </Configuration>
>     </parameter>
> ....other stuff
> </axisconfig> 
> My local outbound proxy that I was testing with, TinyProxy (available with most Linux distro's) doesn't show any activity (but I've confirmed it's working properly via some other programs) when I attempt to call a remote endpoint service. I also attempted using the Java system properties option, but that similarly didn't appear to be work.
> Unfortunately, a lot of companies are now restricting all outbound traffic except through a proxy, so this can be a significant problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-481) Outbound proxy server settings do not appear to be working

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651031#action_12651031 ] 

Asankha C. Perera commented on SYNAPSE-481:
-------------------------------------------

This is not yet implemented in the NIO transport, and thus is simply ignored. I will get this implemented soon

> Outbound proxy server settings do not appear to be working
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-481
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-481
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Testing on Ubuntu Linux, Java 1.5 and 6.0
>            Reporter: Jeff Davis
>
> The outbound proxy server settings, outline in this document - http://wso2.org/library/3346, do not appear to be working. For example, I tried this setting in the axis2.xml file:
> <axisconfig name="AxisJava2.0">
>      <parameter name="Proxy">
>              <Configuration>
>                       <ProxyHost>localhost</ProxyHost>
>                       <ProxyPort>8888</ProxyPort>
>               </Configuration>
>     </parameter>
> ....other stuff
> </axisconfig> 
> My local outbound proxy that I was testing with, TinyProxy (available with most Linux distro's) doesn't show any activity (but I've confirmed it's working properly via some other programs) when I attempt to call a remote endpoint service. I also attempted using the Java system properties option, but that similarly didn't appear to be work.
> Unfortunately, a lot of companies are now restricting all outbound traffic except through a proxy, so this can be a significant problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-481) Outbound proxy server settings do not appear to be working

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681318#action_12681318 ] 

Oleg Kalnichevski commented on SYNAPSE-481:
-------------------------------------------

Asankha, 

Basically there are two potentially difficult aspects:
(1) ability to upgrade a plain connection to a SSL/TLS secured one. Can be done using core components only, but some custom code will still be required 
(2) ability to authenticate with the proxy. This automatically entails bringing it almost half of HttpClient functionality.

Oleg

> Outbound proxy server settings do not appear to be working
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-481
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-481
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Testing on Ubuntu Linux, Java 1.5 and 6.0
>            Reporter: Jeff Davis
>            Assignee: Asankha C. Perera
>
> The outbound proxy server settings, outline in this document - http://wso2.org/library/3346, do not appear to be working. For example, I tried this setting in the axis2.xml file:
> <axisconfig name="AxisJava2.0">
>      <parameter name="Proxy">
>              <Configuration>
>                       <ProxyHost>localhost</ProxyHost>
>                       <ProxyPort>8888</ProxyPort>
>               </Configuration>
>     </parameter>
> ....other stuff
> </axisconfig> 
> My local outbound proxy that I was testing with, TinyProxy (available with most Linux distro's) doesn't show any activity (but I've confirmed it's working properly via some other programs) when I attempt to call a remote endpoint service. I also attempted using the Java system properties option, but that similarly didn't appear to be work.
> Unfortunately, a lot of companies are now restricting all outbound traffic except through a proxy, so this can be a significant problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-481) Outbound proxy server settings do not appear to be working

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651029#action_12651029 ] 

Andreas Veithen commented on SYNAPSE-481:
-----------------------------------------

Jeff, there are two different versions of the HTTP transport: the one that is shipped with Axis2 (and to which the article you mentioned in the description applies) and a Synapse specific non blocking implementation more appropriate for ESBs. If you posted your complete axis2.xml we could tell right away which one you are using without having to figure out which version of axis2.xml you used as a template...

> Outbound proxy server settings do not appear to be working
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-481
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-481
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Testing on Ubuntu Linux, Java 1.5 and 6.0
>            Reporter: Jeff Davis
>
> The outbound proxy server settings, outline in this document - http://wso2.org/library/3346, do not appear to be working. For example, I tried this setting in the axis2.xml file:
> <axisconfig name="AxisJava2.0">
>      <parameter name="Proxy">
>              <Configuration>
>                       <ProxyHost>localhost</ProxyHost>
>                       <ProxyPort>8888</ProxyPort>
>               </Configuration>
>     </parameter>
> ....other stuff
> </axisconfig> 
> My local outbound proxy that I was testing with, TinyProxy (available with most Linux distro's) doesn't show any activity (but I've confirmed it's working properly via some other programs) when I attempt to call a remote endpoint service. I also attempted using the Java system properties option, but that similarly didn't appear to be work.
> Unfortunately, a lot of companies are now restricting all outbound traffic except through a proxy, so this can be a significant problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-481) Outbound proxy server settings do not appear to be working

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681289#action_12681289 ] 

Oleg Kalnichevski commented on SYNAPSE-481:
-------------------------------------------

Asankha,

While simple (plain) HTTP request proxying should be absolutely trivial ti implement, HTTPS connection tunneling could be a _major_ undertaking. If you intend to support HTTPS tunneling at some point as well, we should probably consider starting a project to build an async version of HttpClient out of HC, so other people could potentially contribute to that effort. It will not be an easy task.

Oleg

> Outbound proxy server settings do not appear to be working
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-481
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-481
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Testing on Ubuntu Linux, Java 1.5 and 6.0
>            Reporter: Jeff Davis
>            Assignee: Asankha C. Perera
>
> The outbound proxy server settings, outline in this document - http://wso2.org/library/3346, do not appear to be working. For example, I tried this setting in the axis2.xml file:
> <axisconfig name="AxisJava2.0">
>      <parameter name="Proxy">
>              <Configuration>
>                       <ProxyHost>localhost</ProxyHost>
>                       <ProxyPort>8888</ProxyPort>
>               </Configuration>
>     </parameter>
> ....other stuff
> </axisconfig> 
> My local outbound proxy that I was testing with, TinyProxy (available with most Linux distro's) doesn't show any activity (but I've confirmed it's working properly via some other programs) when I attempt to call a remote endpoint service. I also attempted using the Java system properties option, but that similarly didn't appear to be work.
> Unfortunately, a lot of companies are now restricting all outbound traffic except through a proxy, so this can be a significant problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-481) Outbound proxy server settings do not appear to be working

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681300#action_12681300 ] 

Asankha C. Perera commented on SYNAPSE-481:
-------------------------------------------

Hi Oleg

I am currently only considering simple HTTP proxying, and I hope this is what Kim Horn wanted - Kim?

I also remember our previous discussion http://markmail.org/message/3hfq367f3763pqce and would first like understand the scope and details of HTTPS connection tunneling as I am not familiar with it yet. I have also come across questions on supporting SPNego etc, and non-preemptive authentication with Synapse. I guess that also would fall into the scope of a new sub project similar to HttpClient again.. 

thanks
asankha

> Outbound proxy server settings do not appear to be working
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-481
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-481
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Testing on Ubuntu Linux, Java 1.5 and 6.0
>            Reporter: Jeff Davis
>            Assignee: Asankha C. Perera
>
> The outbound proxy server settings, outline in this document - http://wso2.org/library/3346, do not appear to be working. For example, I tried this setting in the axis2.xml file:
> <axisconfig name="AxisJava2.0">
>      <parameter name="Proxy">
>              <Configuration>
>                       <ProxyHost>localhost</ProxyHost>
>                       <ProxyPort>8888</ProxyPort>
>               </Configuration>
>     </parameter>
> ....other stuff
> </axisconfig> 
> My local outbound proxy that I was testing with, TinyProxy (available with most Linux distro's) doesn't show any activity (but I've confirmed it's working properly via some other programs) when I attempt to call a remote endpoint service. I also attempted using the Java system properties option, but that similarly didn't appear to be work.
> Unfortunately, a lot of companies are now restricting all outbound traffic except through a proxy, so this can be a significant problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org