You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Jan-Frode Myklebust (JIRA)" <ji...@apache.org> on 2013/10/24 11:35:04 UTC

[jira] [Updated] (TS-2298) 400 Multi-Hop Cycle detected with .insert_request_via_str

     [ https://issues.apache.org/jira/browse/TS-2298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan-Frode Myklebust updated TS-2298:
------------------------------------

          Description: 
We're seeing "400 Multi-Hop Cycle detected" problems when proxy.config.http.insert_request_via_str is enabled. We see the same problem on both v4.0.2, v3.2.3 and v3.2.5.

The configuration we have that triggers this is:

{noformat}
map             http://www.example.com/            http://web1.example.net/
map             https://api.example.com             http://api1.examle.net/
{noformat}

where web1.example.net is using mod_proxy to proxy some requests to https://api.services.example.com:

{noformat}
SSLProxyEngine On
ProxyPass /api/menu   https://api.example.com/test/api/menu
{noformat}

If www.example.com and api.example.com  is going trough the same trafficserver with proxy.config.http.insert_request_via_str enabled we get the Multi-Hop Cycle detected error. If they are going trough different physical hosts, or if we disable proxy.config.http.insert_request_via_str then the problem goes away.

  was:
We're seeing "400 Multi-Hop Cycle detected" problems when proxy.config.http.insert_request_via_str is enabled. We see the same problem on both v4.0.2, v3.2.3 and v3.2.5.

The configuration we have that triggers this is:

{noformat}
map             http://www.example.com/            http://web1.example.net/
map             https://api.example.com             http://api1.examle.net/
{noformat}

where web1.example.net is using mod_proxy to proxy some requests to https://api.services.example.com:

{noformat}
SSLProxyEngine On
ProxyPass /api/menu   https://api.example.com/test/api/menu
{noformat}

If we www.example.com and api.example.com  is going trough the same trafficserver with proxy.config.http.insert_request_via_str enabled we get the Multi-Hop Cycle detected error. If they are going trough different physical hosts, or if we disable proxy.config.http.insert_request_via_str then the problem goes away.

          Environment: RHEL6, x86_64, apache httpd, mod_proxy
    Affects Version/s: 3.2.5
                       4.0.2

> 400 Multi-Hop Cycle detected with .insert_request_via_str
> ---------------------------------------------------------
>
>                 Key: TS-2298
>                 URL: https://issues.apache.org/jira/browse/TS-2298
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.2.5, 4.0.2
>         Environment: RHEL6, x86_64, apache httpd, mod_proxy
>            Reporter: Jan-Frode Myklebust
>
> We're seeing "400 Multi-Hop Cycle detected" problems when proxy.config.http.insert_request_via_str is enabled. We see the same problem on both v4.0.2, v3.2.3 and v3.2.5.
> The configuration we have that triggers this is:
> {noformat}
> map             http://www.example.com/            http://web1.example.net/
> map             https://api.example.com             http://api1.examle.net/
> {noformat}
> where web1.example.net is using mod_proxy to proxy some requests to https://api.services.example.com:
> {noformat}
> SSLProxyEngine On
> ProxyPass /api/menu   https://api.example.com/test/api/menu
> {noformat}
> If www.example.com and api.example.com  is going trough the same trafficserver with proxy.config.http.insert_request_via_str enabled we get the Multi-Hop Cycle detected error. If they are going trough different physical hosts, or if we disable proxy.config.http.insert_request_via_str then the problem goes away.



--
This message was sent by Atlassian JIRA
(v6.1#6144)