We should report an detailed error rather than a simple koji.AuthError. For example: if there is a "104: Connection reset by peer" Error or an SSL cert verification Error from hub, that should not be an Error related to authentication.
koji.AuthError
Although --debug option is available for koji cli to show the real error from server, there is no easy way showing it when calling gssapi_login() via python scripting
--debug
gssapi_login()
See also #2063
Metadata Update from @tkopecek: - Custom field Size adjusted to None - Issue set to the milestone: 1.25
PR #2735
Metadata Update from @jcupova: - Issue tagged with: testing-ready
Metadata Update from @mfilip: - Issue tagged with: testing-done
Commit 217704fd fixes this issue
Commit 3321abbf fixes this issue
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/2502
Please continue any further discussion there.