Return-Path: Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: (qmail 93696 invoked from network); 12 Feb 2009 22:51:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2009 22:51:40 -0000 Received: (qmail 79205 invoked by uid 500); 12 Feb 2009 22:50:38 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 79185 invoked by uid 500); 12 Feb 2009 22:50:37 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 79174 invoked by uid 99); 12 Feb 2009 22:50:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 14:50:37 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of larr.hom@gmail.com designates 74.125.44.154 as permitted sender) Received: from [74.125.44.154] (HELO yx-out-1718.google.com) (74.125.44.154) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 22:50:26 +0000 Received: by yx-out-1718.google.com with SMTP id 3so548239yxi.88 for ; Thu, 12 Feb 2009 14:50:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=fI52xl+fLu3BeCOjSN40Wp/8CXHYiNJ+3SgG76IAMQA=; b=Yl32aBW075XsSmVEnNo/yWFnD6S3bUgFLbEwteT/BuAvJW0gGhNkn+khaZADU4SjMP YT+xwMZ2sFdepAPN2FSwDX2QP/NHx8Q3/O2Cia6Tf3csHmq8awJtnSIoBpMGV1GMgoa/ dpINi8HKmdpINSko08jAvQ2H/txI1bIRvrrSA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=TfrMHD8vjNjxVep1BNNmr9FQlydH6ztToAMKph9ncefj4PvMENwV5qrfhEGyzpuaHb fZWFGZR5kKquWyrW4ekkpqRK9+oVS7z3J+3f/l7ikiCXHrIm9tjKpn0goTq/DUTXLOjm 0wG4qgJE+K15puFquuc09eK4J3F5l3tQUeW+c= MIME-Version: 1.0 Received: by 10.100.191.9 with SMTP id o9mr1934928anf.63.1234479005219; Thu, 12 Feb 2009 14:50:05 -0800 (PST) In-Reply-To: <499476D3.5020602@apache.org> References: <49930310.1010702@apache.org> <49934C3F.2040808@apache.org> <4993588E.3040408@apache.org> <499476D3.5020602@apache.org> Date: Thu, 12 Feb 2009 17:50:05 -0500 Message-ID: Subject: Re: Disable Circular Redirect Detection From: Larry Homes To: HttpClient User Discussion Content-Type: multipart/mixed; boundary=0016e6433f3896bc4b0462c08a4a X-Virus-Checked: Checked by ClamAV on apache.org --0016e6433f3896bc4b0462c08a4a Content-Type: multipart/alternative; boundary=0016e6433f3896bc440462c08a48 --0016e6433f3896bc440462c08a48 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Ok that is simple enough. On Thu, Feb 12, 2009 at 2:21 PM, Oleg Kalnichevski wrote: > Larry Homes wrote: > >> I read this site: >> http://hc.apache.org/httpclient-3.x/logging.html >> >> and added the lines >> System.setProperty("org.apache.commons.logging.Log", >> "org.apache.commons.logging.impl.SimpleLog"); >> System.setProperty("org.apache.commons.logging.simplelog.showdatetime", >> "true"); >> >> System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire", >> "debug"); >> >> System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient", >> "debug"); >> >> but I am not sure how to go about retreiving the logs or where they are. >> This is in a servlet so I checked catalina.out since that is where the >> error >> stream leads, but there is nothing extra in there. >> >> Your patience is appreciated >> >> > Larry, > > Please try to reproduce the issue using a small standalone application that > can be run outside the servlet container. Then, pass the following settings > to the JVM process on startup to get log entries written to the stdout: > > -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog > -Dorg.apache.commons.logging.simplelog.log.httpclient.wire=DEBUG > > -Dorg.apache.commons.logging.simplelog.log.org.apache.commons.httpclient=DEBUG > > > Oleg > > > On Wed, Feb 11, 2009 at 6:00 PM, Oleg Kalnichevski >> wrote: >> >> Larry Homes wrote: >>> >>> Ahh you are right. I read your previous email too quickly. However, >>>> correcting that mistake does not solve the problem. >>>> >>>> From here: >>>> http://hc.apache.org/httpclient-3.x/preference-api.html >>>> >>>> I saw another way to set the Params so here is the code I use currently. >>>> >>>> GetMethod method = new GetMethod( >>>> http://portal.acm.org/results.cfm?coll=Portal&query=SomeCRazyString); >>>> >>>> method.getParams().setParameter("http.protocol.allow-circular-redirects", >>>> true); >>>> >>>> and it still throws the exception >>>> >>>> >>>> >>>> Post context / wire log >>> >>> Oleg >>> >>> >>> >>> On Wed, Feb 11, 2009 at 5:07 PM, Oleg Kalnichevski >>>> wrote: >>>> >>>> Larry Homes wrote: >>>> >>>>> Hmm I think I did it right, but it still doesn't work correctly. >>>>> >>>>>> Let me provide a little more info: >>>>>> >>>>>> I am trying to go to the portal.acm.org website, specifcally the >>>>>> results >>>>>> page with the url like: >>>>>> >>>>>> http://portal.acm.org/results.cfm?coll=Portal&query=SomeCRazyString >>>>>> >>>>>> SomeCrazyString signifies a search term which results in no hits on >>>>>> acm's >>>>>> website. What portal.acm.org does in this case is redirect to itself >>>>>> with >>>>>> new parameters. I think httpclient see's this redirect to itself as a >>>>>> circular redirect, even though it just does it once. >>>>>> >>>>>> Here is how I tried to disable it: >>>>>> >>>>>> HttpClientParams http = new HttpClientParams(); >>>>>> http.setBooleanParameter("ALLOW_CIRCULAR_REDIRECTS", true); >>>>>> >>>>>> ALLOW_CIRCULAR_REDIRECTS != http.protocol.allow-circular-redirects >>>>>> >>>>> Oleg >>>>> >>>>> >>>>> >>>>> GetMethod method = new GetMethod(" >>>>> >>>>> http://portal.acm.org/results.cfm?coll=Portal&query=SomeCRazyString >>>>>> "); >>>>>> method.setParams(http); >>>>>> >>>>>> But I still get the CircularRedirectException. >>>>>> >>>>>> Any help is appreciated. >>>>>> >>>>>> On Wed, Feb 11, 2009 at 11:55 AM, Oleg Kalnichevski >>>>> >>>>>> wrote: >>>>>>> >>>>>>> Larry Homes wrote: >>>>>> >>>>>> Hello, >>>>>>> >>>>>>> Apache Httpclient is throwing a CircularRedirectException. I know >>>>>>>> the >>>>>>>> redirect is in fact not a circular redirect. Setting >>>>>>>> setFollowRedirects >>>>>>>> to >>>>>>>> false, solves the problem, but breaks some other sites redirect and, >>>>>>>> in >>>>>>>> general, I'd like to keep redirects active. So is there any way to >>>>>>>> turn >>>>>>>> off >>>>>>>> just Circular Redirect detection? I read that I might be able to do >>>>>>>> so >>>>>>>> with >>>>>>>> HttpParams.setParams(), but I do not know what name to set to false >>>>>>>> to >>>>>>>> disable catching circular redirects. >>>>>>>> >>>>>>>> Thanks for any help >>>>>>>> >>>>>>>> >>>>>>>> Set 'http.protocol.allow-circular-redirects' parameter to true. >>>>>>>> >>>>>>>> Oleg >>>>>>> >>>>>>> --------------------------------------------------------------------- >>>>>>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org >>>>>>> For additional commands, e-mail: httpclient-users-help@hc.apache.org >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> --------------------------------------------------------------------- >>>>>>> >>>>>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org >>>>> For additional commands, e-mail: httpclient-users-help@hc.apache.org >>>>> >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org >>> For additional commands, e-mail: httpclient-users-help@hc.apache.org >>> >>> >>> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org > For additional commands, e-mail: httpclient-users-help@hc.apache.org > > --0016e6433f3896bc440462c08a48 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ok that is simple enough.

On Thu, Feb 12= , 2009 at 2:21 PM, Oleg Kalnichevski <olegk@apache.org> wrote:
Larry Homes wrote:
I read this site:
http://hc.apache.org/httpclient-3.x/logging.html

and added the lines
System.setProperty("org.apache.commons.logging.Log",
"org.apache.commons.logging.impl.SimpleLog");
System.setProperty("org.apache.commons.logging.simplelog.showdatetime&= quot;,
"true");
System.setProperty("org.apache.commons.logging.simplelog.log.httpclien= t.wire",
"debug");
System.setProperty("org.apache.commons.logging.simplelog.log.org.apach= e.commons.httpclient",
"debug");

but I am not sure how to go about retreiving the logs or where they are. This is in a servlet so I checked catalina.out since that is where the erro= r
stream leads, but there is nothing extra in there.

Your patience is appreciated


Larry,

Please try to reproduce the issue using a small standalone application that= can be run outside the servlet container. Then, pass the following setting= s to the JVM process on startup to get log entries written to the stdout:
-Dorg.apache.commons.logging.Log=3Dorg.apache.commons.logging.impl.SimpleLo= g -Dorg.apache.commons.logging.simplelog.log.httpclient.wire=3DDEBUG
-Dorg.apache.commons.logging.simplelog.log.org.apache.commons.httpclient=3D= DEBUG


Oleg


On Wed, Feb 11, 2009 at 6:00 PM, Oleg Kalnichevski <olegk@apache.org> wrote:

Larry Homes wrote:

Ahh you are right. I read your previous email too quickly. However,
correcting that mistake does not solve the problem.

>From here:
http://hc.apache.org/httpclient-3.x/preference-api.html

I saw another way to set the Params so here is the code I use currently.
GetMethod method =3D new GetMethod(
http://portal.acm.org/results.cfm?coll=3DPor= tal&query=3DSomeCRazyString);
method.getParams().setParameter("http.protocol.allow-circular-redirect= s",
true);

and it still throws the exception



Post context / wire log

Oleg



On Wed, Feb 11, 2009 at 5:07 PM, Oleg Kalnichevski <olegk@apache.org>
wrote:

 Larry Homes wrote:
 Hmm I think I did it right, but it still doesn't work correctly.<= br>
Let me provide a little more info:

I am trying to go to the portal.acm.org website, specifcally the
results
page with the url like:

http://portal.acm.org/results.cfm?coll=3DPor= tal&query=3DSomeCRazyString

SomeCrazyString signifies a search term which results in no hits on
acm's
website. What portal.ac= m.org does in this case is redirect to itself
with
new parameters. I think httpclient see's this redirect to itself as a circular redirect, even though it just does it once.

Here is how I tried to disable it:

HttpClientParams http =3D new HttpClientParams();
http.setBooleanParameter("ALLOW_CIRCULAR_REDIRECTS", true);

 ALLOW_CIRCULAR_REDIRECTS !=3D http.protocol.allow-circular-redirects<= br>
Oleg



 GetMethod method =3D new GetMethod("

http://portal.acm.org/results.cfm?coll=3DPor= tal&query=3DSomeCRazyString");
method.setParams(http);

But I still get the CircularRedirectException.

Any help is appreciated.

On Wed, Feb 11, 2009 at 11:55 AM, Oleg Kalnichevski <olegk@apache.org

wrote:

 Larry Homes wrote:

 Hello,

Apache Httpclient is throwing a CircularRedirectException. I know the
redirect is in fact not a circular redirect. Setting
setFollowRedirects
to
false, solves the problem, but breaks some other sites redirect and,
in
general, I'd like to keep redirects active. So is there any way to
turn
off
just Circular Redirect detection? I read that I might be able to do so
with
HttpParams.setParams(), but I do not know what name to set to false to
disable catching circular redirects.

Thanks for any help


 Set 'http.protocol.allow-circular-redirects' parameter to tru= e.

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org=
For additional commands, e-mail: httpclient-users-help@hc.apache.org



 ---------------------------------------------------------------------=
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org=
For additional commands, e-mail: httpclient-users-help@hc.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org=
For additional commands, e-mail: httpclient-users-help@hc.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org=
For additional commands, e-mail: httpclient-users-help@hc.apache.org


--0016e6433f3896bc440462c08a48-- --0016e6433f3896bc4b0462c08a4a Content-Type: text/plain; charset=US-ASCII; name="out.txt" Content-Disposition: attachment; filename="out.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fr40vg4v1 W0RFQlVHXSBIdHRwQ2xpZW50IC0gSmF2YSB2ZXJzaW9uOiAxLjYuMF8xMQpbREVCVUddIEh0dHBD bGllbnQgLSBKYXZhIHZlbmRvcjogU3VuIE1pY3Jvc3lzdGVtcyBJbmMuCltERUJVR10gSHR0cENs aWVudCAtIEphdmEgY2xhc3MgcGF0aDogSSByZW1vdmVkIHRoZSBjbGFzc3BhdGggaW5mbwpbREVC VUddIEh0dHBDbGllbnQgLSBPcGVyYXRpbmcgc3lzdGVtIG5hbWU6IExpbnV4CltERUJVR10gSHR0 cENsaWVudCAtIE9wZXJhdGluZyBzeXN0ZW0gYXJjaGl0ZWN0dXJlOiBpMzg2CltERUJVR10gSHR0 cENsaWVudCAtIE9wZXJhdGluZyBzeXN0ZW0gdmVyc2lvbjogMi42LjI4LUFSQ0gKW0RFQlVHXSBI dHRwQ2xpZW50IC0gU1VOIDEuNjogU1VOIChEU0Ega2V5L3BhcmFtZXRlciBnZW5lcmF0aW9uOyBE U0Egc2lnbmluZzsgU0hBLTEsIE1ENSBkaWdlc3RzOyBTZWN1cmVSYW5kb207IFguNTA5IGNlcnRp ZmljYXRlczsgSktTIGtleXN0b3JlOyBQS0lYIENlcnRQYXRoVmFsaWRhdG9yOyBQS0lYIENlcnRQ YXRoQnVpbGRlcjsgTERBUCwgQ29sbGVjdGlvbiBDZXJ0U3RvcmVzLCBKYXZhUG9saWN5IFBvbGlj eTsgSmF2YUxvZ2luQ29uZmlnIENvbmZpZ3VyYXRpb24pCltERUJVR10gSHR0cENsaWVudCAtIFN1 blJzYVNpZ24gMS41OiBTdW4gUlNBIHNpZ25hdHVyZSBwcm92aWRlcgpbREVCVUddIEh0dHBDbGll bnQgLSBTdW5KU1NFIDEuNjogU3VuIEpTU0UgcHJvdmlkZXIoUEtDUzEyLCBTdW5YNTA5IGtleS90 cnVzdCBmYWN0b3JpZXMsIFNT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1ldGhvZChIdHRwTWV0aG9kRGlyZWN0b3IuamF2YToxNzkp CglhdCBvcmcuYXBhY2hlLmNvbW1vbnMuaHR0cGNsaWVudC5IdHRwQ2xpZW50LmV4ZWN1dGVNZXRo b2QoSHR0cENsaWVudC5qYXZhOjM5NykKCWF0IG9yZy5hcGFjaGUuY29tbW9ucy5odHRwY2xpZW50 Lkh0dHBDbGllbnQuZXhlY3V0ZU1ldGhvZChIdHRwQ2xpZW50LmphdmE6MzIzKQoJYXQgTWFpbi5t YWluKE1haW4uamF2YToxNCkKCg== --0016e6433f3896bc4b0462c08a4a Content-Type: text/x-java; charset=US-ASCII; name="Main.java" Content-Disposition: attachment; filename="Main.java" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fr40qqmm0 aW1wb3J0IGphdmEuaW8uSU9FeGNlcHRpb247CgppbXBvcnQgb3JnLmFwYWNoZS5jb21tb25zLmh0 dHBjbGllbnQuSHR0cENsaWVudDsKaW1wb3J0IG9yZy5hcGFjaGUuY29tbW9ucy5odHRwY2xpZW50 Lkh0dHBFeGNlcHRpb247CmltcG9ydCBvcmcuYXBhY2hlLmNvbW1vbnMuaHR0cGNsaWVudC5tZXRo b2RzLkdldE1ldGhvZDsKCnB1YmxpYyBjbGFzcyBNYWluCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBt YWluKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBIdHRwRXhjZXB0aW9uLCBJT0V4Y2VwdGlvbgoJewoJ CUh0dHBDbGllbnQgaHR0cCA9IG5ldyBIdHRwQ2xpZW50KCk7CgkJR2V0TWV0aG9kIG1ldGhvZCA9 IG5ldyBHZXRNZXRob2QoImh0dHA6Ly9wb3J0YWwuYWNtLm9yZy9yZXN1bHRzLmNmbT9jb2xsPVBv cnRhbCZxdWVyeT1Tb21lQ1JhenlTdHJpbmciKTsKCQltZXRob2QuZ2V0UGFyYW1zKCkuc2V0UGFy YW1ldGVyKCJodHRwLnByb3RvY29sLmFsbG93LWNpcmN1bGFyLXJlZGlyZWN0cyIsIHRydWUpOwoJ CWh0dHAuZXhlY3V0ZU1ldGhvZChtZXRob2QpOwoJfQoJCn0K --0016e6433f3896bc4b0462c08a4a Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org --0016e6433f3896bc4b0462c08a4a--