django / djangoproject.com

Source code to djangoproject.com
https://www.djangoproject.com/
BSD 3-Clause "New" or "Revised" License
1.86k stars 939 forks source link

Dashboard doesn't work #1525

Closed felixxm closed 1 week ago

felixxm commented 2 months ago

https://dashboard.djangoproject.com/ no longer updates stats:

image

bmispelon commented 2 months ago

Running ./manage.py update_metrics locally results in xmlrpc.client.ProtocolError: <ProtocolError for code.djangoproject.com/rpc: 429 Too Many Requests> so I believe it has to do with the anti-spam measure that were deployed last week.

This would probably be fixed by #1479

felixxm commented 2 months ago

This would probably be fixed by #1479

Thanks, let me review it :detective:

bmispelon commented 2 months ago

Looks like that did the trick 🪄

felixxm commented 1 week ago

It seems that it doesn't work again :disappointed:

image

bmispelon commented 1 week ago

Thanks for the report! This must be related to the Django update, I'll look into it. 👀

bmispelon commented 1 week ago

It was indeed the Django update. Turns out our cron jobs were using django-admin.py which was removed in favor of django-admin (in 4.0 actually).

Thanks again for the heads up 🚀