You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2014/05/19 19:42:38 UTC
[jira] [Closed] (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 ]
Bryan Call closed TS-2298.
--------------------------
Resolution: Invalid
Fix Version/s: (was: 5.0.0)
This is the normal behavior of ATS. You can remove the Via header on the Apache httpd host or disable adding the via header for the remap rule.
I opened another ticket to add a configuration option to disable loop detection.
> 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 http://api.example.com http://api1.example.net/
> {noformat}
> where web1.example.net is using mod_proxy to proxy some requests to http://api.example.com:
> {noformat}
> ProxyPass /api/menu http://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.2#6252)