#3795 it happened "koji kojira[3196]: unable to obtain a session (ssl auth failed: requests.exceptions.SSLError: HTTPSConnectionPool(host='koji.xxx-inc.com', port=443): Max retries exceeded with url: /kojihub/ssllogin (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)'),))"
Closed: Insufficient data by tkopecek. Opened by zhiqifeiyang.

when i used command "koji moshimoshi" by user kojiadmin, it happened "koji kojira[3196]: unable to obtain a session (ssl auth failed: requests.exceptions.SSLError: HTTPSConnectionPool(host='koji.xxx-inc.com', port=443): Max retries exceeded with url: /kojihub/ssllogin (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)'),))"

I tried to find my profile error, but it didn't solve the problem. What is the reason for this situation?


this is the more log info:

[root@koji ~]# cat /var/log/kojira.log | tail -2
2023-04-24 00:41:28,181 [ERROR] koji.repo: unable to obtain a session (ssl auth failed: requests.exceptions.SSLError: HTTPSConnectionPool(host='koji.xxx-inc.com', port=443): Max retries exceeded with url: /kojihub/ssllogin (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)'),))
)
[root@koji ~]#
[root@koji ~]# cat /var/log/messages|grep koji | tail -10
Apr 24 00:40:40 koji su[3717]: (to kojiadmin) root on pts/0
Apr 24 00:41:09 koji su[3760]: (to kojiadmin) root on pts/0
Apr 24 00:41:27 koji systemd[1]: kojira.service: Service RestartSec=1min expired, scheduling restart.
Apr 24 00:41:27 koji systemd[1]: kojira.service: Scheduled restart job, restart counter is at 12.
Apr 24 00:41:27 koji systemd[1]: Stopped Koji repo administration.
Apr 24 00:41:27 koji systemd[1]: Started Koji repo administration.
Apr 24 00:41:28 koji kojira[3798]: unable to obtain a session (ssl auth failed: requests.exceptions.SSLError: HTTPSConnectionPool(host='koji.xxx-inc.com', port=443): Max retries exceeded with url: /kojihub/ssllogin (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)'),))
Apr 24 00:41:28 koji kojira[3798]: )
Apr 24 00:41:28 koji systemd[1]: kojira.service: Main process exited, code=exited, status=1/FAILURE
Apr 24 00:41:28 koji systemd[1]: kojira.service: Failed with result 'exit-code'.
[root@koji ~]#
[root@koji ~]# su - kojiadmin
[kojiadmin@koji ~]$ koji moshimoshi
2023-04-24 00:42:09,954 [ERROR] koji: AuthError: unable to obtain a session (ssl auth failed: requests.exceptions.ProxyError: HTTPSConnectionPool(host='koji.xxx-inc.com', port=443): Max retries exceeded with url: /kojihub/ssllogin (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 503 Service Unavailable',)))
)
[kojiadmin@koji ~]$

"certificate verify failed" - it means that your certificate is not trusted by the machine making the call. Probably locally signed cert? Then you need to add certification authority as trusted on the machine needing the access.

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

Metadata Update from @tkopecek:
- Issue close_status updated to: Insufficient data
- Issue status updated to: Closed (was: Open)

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

Please continue any further discussion there.

Metadata