Re: [Trac] Trac 1.6 with uWSGI returns empty responses if no permission
Jun Omae <[email protected]> Fri, 14 Feb 2025 14:35:32 +0900
| Newsgroups | gmane.comp.version-control.subversion.trac.general |
|---|---|
| Message-ID | <CAEVLMahcRUD8=7U1rqnh31C_gbKWazP2_c2T6yyTfSJEkKdvfQ@mail.gmail.com> |
That's just an issue of uWSGI, not Trac. Jun Omae <[email protected]> (大前 潤) On Fri, Feb 14, 2025 at 13:55 mic...-TNqjE0nVPZBWk0Htik3J/[email protected] <michela-TNqjE0nVPZBWk0Htik3J/[email protected]> wrote: > Hi > > Could this old patch, reported for 1.5, be merged? It's still an issue > with 1.6 > > https://trac.edgewall.org/ticket/13417#comment:3 > > 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. > > https://github.com/unbit/uwsgi/issues/2278 > > 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 <http://10.20.15.78/login> now." > Via uwsgi, browser default 403 page (no trac page returned) > > Best > > Michela > > > > -- > 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] > To view this discussion visit > https://groups.google.com/d/msgid/trac-users/793c8a76-0e28-4d13-9a8f-ed9f2728d24dn%40googlegroups.com > <https://groups.google.com/d/msgid/trac-users/793c8a76-0e28-4d13-9a8f-ed9f2728d24dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To view this discussion visit https://groups.google.com/d/msgid/trac-users/CAEVLMahcRUD8%3D7U1rqnh31C_gbKWazP2_c2T6yyTfSJEkKdvfQ%40mail.gmail.com.