hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gamas Sugiarto <ga...@evite.com>
Subject Re: Can someone please explain what these errors mean?
Date Wed, 16 Feb 2005 23:26:04 GMT
Hi Randy,

I have similar problem when I tried to access Hotmail website. Hotmail 
website set MalformedCookie.

What I did to solve the problem is to use HttpClient 3.0 APIs and create 
your own cookie spec class extending from 
org.apache.commons.httpclient.cookie.CookieSpecBase

Of course in your own custom cookie spec you need to set a more lenient 
validation logic.

Hope this help.

Gamas Sugiarto

Oleg Kalnichevski wrote:

>Randy
>
>The path attribute of the cookie in question violates all imaginable
>cookie specs. 
>
>Set-Cookie: TLTHID=8F72EB484561F88A535635A72C8A4536;
>Domain=.marykay.ca;path=/
>
>The cookie set from "Canada/LoginRefresh.asp" must have its path
>starting with "Canada/". Does this cookie gets accepted by IE or Mozilla
>Firefox?
>
>Consider upgrading to HttpClient 3.0 as it supports pluggable custom
>cookie specs. You can subclass the browser compatibility spec and make
>it accept cookies with any path attribute.
>
>http://jakarta.apache.org/commons/httpclient/3.0/cookies.html
>http://jakarta.apache.org/commons/httpclient/3.0/preference-api.html
>
>Oleg
>
>
>On Wed, 2005-02-16 at 16:09 -0600, Randy Paries wrote:
>  
>
>>Thanks for  you help
>>
>>I hope this helps
>>
>>
>>2005/02/16 16:02:36:374 CST [DEBUG] HttpClient - -Java version: 1.4.2_04
>>2005/02/16 16:02:36:374 CST [DEBUG] HttpClient - -Java vendor: Sun
>>Microsystems Inc.
>>2005/02/16 16:02:36:374 CST [DEBUG] HttpClient - -Java class path:
>>C:\j2sdk1.4.2_04\jre\lib\charsets.jar;C:\j2sdk1.4.2_04\jre\lib\jce.jar;C:\j2
>>sdk1.4.2_04\jre\lib\jsse.jar;C:\j2sdk1.4.2_04\jre\lib\plugin.jar;C:\j2sdk1.4
>>.2_04\jre\lib\rt.jar;C:\j2sdk1.4.2_04\jre\lib\sunrsasign.jar;C:\j2sdk1.4.2_0
>>4\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.2_04\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4
>>.2_04\jre\lib\ext\localedata.jar;C:\j2sdk1.4.2_04\jre\lib\ext\sunjce_provide
>>r.jar;C:\UnitNet\UnitNetServlet\webapp\WEB-INF\classes;C:\Program
>>Files\Apache Software Foundation\Tomcat 5.0\bin\bootstrap.jar;C:\Program
>>Files\Apache Software Foundation\Tomcat
>>5.0\common\lib\commons-collections.jar;C:\Program Files\Apache Software
>>Foundation\Tomcat 5.0\common\lib\naming-factory.jar;C:\Program Files\Apache
>>Software Foundation\Tomcat 5.0\common\lib\jsp-api.jar;C:\Program
>>Files\Apache Software Foundation\Tomcat
>>5.0\common\lib\servlet-api.jar;C:\Program Files\Apache Software
>>Foundation\Tomcat 5.0\common\lib\ant.jar;C:\Program Files\Apache Software
>>Foundation\Tomcat 5.0\common\lib\jasper-compiler.jar;C:\Program Files\Apache
>>Software Foundation\Tomcat 5.0\common\lib\naming-resources.jar;C:\Program
>>Files\Apache Software Foundation\Tomcat
>>5.0\common\lib\naming-common.jar;C:\Program Files\Apache Software
>>Foundation\Tomcat 5.0\common\lib\commons-dbcp-1.1.jar;C:\Program
>>Files\Apache Software Foundation\Tomcat
>>5.0\common\lib\commons-pool-1.1.jar;C:\Program Files\Apache Software
>>Foundation\Tomcat 5.0\common\lib\naming-java.jar;C:\Program Files\Apache
>>Software Foundation\Tomcat 5.0\common\lib\jasper-runtime.jar;C:\Program
>>Files\Apache Software Foundation\Tomcat
>>5.0\common\lib\commons-el.jar;C:\UnitNet\UnitNetServlet\webapp\WEB-INF\lib\a
>>ctivation.jar;C:\UnitNet\UnitNetServlet\webapp\WEB-INF\lib\pop3.jar;C:\UnitN
>>et\UnitNetServlet\webapp\WEB-INF\lib\mail.jar;C:\UnitNet\UnitNetServlet\weba
>>pp\WEB-INF\lib\ActivSpell2.jar;C:\UnitNet\UnitNetServlet\webapp\WEB-INF\lib\
>>imap.jar;C:\UnitNet\UnitNetServlet\webapp\WEB-INF\lib\mailapi.jar;C:\UnitNet
>>\UnitNetServlet\webapp\WEB-INF\lib\jspellcheck.jar;C:\UnitNet\UnitNetServlet
>>\webapp\WEB-INF\lib\activspell.jar;C:\UnitNet\UnitNetServlet\webapp\WEB-INF\
>>lib\jspsmartupload.jar;C:\UnitNet\UnitNetServlet\webapp\WEB-INF\lib\smtp.jar
>>;C:\UnitNet\UnitNetServlet\webapp\WEB-INF\lib\activscan.jar;C:\UnitNet\UnitN
>>etServlet\webapp\WEB-INF\lib\mysql-connector-java-3.0.14-production-bin.jar;
>>C:\UnitNet\UnitNetServlet\webapp\WEB-INF\lib\acme.jar;C:\UnitNet\UnitNetServ
>>let\src\libcurl\eclipse\plugins\org.curl_1.0.0\libcurl.jar;C:\UnitNet\UnitNe
>>tServlet\htmlparser1_5\lib\htmlparser.jar;C:\UnitNet\UnitNetServlet\commons-
>>httpclient-2.0.2\commons-httpclient-2.0.2.jar;C:\IntelliJ-IDEA-4.0.3\lib\ide
>>a_rt.jar
>>2005/02/16 16:02:36:390 CST [DEBUG] HttpClient - -Operating system name:
>>Windows XP
>>2005/02/16 16:02:36:390 CST [DEBUG] HttpClient - -Operating system
>>architecture: x86
>>2005/02/16 16:02:36:390 CST [DEBUG] HttpClient - -Operating system version:
>>5.1
>>2005/02/16 16:02:36:983 CST [DEBUG] HttpClient - -SUN 1.42: SUN (DSA
>>key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom;
>>X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX
>>CertPathBuilder; LDAP, Collection CertStores)
>>2005/02/16 16:02:36:999 CST [DEBUG] HttpClient - -SunJSSE 1.42: Sun JSSE
>>provider(implements RSA Signatures, PKCS12, SunX509 key/trust factories,
>>SSLv3, TLSv1)
>>2005/02/16 16:02:36:999 CST [DEBUG] HttpClient - -SunRsaSign 1.42: SUN's
>>provider for RSA signatures
>>2005/02/16 16:02:36:999 CST [DEBUG] HttpClient - -SunJCE 1.42: SunJCE
>>Provider (implements DES, Triple DES, AES, Blowfish, PBE, Diffie-Hellman,
>>HMAC-MD5, HMAC-SHA1)
>>2005/02/16 16:02:36:999 CST [DEBUG] HttpClient - -SunJGSS 1.0: Sun (Kerberos
>>v5)
>>2005/02/16 16:02:43:593 CST [DEBUG] HttpConnection -
>>-HttpConnection.setSoTimeout(0)
>>2005/02/16 16:02:43:593 CST [DEBUG] HttpMethodBase - -Execute loop try 1
>>2005/02/16 16:02:43:593 CST [DEBUG] header - ->> "GET
>>/Login.asp?PageID=1447&Directory=mkbiz/Canada/LoginRefresh.asp?PageID=1447&D
>>irectory=mkbiz HTTP/1.1[\r][\n]"
>>2005/02/16 16:02:43:608 CST [DEBUG] HttpMethodBase - -Adding Host request
>>header
>>2005/02/16 16:02:43:624 CST [DEBUG] header - ->> "User-Agent: Mozilla/4.0
>>(compatible; MSIE 6.0; Windows NT 5.1; SV1)[\r][\n]"
>>2005/02/16 16:02:43:624 CST [DEBUG] header - ->> "Host:
>>www.marykay.ca[\r][\n]"
>>2005/02/16 16:02:44:062 CST [DEBUG] header - ->> "[\r][\n]"
>>2005/02/16 16:02:44:233 CST [DEBUG] header - -<< "HTTP/1.1 200 OK[\r][\n]"
>>2005/02/16 16:02:44:233 CST [DEBUG] header - -<< "Server:
>>Microsoft-IIS/5.0[\r][\n]"
>>2005/02/16 16:02:44:233 CST [DEBUG] header - -<< "Date: Wed, 16 Feb 2005
>>22:02:44 GMT[\r][\n]"
>>2005/02/16 16:02:44:233 CST [DEBUG] header - -<< "X-Powered-By:
>>ASP.NET[\r][\n]"
>>2005/02/16 16:02:44:233 CST [DEBUG] header - -<< "Pragma: No-Cache[\r][\n]"
>>2005/02/16 16:02:44:233 CST [DEBUG] header - -<< "Content-Length:
>>5099[\r][\n]"
>>2005/02/16 16:02:44:233 CST [DEBUG] header - -<< "Content-Type:
>>text/html[\r][\n]"
>>2005/02/16 16:02:44:233 CST [DEBUG] header - -<< "Expires: Wed, 16 Feb 2005
>>22:02:44 GMT[\r][\n]"
>>2005/02/16 16:02:44:233 CST [DEBUG] header - -<< "Set-Cookie:
>>ShopperID=%7BFE4F7ADB%2D06CA%2D406F%2DBEC2%2D2769E57EEDBE%7D; expires=Fri,
>>18-Mar-2005 22:02:44 GMT; path=/[\r][\n]"
>>2005/02/16 16:02:44:233 CST [DEBUG] header - -<< "Set-Cookie: GUID=;
>>path=/[\r][\n]"
>>2005/02/16 16:02:44:233 CST [DEBUG] header - -<< "Set-Cookie: LanguageID=1;
>>path=/[\r][\n]"
>>2005/02/16 16:02:44:233 CST [DEBUG] header - -<< "Set-Cookie:
>>LanguageDefaulted=True; path=/[\r][\n]"
>>2005/02/16 16:02:44:249 CST [DEBUG] header - -<< "Set-Cookie:
>>ASPSESSIONIDSSCCQCSC=BAJBGEEBEFIAPINIPPOKAKDJ; path=/[\r][\n]"
>>2005/02/16 16:02:44:249 CST [DEBUG] header - -<< "Cache-control:
>>private[\r][\n]"
>>2005/02/16 16:02:44:249 CST [DEBUG] header - -<< "Set-Cookie:
>>TLTSID=6BC2644642F5132C7BE4178ECB8F15EAz0; Domain=.marykay.ca[\r];
>>path=/[\r][\n]"
>>2005/02/16 16:02:44:249 CST [DEBUG] header - -<< "Set-Cookie:
>>TLTHID=6BC2644642F5132C7BE4178ECB8F15EA; Domain=.marykay.ca[\r];
>>path=/[\r][\n]"
>>2005/02/16 16:02:44:249 CST [DEBUG] header - -<< "Set-Cookie:
>>TLTUID=6BC2644642F5132C7BE4178ECB8F15EA; Domain=.marykay.ca[\r]; path=/;
>>expires=Wed, 16-02-2015 22:02:44 GMT[\r][\n]"
>>2005/02/16 16:02:44:421 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"ShopperID=%7BFE4F7ADB%2D06CA%2D406F%2DBEC2%2D2769E57EEDBE%7D"
>>2005/02/16 16:02:44:421 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"GUID="
>>2005/02/16 16:02:44:421 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"LanguageID=1"
>>2005/02/16 16:02:44:421 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"LanguageDefaulted=True"
>>2005/02/16 16:02:44:421 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"ASPSESSIONIDSSCCQCSC=BAJBGEEBEFIAPINIPPOKAKDJ"
>>2005/02/16 16:02:44:421 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"TLTSID=6BC2644642F5132C7BE4178ECB8F15EAz0"
>>2005/02/16 16:02:44:421 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"TLTHID=6BC2644642F5132C7BE4178ECB8F15EA"
>>2005/02/16 16:02:44:437 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"TLTUID=6BC2644642F5132C7BE4178ECB8F15EA"
>>2005/02/16 16:02:46:530 CST [DEBUG] HttpMethodBase - -Buffering response
>>body
>>2005/02/16 16:02:46:546 CST [DEBUG] HttpMethodBase - -Resorting to protocol
>>version default close connection policy
>>2005/02/16 16:02:46:546 CST [DEBUG] HttpMethodBase - -Should NOT close
>>connection, using HTTP/1.1.
>>2005/02/16 16:02:46:546 CST [DEBUG] HttpMethodBase - -Default charset used:
>>ISO-8859-1
>>-----------------
>>-----------------
>>2005/02/16 16:02:53:890 CST [DEBUG] HttpConnection -
>>-HttpConnection.setSoTimeout(0)
>>2005/02/16 16:02:53:890 CST [DEBUG] HttpMethodBase - -Execute loop try 1
>>2005/02/16 16:02:53:890 CST [DEBUG] header - ->> "POST
>>/Login.asp?PageID=1447&Directory=mkbiz HTTP/1.1[\r][\n]"
>>2005/02/16 16:02:53:905 CST [DEBUG] HttpMethodBase - -Adding Host request
>>header
>>2005/02/16 16:02:53:905 CST [DEBUG] HttpMethodBase - -Default charset used:
>>ISO-8859-1
>>2005/02/16 16:02:53:921 CST [DEBUG] header - ->> "User-Agent: Mozilla/4.0
>>(compatible; MSIE 6.0; Windows NT 5.1; SV1)[\r][\n]"
>>2005/02/16 16:02:53:921 CST [DEBUG] header - ->> "Host:
>>www.marykay.ca[\r][\n]"
>>2005/02/16 16:02:53:921 CST [DEBUG] header - ->> "Cookie:
>>ShopperID=%7BFE4F7ADB%2D06CA%2D406F%2DBEC2%2D2769E57EEDBE%7D[\r][\n]"
>>2005/02/16 16:02:53:921 CST [DEBUG] header - ->> "Cookie: GUID=[\r][\n]"
>>2005/02/16 16:02:53:921 CST [DEBUG] header - ->> "Cookie:
>>LanguageID=1[\r][\n]"
>>2005/02/16 16:02:53:921 CST [DEBUG] header - ->> "Cookie:
>>LanguageDefaulted=True[\r][\n]"
>>2005/02/16 16:02:53:921 CST [DEBUG] header - ->> "Cookie:
>>ASPSESSIONIDSSCCQCSC=BAJBGEEBEFIAPINIPPOKAKDJ[\r][\n]"
>>2005/02/16 16:02:53:921 CST [DEBUG] header - ->> "Cookie:
>>TLTSID=6BC2644642F5132C7BE4178ECB8F15EAz0[\r][\n]"
>>2005/02/16 16:02:53:937 CST [DEBUG] header - ->> "Cookie:
>>TLTHID=6BC2644642F5132C7BE4178ECB8F15EA[\r][\n]"
>>2005/02/16 16:02:53:937 CST [DEBUG] header - ->> "Cookie:
>>TLTUID=6BC2644642F5132C7BE4178ECB8F15EA[\r][\n]"
>>2005/02/16 16:02:53:937 CST [DEBUG] header - ->> "Content-Length:
>>98[\r][\n]"
>>2005/02/16 16:02:53:937 CST [DEBUG] header - ->> "Content-Type:
>>application/x-www-form-urlencoded[\r][\n]"
>>2005/02/16 16:02:53:937 CST [DEBUG] header - ->> "[\r][\n]"
>>2005/02/16 16:02:53:937 CST [DEBUG] EntityEnclosingMethod - -Using buffered
>>request body
>>2005/02/16 16:02:53:937 CST [DEBUG] EntityEnclosingMethod - -Request body
>>sent
>>2005/02/16 16:02:54:030 CST [DEBUG] header - -<< "HTTP/1.1 100
>>Continue[\r][\n]"
>>2005/02/16 16:02:54:030 CST [DEBUG] header - -<< "Server:
>>Microsoft-IIS/5.0[\r][\n]"
>>2005/02/16 16:02:54:030 CST [DEBUG] header - -<< "Date: Wed, 16 Feb 2005
>>22:02:54 GMT[\r][\n]"
>>2005/02/16 16:02:54:030 CST [DEBUG] header - -<< "X-Powered-By:
>>ASP.NET[\r][\n]"
>>2005/02/16 16:02:54:030 CST [INFO] HttpMethodBase - -Discarding unexpected
>>response: HTTP/1.1 100 Continue
>>2005/02/16 16:02:55:483 CST [DEBUG] header - -<< "HTTP/1.1 302 Object
>>moved[\r][\n]"
>>2005/02/16 16:02:55:499 CST [DEBUG] header - -<< "Server:
>>Microsoft-IIS/5.0[\r][\n]"
>>2005/02/16 16:02:55:499 CST [DEBUG] header - -<< "Date: Wed, 16 Feb 2005
>>22:02:54 GMT[\r][\n]"
>>2005/02/16 16:02:55:499 CST [DEBUG] header - -<< "X-Powered-By:
>>ASP.NET[\r][\n]"
>>2005/02/16 16:02:55:499 CST [DEBUG] header - -<< "Pragma: No-Cache[\r][\n]"
>>2005/02/16 16:02:55:499 CST [DEBUG] header - -<< "Pragma: No-Cache[\r][\n]"
>>2005/02/16 16:02:55:499 CST [DEBUG] header - -<< "Location:
>>Canada/LoginRefresh.asp?PageID=1447&Directory=mkbiz[\r][\n]"
>>2005/02/16 16:02:55:499 CST [DEBUG] header - -<< "Content-Length:
>>121[\r][\n]"
>>2005/02/16 16:02:55:499 CST [DEBUG] header - -<< "Content-Type:
>>text/html[\r][\n]"
>>2005/02/16 16:02:55:499 CST [DEBUG] header - -<< "Expires: Wed, 16 Feb 2005
>>05:22:54 GMT[\r][\n]"
>>2005/02/16 16:02:55:499 CST [DEBUG] header - -<< "Set-Cookie:
>>SubsidiaryCode=CA; path=/[\r][\n]"
>>2005/02/16 16:02:55:515 CST [DEBUG] header - -<< "Set-Cookie:
>>ContactID=21970231; path=/[\r][\n]"
>>2005/02/16 16:02:55:515 CST [DEBUG] header - -<< "Set-Cookie:
>>GUID=%7B7E5D154F%2DCECA%2D46A8%2D99C2%2D2CA6BA3F8D21%7D; path=/[\r][\n]"
>>2005/02/16 16:02:55:515 CST [DEBUG] header - -<< "Set-Cookie: LanguageID=1;
>>domain=.marykay.ca; path=/[\r][\n]"
>>2005/02/16 16:02:55:515 CST [DEBUG] header - -<< "Set-Cookie:
>>LanguageDefaulted=True; path=/[\r][\n]"
>>2005/02/16 16:02:55:515 CST [DEBUG] header - -<< "Set-Cookie:
>>CustomerNumber=xxxxx; domain=.marykay.ca; path=/[\r][\n]"
>>2005/02/16 16:02:55:515 CST [DEBUG] header - -<< "Cache-control:
>>private[\r][\n]"
>>2005/02/16 16:02:55:515 CST [DEBUG] header - -<< "Set-Cookie:
>>TLTSID=D9D92A57456F0181E5053FAE47A58E05z0; Domain=.marykay.ca[\r];
>>path=/[\r][\n]"
>>2005/02/16 16:02:55:515 CST [DEBUG] header - -<< "Set-Cookie:
>>TLTHID=D9D92A57456F0181E5053FAE47A58E05; Domain=.marykay.ca[\r];
>>path=/[\r][\n]"
>>2005/02/16 16:02:55:515 CST [DEBUG] header - -<< "Set-Cookie:
>>TLTUID=D9D92A57456F0181E5053FAE47A58E05; Domain=.marykay.ca[\r]; path=/;
>>expires=Wed, 16-02-2015 22:02:54 GMT[\r][\n]"
>>2005/02/16 16:02:55:515 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"SubsidiaryCode=CA"
>>2005/02/16 16:02:55:515 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"ContactID=21970231"
>>2005/02/16 16:02:55:515 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"GUID=%7B7E5D154F%2DCECA%2D46A8%2D99C2%2D2CA6BA3F8D21%7D"
>>2005/02/16 16:02:55:515 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"LanguageID=1"
>>2005/02/16 16:02:55:515 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"LanguageDefaulted=True"
>>2005/02/16 16:02:55:515 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"CustomerNumber=xxxxx"
>>2005/02/16 16:02:55:530 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"TLTSID=D9D92A57456F0181E5053FAE47A58E05z0"
>>2005/02/16 16:02:55:530 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"TLTHID=D9D92A57456F0181E5053FAE47A58E05"
>>2005/02/16 16:02:55:530 CST [DEBUG] HttpMethodBase - -Cookie accepted:
>>"TLTUID=D9D92A57456F0181E5053FAE47A58E05"
>>2005/02/16 16:02:55:530 CST [DEBUG] HttpMethodBase - -Redirect required
>>2005/02/16 16:02:55:530 CST [INFO] HttpMethodBase - -Redirect requested but
>>followRedirects is disabled
>>Login form post: HTTP/1.1 302 Object moved
>>2005/02/16 16:02:59:655 CST [DEBUG] HttpMethodBase - -Buffering response
>>body
>>2005/02/16 16:02:59:655 CST [DEBUG] HttpMethodBase - -Resorting to protocol
>>version default close connection policy
>>2005/02/16 16:02:59:655 CST [DEBUG] HttpMethodBase - -Should NOT close
>>connection, using HTTP/1.1.
>>2005/02/16 16:02:59:655 CST [DEBUG] HttpMethodBase - -Default charset used:
>>ISO-8859-1
>>-----------------
>>-----------------
>>Logon cookies:
>>- ShopperID=%7BFE4F7ADB%2D06CA%2D406F%2DBEC2%2D2769E57EEDBE%7D
>>- LanguageID=1
>>- ASPSESSIONIDSSCCQCSC=BAJBGEEBEFIAPINIPPOKAKDJ
>>- SubsidiaryCode=CA
>>- ContactID=21970231
>>- GUID=%7B7E5D154F%2DCECA%2D46A8%2D99C2%2D2CA6BA3F8D21%7D
>>- LanguageID=1
>>- LanguageDefaulted=True
>>- CustomerNumber=xxxxx
>>- TLTSID=D9D92A57456F0181E5053FAE47A58E05z0
>>- TLTHID=D9D92A57456F0181E5053FAE47A58E05
>>- TLTUID=D9D92A57456F0181E5053FAE47A58E05
>>Redirect target: Canada/LoginRefresh.asp?PageID=1447&Directory=mkbiz
>>2005/02/16 16:03:13:390 CST [DEBUG] HttpConnection -
>>-HttpConnection.setSoTimeout(0)
>>2005/02/16 16:03:13:390 CST [DEBUG] HttpMethodBase - -Execute loop try 1
>>2005/02/16 16:03:13:390 CST [DEBUG] header - ->> "GET
>>Canada/LoginRefresh.asp?PageID=1447&Directory=mkbiz HTTP/1.1[\r][\n]"
>>2005/02/16 16:03:13:390 CST [DEBUG] HttpMethodBase - -Adding Host request
>>header
>>2005/02/16 16:03:13:390 CST [DEBUG] header - ->> "User-Agent: Jakarta
>>Commons-HttpClient/2.0.2[\r][\n]"
>>2005/02/16 16:03:13:390 CST [DEBUG] header - ->> "Host:
>>www.marykay.ca[\r][\n]"
>>2005/02/16 16:03:13:405 CST [DEBUG] header - ->> "[\r][\n]"
>>2005/02/16 16:03:13:515 CST [DEBUG] header - -<< "HTTP/1.1 400 Bad
>>Request[\r][\n]"
>>2005/02/16 16:03:13:515 CST [DEBUG] header - -<< "Server:
>>Microsoft-IIS/5.0[\r][\n]"
>>2005/02/16 16:03:13:530 CST [DEBUG] header - -<< "Date: Wed, 16 Feb 2005
>>22:03:13 GMT[\r][\n]"
>>2005/02/16 16:03:13:530 CST [DEBUG] header - -<< "Connection: close[\r][\n]"
>>2005/02/16 16:03:13:530 CST [DEBUG] header - -<< "Content-Type:
>>text/html[\r][\n]"
>>2005/02/16 16:03:13:530 CST [DEBUG] header - -<< "Content-Length:
>>87[\r][\n]"
>>2005/02/16 16:03:13:530 CST [DEBUG] header - -<< "Set-Cookie:
>>TLTSID=8F72EB484561F88A535635A72C8A4536z0; Domain=.marykay.ca[\r];
>>path=/[\r][\n]"
>>2005/02/16 16:03:13:530 CST [DEBUG] header - -<< "Set-Cookie:
>>TLTHID=8F72EB484561F88A535635A72C8A4536; Domain=.marykay.ca[\r];
>>path=/[\r][\n]"
>>2005/02/16 16:03:13:530 CST [DEBUG] header - -<< "Set-Cookie:
>>TLTUID=8F72EB484561F88A535635A72C8A4536; Domain=.marykay.ca[\r]; path=/;
>>expires=Wed, 16-02-2015 22:03:14 GMT[\r][\n]"
>>2005/02/16 16:03:13:530 CST [WARN] HttpMethodBase - -Cookie rejected:
>>"TLTSID=8F72EB484561F88A535635A72C8A4536z0". Illegal path attribute "/".
>>Path of origin: "Canada/LoginRefresh.asp"
>>2005/02/16 16:03:13:530 CST [WARN] HttpMethodBase - -Cookie rejected:
>>"TLTHID=8F72EB484561F88A535635A72C8A4536". Illegal path attribute "/". Path
>>of origin: "Canada/LoginRefresh.asp"
>>2005/02/16 16:03:13:546 CST [WARN] HttpMethodBase - -Cookie rejected:
>>"TLTUID=8F72EB484561F88A535635A72C8A4536". Illegal path attribute "/". Path
>>of origin: "Canada/LoginRefresh.asp"
>>Redirect: HTTP/1.1 400 Bad Request 
>>
>>-----Original Message-----
>>From: Oleg Kalnichevski [mailto:olegk@apache.org] 
>>Sent: Wednesday, February 16, 2005 2:55 PM
>>To: HttpClient User Discussion
>>Subject: RE: Can someone please explain what these errors mean?
>>
>>Randy,
>>
>>Please post a wire/context log of the HTTP session to this list. I'll look
>>at it tomorrow
>>
>>http://jakarta.apache.org/commons/httpclient/logging.html
>>
>>Oleg
>>
>>On Wed, 2005-02-16 at 10:05 -0600, Randy Paries wrote:
>>    
>>
>>>Hello
>>>
>>>Actually I do not have access to the backend, so I am unsure
>>>
>>>With my client I already do
>>>client.getState().setCookiePolicy(CookiePolicy.COMPATIBILITY);
>>>
>>>Thanks
>>>
>>>-----Original Message-----
>>>From: Kenneth Wilcox [mailto:kwilcox75@cox.net]
>>>Sent: Tuesday, February 15, 2005 6:58 PM
>>>To: 'HttpClient User Discussion'
>>>Subject: RE: Can someone please explain what these errors mean?
>>>
>>>Well,
>>>
>>>I can say that the TLTSID looks like a cookie that gets injected into 
>>>the HTTP headers by a product called Realitea from Tea Leaf 
>>>Technologies.  Does your company use that product?
>>>
>>>Sounds like you want to explicitly set your cookie policy to 
>>>Compatibility and see if that helps.
>>>
>>>Good luck.
>>>
>>>Ken
>>>
>>>      
>>>
>>>>-----Original Message-----
>>>>From: Randy Paries [mailto:randy.paries@unitnet.com]
>>>>Sent: Tuesday, February 15, 2005 4:23 PM
>>>>To: 'HttpClient User Discussion'
>>>>Subject: Can someone please explain what these errors mean?
>>>>
>>>>Hello,
>>>>
>>>>I am using httpClient to login into a site and then grab some data 
>>>>from a report
>>>>
>>>>After I post the login info, I get a 302 and I redirect to that page.
>>>>
>>>>When I go to the redirected URL I get these error messages. Can 
>>>>someone explain what they mean?
>>>>
>>>>Thanks
>>>>
>>>>Feb 15, 2005 3:03:40 PM org.apache.commons.httpclient.HttpMethodBase
>>>>processResponseHeaders
>>>>WARNING: Cookie rejected: "TLTSID=8E757A8C4BA2C4038B0F1FB931593E14z0".
>>>>Illegal path attribute "/". Path of origin: "Canada/LoginRefresh.asp"
>>>>Feb 15, 2005 3:03:40 PM org.apache.commons.httpclient.HttpMethodBase
>>>>processResponseHeaders
>>>>WARNING: Cookie rejected: "TLTHID=8E757A8C4BA2C4038B0F1FB931593E14".
>>>>Illegal
>>>>path attribute "/". Path of origin: "Canada/LoginRefresh.asp"
>>>>Feb 15, 2005 3:03:40 PM org.apache.commons.httpclient.HttpMethodBase
>>>>processResponseHeaders
>>>>WARNING: Cookie rejected: "TLTUID=8E757A8C4BA2C4038B0F1FB931593E14".
>>>>Illegal
>>>>path attribute "/". Path of origin: "Canada/LoginRefresh.asp"
>>>>
>>>>
>>>>
>>>>
>>>>--------------------------------------------------------------------
>>>>- To unsubscribe, e-mail: 
>>>>httpclient-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: 
>>>>httpclient-user-help@jakarta.apache.org
>>>>        
>>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: 
>>>httpclient-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: 
>>>httpclient-user-help@jakarta.apache.org
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message