Hi all! I remember the CGI was disabled quite some time ago, but I have to admit, I never had the chance to engage with the right people to see how we can fix it. I understand the script was added in order to provide additional caching, right? What about if we change this to directly access libravatar.org and see if the performance is sufficient? (doesn't address federation...).
There is a very simple libravatar proxy python script: https://git.linux-kernel.at/oliver/ivatar/-/blob/master/libravatarproxy.py Note, this doesn't take into account any federation, but that could be added easily and it's on my todo list. Since I do have some Perl experience as well, if you want to stick with Perl, I can also look into the existing CGI and depending on if you want or not, also add federation. Point is: I'm very willing to help out to get this running again - for obvious reasons. :-) Oliver On Thu, Apr 7, 2022 at 9:39 AM Paul Wise <p...@debian.org> wrote: > On Sat, 13 Apr 2019 15:51:12 +0100 Laurence Parry wrote: > > > My avatar (and indeed all avatars) are not showing up on bugs.debian.org > . > > > > When I tried to access the URL: > > > https://bugs.debian.org/cgi-bin/libravatar.cgi?email=greenreaper%40gmail.com > > I got an 500 Internal Server Error: > > FTR; this CGI script was disabled some years ago because it was > overloading the Debian bug servers. There was a plan to switch the > script from CGI to mod_perl but that never happened. As an example of > traffic, yesterday there were 21408 attempted executions of the script. > If anyone wants to work on the script, the source code for it is here: > > > https://salsa.debian.org/debbugs-team/debbugs/-/blob/master/cgi/libravatar.cgi > > -- > bye, > pabs > > https://wiki.debian.org/PaulWise > -- Oliver Falk, RHCE He/Him/His Manager Customer Success - Germany Red Hat <https://www.redhat.com> fa...@redhat.com M: +436641665645 IM: ofalk @RedHat <https://twitter.com/redhat> Red Hat <https://www.linkedin.com/company/red-hat> Red Hat <https://www.facebook.com/RedHatInc> <https://www.redhat.com> Red Hat Austria GmbH, Legal form: Limited company ("Gesellschaft mit beschränkter Haftung") Registered seat: Vienna Commercial registry file: FN 479668w, Commercial Court ("Handelsgericht") Vienna Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243, Managing Directors: Charles Cachera, Laurie Krebs, Michael O'Neill, Brian Klemm