Package: nm.debian.org
Severity: important

It seems the site crashes when trying to send out the subscription
challenge but fail to fetch a gpg key.
It shoudl instead show a warning on the page.
Perhaps it would also make sense to try to fetch the key the step
before, while validating the new subscription details, and refuse to
accept the user without an accessible key.

Internal Server Error: /public/newnm/resend_challenge/jlledom

RuntimeError at /public/newnm/resend_challenge/jlledom
Could not fetch a key for 8ADC0DB9D4DB344D91F7888CA199D76BCA4691E3 on 
keyring.debian.org, keyserver.ubuntu.com

Request Method: GET
Request URL: https://nm.debian.org/public/newnm/resend_challenge/jlledom

Traceback:

File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py" in inner
  42.             response = get_response(request)

File "/usr/lib/python3/dist-packages/django/core/handlers/base.py" in 
_legacy_get_response
  249.             response = self._get_response(request)

File "/usr/lib/python3/dist-packages/django/core/handlers/base.py" in 
_get_response
  187.                 response = self.process_exception_by_middleware(e, 
request)

File "/usr/lib/python3/dist-packages/django/core/handlers/base.py" in 
_get_response
  185.                 response = wrapped_callback(request, *callback_args, 
**callback_kwargs)

File "/usr/lib/python3/dist-packages/django/views/generic/base.py" in view
  68.             return self.dispatch(request, *args, **kwargs)

File "/srv/nm.debian.org/nm2/backend/mixins.py" in dispatch
  72.         return super(VisitorMixin, self).dispatch(request, *args, 
**kwargs)

File "/usr/lib/python3/dist-packages/django/views/generic/base.py" in dispatch
  88.         return handler(request, *args, **kwargs)

File "/srv/nm.debian.org/nm2/public/views.py" in get
  426.         key = Key.objects.get_or_download(self.visitor.fpr)

File "/srv/nm.debian.org/nm2/keyring/models.py" in get_or_download
  126.             body = self.download(fpr)

File "/srv/nm.debian.org/nm2/keyring/models.py" in download
  85.                 fpr, ", ".join(keyservers)))

Exception Type: RuntimeError at /public/newnm/resend_challenge/jlledom
Exception Value: Could not fetch a key for 
8ADC0DB9D4DB344D91F7888CA199D76BCA4691E3 on keyring.debian.org, 
keyserver.ubuntu.com

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

Reply via email to