You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Simon Pepping <sp...@leverkruid.nl> on 2003/11/27 22:05:50 UTC

Login problems in the bug database

Hi,

When I am logged in in the bug database, I must continually renew my
login. I use Mozilla Firebird 0.6 and Mozilla 1.4 on Linux. Cookies
are enabled. I have a cookie from nagoya, called BUGLIST.

When I use IE on Windows98 all goes well.

What do I do wrong? Is there a more specific email address for
questions about bugzilla?

Regards, Simon

-- 
Simon Pepping
email: spepping@leverkruid.nl
home page: http://www.leverkruid.nl


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


Re: Login problems in the bug database

Posted by Christian Geisert <ch...@isu-gmbh.de>.
Simon Pepping wrote:
> Hi,
> 
> When I am logged in in the bug database, I must continually renew my
> login. I use Mozilla Firebird 0.6 and Mozilla 1.4 on Linux. Cookies
> are enabled. I have a cookie from nagoya, called BUGLIST.

I just tried it and it works for me (Mozilla 1.5/Linux)
But I remember having problems in the past ...

> When I use IE on Windows98 all goes well.
> 
> What do I do wrong? Is there a more specific email address for
> questions about bugzilla?

General bugzilla stuff probably at http://www.bugzilla.org/
Bugzilla at ASF .. hmm .. infrastructure@ is committer only.
There's a BugZilla component for reporting bugs about the Bugzilla
installation at ASF.

> Regards, Simon

Christian



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


Re: Login problems in the bug database

Posted by Simon Pepping <sp...@leverkruid.nl>.
For completeness, I report herewith the resolution of the login
problem on bugzilla. It turns out to be caused by the proxy program I
use, wwwoffle version 2.7. When I tell Mozilla not to use the proxy
for a bugzilla site, the problem goes away.

See Mozilla bug report 227506,
http://bugzilla.mozilla.org/show_bug.cgi?id=227506.

Regards, Simon

On Thu, Nov 27, 2003 at 10:05:50PM +0100, Simon Pepping wrote:
> Hi,
> 
> When I am logged in in the bug database, I must continually renew my
> login. I use Mozilla Firebird 0.6 and Mozilla 1.4 on Linux. Cookies
> are enabled. I have a cookie from nagoya, called BUGLIST.
> 
> When I use IE on Windows98 all goes well.
> 
> What do I do wrong? Is there a more specific email address for
> questions about bugzilla?
> 
> Regards, Simon
> 
> -- 
> Simon Pepping
> email: spepping@leverkruid.nl
> home page: http://www.leverkruid.nl
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
> 

-- 
Simon Pepping
email: spepping@leverkruid.nl
home page: http://www.leverkruid.nl


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


Re: Login problems in the bug database

Posted by John Austin <jw...@sympatico.ca>.
On Mon, 2003-12-01 at 16:00, Simon Pepping wrote:
> On Thu, Nov 27, 2003 at 10:18:25PM -0330, John Austin wrote:
> > On Thu, 2003-11-27 at 17:35, Simon Pepping wrote:
> > > Hi,

> > > 
> > It's a pain of a problem to solve, ... Ethereal ...
> > Good graphical interface.
> 
> A good tool indeed, which provides an interesting insight in network
> traffic.
> 
> For debugging of login and cookie problems its information is a bit
> overwhelming. 

I should have also mentioned that there are some easier tools in
Marty Hall's book: "Core Servlets and JavaServer Pages". 
The EchoServer example should be useful for this type of problem.

Hmmm... I wonder if the Prime Minister of Canada: Jean
(Don't-the-door-hit-ya-on-the-ass) Chretien still sets
a Cookie on the page that states that he doesn't use Cookies on 
his web site.

1) Load http://www.pm.gc.ca/ 
2) start Ethereal and turn on 'capture'
3) click on 'Important Notices'
4) stop capture and look at the HTTP page headers

-- 
John Austin <jw...@sympatico.ca>

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


Re: Login problems in the bug database

Posted by Simon Pepping <sp...@leverkruid.nl>.
On Thu, Nov 27, 2003 at 10:18:25PM -0330, John Austin wrote:
> On Thu, 2003-11-27 at 17:35, Simon Pepping wrote:
> > Hi,
> > 
> > When I am logged in in the bug database, I must continually renew my
> > login. I use Mozilla Firebird 0.6 and Mozilla 1.4 on Linux. Cookies
> > are enabled. I have a cookie from nagoya, called BUGLIST.
> > 
> > When I use IE on Windows98 all goes well.
> > 
> > What do I do wrong? Is there a more specific email address for
> > questions about bugzilla?
> > 
> It's a pain of a problem to solve, but 'Ethereal' from
> 'ethereal.com' should be able to track the session down
> for you. It will show you all of the HTTP PDU's and timings.
> 
> Good graphical interface.

A good tool indeed, which provides an interesting insight in network
traffic.

For debugging of login and cookie problems its information is a bit
overwhelming. Mozilla has the possibility to write a cookie log. This
provided the required insight. The problem is due to combined Bugzilla
and Mozilla errors.

This is the interesting part:

1024[8057408]: ===== COOKIE NOT ACCEPTED =====
1024[8057408]: request URL: http://nagoya.apache.org/bugzilla/query.cgi
1024[8057408]: cookie string: Bugzilla_login=spepping@leverkruid.nl ; path=/; expires=Sun, 30-Jun-2029 00:00:00 GMT,Bugzilla_logincookie=50462 ; path=/; expires=Sun, 30-Jun-2029 00:00:00 GMT,Bugzilla_password= ; path=/; expires=Sun, 30-Jun-80 00:00:00 GMT,BUGLIST=
1024[8057408]: current time: Sun Nov 30 15:18:50 2003 GMT
1024[8057408]: rejected because cookie has already expired

Indeed, the third cookie string is dated in the year 80. (Bugzilla's error)

This is Ethereal's log of the same interaction (POST of login data and
reply with cookies):

POST /bugzilla/enter_bug.cgi HTTP/1.0
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Referer: http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Fop
Cookie: BUGLIST=25031:25059
Content-Type: application/x-www-form-urlencoded
Content-Length: 106
Host: nagoya.apache.org
Connection: close
Accept-Encoding: deflate; q=1.0, x-gzip; q=0.9, gzip; q=0.9, identity; q=0.1

Bugzilla_login=spepping%40leverkruid.nl&Bugzilla_password=xxxxxxxxxxxxxx&product=Fop&GoAheadAndLogIn=Login

HTTP/1.1 200 OK
Date: Sun, 30 Nov 2003 15:21:56 GMT
Server: Apache/2.0.40-dev (Unix) DAV/2 SVN/0.13.1 (dev build)
Set-Cookie: Bugzilla_login=spepping@leverkruid.nl ; path=/; expires=Sun, 30-Jun-2029 00:00:00 GMT
Set-Cookie: Bugzilla_logincookie=50463 ; path=/; expires=Sun, 30-Jun-2029 00:00:00 GMT
Set-Cookie: Bugzilla_password= ; path=/; expires=Sun, 30-Jun-80 00:00:00 GMT
Content-Length: 5993
Connection: close
Content-Type: text/html; charset=UTF-8

<HTML><HEAD>
<TITLE>Enter Bug</TITLE>
etc.

On Windos Mozilla shows this cookie log:

0[2f4780]: ===== COOKIE ACCEPTED =====
0[2f4780]: request URL: http://nagoya.apache.org/bugzilla/query.cgi
0[2f4780]: cookie string: Bugzilla_login=spepping@leverkruid.nl ; path=/; expires=Sun, 30-Jun-2029 00:00:00 GMT
Bugzilla_logincookie=50481 ; path=/; expires=Sun, 30-Jun-2029 00:00:00 GMT
Bugzilla_password= ; path=/; expires=Sun, 30-Jun-80 00:00:00 GMT
BUGLIST=
0[2f4780]: current time: Mon Dec 01 08:34:31 2003 GMT
0[2f4780]: ----------------
0[2f4780]: name: Bugzilla_login
0[2f4780]: value: spepping@leverkruid.nl
0[2f4780]: host: nagoya.apache.org
0[2f4780]: path: /
0[2f4780]: expires: Fri Jun 29 23:59:15 2029 GMT
0[2f4780]: is secure: false
0[2f4780]: 
0[2f4780]: ===== COOKIE ACCEPTED =====
0[2f4780]: request URL: http://nagoya.apache.org/bugzilla/query.cgi
0[2f4780]: cookie string: Bugzilla_logincookie=50481 ; path=/; expires=Sun, 30-Jun-2029 00:00:00 GMT
Bugzilla_password= ; path=/; expires=Sun, 30-Jun-80 00:00:00 GMT
BUGLIST=
0[2f4780]: current time: Mon Dec 01 08:34:31 2003 GMT
0[2f4780]: ----------------
0[2f4780]: name: Bugzilla_logincookie
0[2f4780]: value: 50481
0[2f4780]: host: nagoya.apache.org
0[2f4780]: path: /
0[2f4780]: expires: Fri Jun 29 23:59:15 2029 GMT
0[2f4780]: is secure: false
0[2f4780]: 
0[2f4780]: ===== COOKIE NOT ACCEPTED =====
0[2f4780]: request URL: http://nagoya.apache.org/bugzilla/query.cgi
0[2f4780]: cookie string: Bugzilla_password= ; path=/; expires=Sun, 30-Jun-80 00:00:00 GMT
BUGLIST=
0[2f4780]: current time: Mon Dec 01 08:34:31 2003 GMT
0[2f4780]: rejected because cookie has already expired

This is the correct behaviour. There are three cookies, and only one
is rejected. It turns out that Bugzilla never requires the rejected
cookie. The above is therefore also Mozilla's error in some versions.

This problem was reported in Mozilla's bug database as bug report
193951, http://bugzilla.mozilla.org/show_bug.cgi?id=193951. It was
solved by newer versions. I am going to upgrade now, and hope that it
is true.

Note that Mozdev has a project livehttpheaders,
http://livehttpheaders.mozdev.org/, which should enable one to make
headers visible in the browser. Seems it could be an ideal tool for
this kind of situations.

Thanks for the suggestions.
Simon

-- 
Simon Pepping
email: spepping@leverkruid.nl
home page: http://www.leverkruid.nl


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


Re: Login problems in the bug database

Posted by John Austin <jw...@sympatico.ca>.
On Thu, 2003-11-27 at 17:35, Simon Pepping wrote:
> Hi,
> 
> When I am logged in in the bug database, I must continually renew my
> login. I use Mozilla Firebird 0.6 and Mozilla 1.4 on Linux. Cookies
> are enabled. I have a cookie from nagoya, called BUGLIST.
> 
> When I use IE on Windows98 all goes well.
> 
> What do I do wrong? Is there a more specific email address for
> questions about bugzilla?
> 
It's a pain of a problem to solve, but 'Ethereal' from
'ethereal.com' should be able to track the session down
for you. It will show you all of the HTTP PDU's and timings.

Good graphical interface.

> Regards, Simon
-- 
John Austin <jw...@sympatico.ca>

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