Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Trac 1.6 with uWSGI returns empty responses if no permission

12 views
Skip to first unread message

mic...@modprods.com

unread,
Feb 13, 2025, 11:55:12 PMFeb 13
to Trac Users
Hi

Could this old patch, reported for 1.5, be merged? It's still an issue with 1.6


After some painful days I've discovered that there's a particularly nasty open uwsgi issue that breaks site if you remove all anonymous permissions.


I've reported it in #13417, and the submitted patch seems to be fine (phew) but noting its closed as wontfix.

It's not just "errors".  This was a hairy one to find because neither trac or uwsgi were showing any useful logging.

Repro:

Install fresh env with trac 1.6 / python 3.13.2 / uwsgi 2.0.28 (latest)
Remove all anonymous permissions
Go to env base_url
Via tracd, no issue - standard "You are currently not logged in. You may want to do so now."
Via uwsgi, browser default 403 page (no trac page returned)

Best

Michela



Jun Omae

unread,
Feb 14, 2025, 12:35:55 AMFeb 14
to trac-...@googlegroups.com
That's just an issue of uWSGI, not Trac.

Jun Omae <jun...@gmail.com> (大前 潤)


--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/trac-users/793c8a76-0e28-4d13-9a8f-ed9f2728d24dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages