Some further detail, I found this in the log:


May  5 16:24:09 myhost1 wwsympa[24414]: err Robot::new() Missing
directory '/var/lib/sympa/lists.lumicall.org' for robot 'lists.lumicall.org'

and I believe it relates to bug #639627
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639627

I manually fixed that in /usr/share/sympa/lib/Sympa/Constants.pm but I
was still getting the same error.

Therefore, I went into /var/lib/sympa and create symlinks, e.g.

 ln -s /var/lib/sympa/list_data/lists.example.org /var/lib/sympa

and the error is gone, but the registration process still fails with
exactly the same error.  I then noticed other things about session
cookies in the logs:



May  5 16:32:38 myhost1 wwsympa[24868]: info SympaSession::new()
SympaSession::new ignoring unknown session cookie '82128592778522'
May  5 16:32:38 myhost1 wwsympa[24868]: info [robot lists.lumicall.org]
[session 47269562008511] [client 1.2.3.4] main::do_ticket()
do_ticket(65268126659593)
May  5 16:32:38 myhost1 wwsympa[24868]: info Auth::get_one_time_ticket()
xxxx Auth::get_one_time_ticket(65268126659593) : result : success
May  5 16:32:38 myhost1 wwsympa[24868]: info [robot lists.lumicall.org]
[session 47269562008511] [client 1.2.3.4] [user dan...@lvdx.com]
main::do_choosepasswd() do_choosepasswd
May  5 16:32:44 myhost1 wwsympa[24868]: info SympaSession::new()
SympaSession::new ignoring unknown session cookie '82128592778522'
May  5 16:32:44 myhost1 wwsympa[24868]: err [robot lists.lumicall.org]
[session 27176982911479] [client 1.2.3.4]
main::check_action_parameters() user not logged in
May  5 16:32:44 myhost1 wwsympa[24868]: info [robot lists.lumicall.org]
[session 27176982911479] [client 1.2.3.4] main::do_loginrequest()
do_loginrequest


Checking my browser, I discovered two sympa cookies, one with a dot
prefixed on the domain, e.g.

cookie 1 domain = lists.lumicall.org
cookie 2 domain = .lists.lumicall.org

I deleted both cookies and was then able to complete the registration
successfully

I have cookie_domain set in my robot.conf:

  cookie_domain lists.lumicall.org

and I don't know if that has caused the problem, or if one of the
cookies was somehow created before I set cookie_domain

However, I think that the wwsympa UI needs to be more tolerant of bad
cookies, it should clear them from the browser rather than expecting the
user to figure this out.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to