Skip to content

jobservice log x509: certificate ERROR #21885

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hongruiji opened this issue Apr 16, 2025 · 2 comments
Open

jobservice log x509: certificate ERROR #21885

hongruiji opened this issue Apr 16, 2025 · 2 comments
Assignees
Labels
kind/question more-info-needed The issue author need to provide more details and context to the issue

Comments

@hongruiji
Copy link

Harbor 2.4.2
Use helm install
The jobservice ERROR log :

2025-04-11T08:02:46Z [ERROR] [/jobservice/hook/hook_agent.go:155]: Retry: sending hook event error: Post "https://harbor-core:443/service/notifications/tasks/48122": x509: certificate is valid for ingress.local, not harbor-core, evt=status change: job=bf0697eab91c1bd508678a6e@1744329600, status=Success, revision=1744329557->https://harbor-core:443/service/notifications/tasks/48122, duration=1m1.798529875s

helm install 没有开启内部tls 加密。
检查harbor-core ConfigMap 中,调用harbor-core 或者 jobservice 相关配置是使用的http协议,没有https相关,harbor-core 的tls 证书也未配置。
根据日志内容,像是从jobservice 调用 harbor-core时使用的https ,并且证书中的CN为ingress.local。
请给出后续排查建议。 谢谢!

@hongruiji
Copy link
Author

补充下: harbor 功能正常,只是有以上报错日志。

@stonezdj
Copy link
Contributor

stonezdj commented Apr 21, 2025

Please run the following command to check your installation.

k exec -it <jobservice_pod> -- bash
env |grep INTERNAL
INTERNAL_TLS_ENABLED=false
env |grep CORE
<the url of core should be http>

@stonezdj stonezdj self-assigned this Apr 21, 2025
@reasonerjt reasonerjt added the more-info-needed The issue author need to provide more details and context to the issue label Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question more-info-needed The issue author need to provide more details and context to the issue
Projects
None yet
Development

No branches or pull requests

3 participants