tilakMDS / acra

Automatically exported from code.google.com/p/acra
0 stars 0 forks source link

Invalid cookie header #141

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure ACRA RC to use bugsense backend
2. Cause Exception

What is the expected output? What do you see instead?

I think it is ACRA that is printing the warning below
09-09 19:15:59.233: D/ACRA(17752): Sending request to 
http://www.bugsense.com/api/acra?api_key=xxxxxxx
09-09 19:16:01.143: W/ResponseProcessCookies(17752): Invalid cookie header: 
"Set-Cookie: GOOGAPPUID=976; expires=Wed, 05-Mar-2014 05:19:25 GMT". Unable to 
parse expires attribute: Wed

What version of the product are you using? On what operating system?
4.3.0RC

Please provide any additional information below.

Original issue reported on code.google.com by frank.ha...@gmail.com on 3 Sep 2012 at 8:16

GoogleCodeExporter commented 9 years ago
Hi,

It looks like an Apache HTTPClient issue 
(https://issues.apache.org/jira/browse/HTTPCLIENT-1077), I'll have a look but 
it's a simple warning and cookies are not used in this context, I don't even 
think they are persisted between 2 successive reports to Bugsense. 
GoogleAppEngine is certainly setting this cookie on all request by default.

If I can add an HTTPClient configuration parameter which solves this, I'll do 
it.

Original comment by kevin.gaudin on 4 Sep 2012 at 4:54

GoogleCodeExporter commented 9 years ago
OK, thanks! I just thought you might like to know. That's why I took the time 
to make the report for the RC. Of course it doesn't bother me at all.

Original comment by frank.ha...@gmail.com on 4 Sep 2012 at 5:29

GoogleCodeExporter commented 9 years ago
Absolutely, it's important to file issues when you see something going wrong, 
thanks a lit. I think I'll disable cookies handling if the option us available. 
That will result in a slight optimization ;-) 

thanks! 

Original comment by kevin.gaudin on 4 Sep 2012 at 5:37

GoogleCodeExporter commented 9 years ago
I have the same problem. I tested on different devices and it seems that the 
problem only occurs on Android 4.x.Everything works fine with Android 2.3, but 
I haven't got a single crash report from Android 4.x devices.

Original comment by auer.dan...@gmail.com on 11 Jun 2013 at 10:11

GoogleCodeExporter commented 9 years ago
I have the issue with Bugsense and Android 4.4 (emulator)

Here are the log

Invalid cookie header: "Set-Cookie: bugsense.locale=en_US; expires=Fri, 
27-Jun-2014 11:49:53 GMT; Max-Age=2592000; Path=/". Unable to parse expires 
attribute: Fri
#checkAndSendReports - finish
Wait for Toast + worker ended. Kill Application ? true

Original comment by name.is....@gmail.com on 28 May 2014 at 11:55