Modify

Opened 8 years ago

Closed 7 years ago

#12759 closed defect (worksforme)

Can't login to Trac using ipv6

Reported by: anonymous Owned by:
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

So, recently I enabled ipv6 for my connection. Our server already supports ipv6 so the login page is served via ipv6.

When I try to login, the form posts a 303 code and returns to the Trac's main page.

The culprit is the checkbox to enable Remember Me. If I have that checked then I can login successfully.

Without Remember Me the Set-Cookie header is:

trac_auth=; expires=Mon, 25 Apr 2016 18:04:33 GMT; httponly; Path=/; secure

With Remember Me checked:

"trac_auth=xxxxxx; expires=Wed, 25 May 2016 20:51:39 GMT; Path=/; securetrac_auth_session=xxxxx; expires=Wed, 25 May 2016 20:51:39 GMT; Path=/; secure"

What baffles me is the duplication of the header and especially securetrac_auth_session.

Something seems wrong when concatenating the header's string.

Trac info:

Package Version
Trac                1.0.10
dnspython           1.12.0
Docutils            0.12
Genshi              0.7 (with speedups)
GIT                 2.1.4
mod_wsgi            4.3.0 (WSGIProcessGroup site-1 WSGIApplicationGroup %{GLOBAL})
MySQL server:       "10.1.13-MariaDB-1~jessie", client: "10.1.13-MariaDB", thread-safe: 1
MySQLdb             1.2.5
Pygments            2.1.3
Python              2.7.9 (default, Mar 1 2015, 13:01:26) [GCC 4.9.2]
RPC                 1.1.2.post13776
setuptools          20.8.1
jQuery              1.8.3
jQuery UI           1.10.3
jQuery Timepicker   1.5.2

Installed plugins

IniAdmin                    0.3.post13607
nevernotifyupdaterplugin    1.0.post0
trac-github                 2.1.4
TracAccountManager          0.4.4
TracAuthOpenId              0.4.7
TracHTTPAuth                1.1
TracSpamFilter              1.0.8
TracVote                    0.5.0.dev0
TracXMLRPC                  1.1.2.post13776

My browser is Firefox 46, cache and cookies are cleared. I also tried other browsers, same thing.

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by Ryan J Ollos

Owner: Steffen Hoffmann deleted

comment:2 Changed 7 years ago by Jun Omae

Resolution: worksforme
Status: newclosed

I guess that's an installation issue. Trac 1.0.13 with AccountManagerPlugin 0.5dev r16028 and modwsgi via IPv6 works for me. If cookies via IPv6 has issues, that probably is a Trac issue.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.