geeksforsocialchange / PlaceCal

Bring your community together
https://placecal.org
GNU Affero General Public License v3.0
16 stars 6 forks source link

[Bug]: current_site sometimes undefined #2567

Open katjam opened 3 weeks ago

katjam commented 3 weeks ago

Description

Reported by rollbar. 18 times between 2024-04-13 and 2024-08-19 on productions server.

https://app.rollbar.com/a/gfsc/fix/item/placecal-production/417

Doesn't seem like a big deal but we ought to catch and set default and find out why it is sometimes not there.

image

kimadactyl commented 3 weeks ago

If this is new I wonder if its because you can now successfully load any subdomain given #2514. It will do a redirect - but maybe it hits this error first.

kimadactyl commented 3 weeks ago

This is an AI crawler: https://darkvisitors.com/agents/bytespider.

Related to #2542

katjam commented 3 weeks ago

Are we sure we don't want to catch this and set a default? There may be other ways for it to happen.

kimadactyl commented 3 weeks ago

reopening but taking off milestone

kimadactyl commented 3 weeks ago

I think this might be the admin interface actually!