#57 koji should give a better message when login fails
Closed: Fixed by tkopecek. Opened by ausil.


 koji list-tasks --mine
Unable to log in, no authentication methods available

after some digging i did not have my cert in place. koji should give a better message


https://pagure.io/koji/pull-request/72
adding useful information in error message

Above PR was cancelled, the concern is What is better message? what should provide to users?
@julian8628 will continue to improve with AC comments here.

Metadata Update from @yulwang:
- Issue priority set to: Low
- Issue tagged with: groomed

Metadata Update from @yulwang:
- Issue assigned to julian8628

It is different these times. Currently we list something like:

$ kdestroy -A
$ koji list-tasks --mine
2022-05-11 15:57:27,549 [ERROR] koji: (gssapi auth failed: requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://koji.fedoraproject.org/kojihub/ssllogin)
Use following documentation to debug kerberos/gssapi auth issues. https://docs.pagure.org/koji/kerberos_gssapi_debug/
2022-05-11 15:57:27,549 [ERROR] koji: GSSAPIAuthError: unable to obtain a session (gssapi auth failed: requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://koji.fedoraproject.org/kojihub/ssllogin)
Use following documentation to debug kerberos/gssapi auth issues. https://docs.pagure.org/koji/kerberos_gssapi_debug/

Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/57

Please continue any further discussion there.

Metadata