-
Name Previous Value Current Value Type
Security Vulnerability
Bug
Affected Versions
empty 15.1.2
-
Are you running agents via docker, or on the machine directly?
-
I am running one agent as a container and one agent on bare metal (Windows). Both agents are showing the same errors. It seems that they are not picking up the certs in
conf\trust-certswhen updating to 3.0.9.20:36:12 INFO io.onedev.agent.AgentSocket - Connected to server 20:36:12 INFO io.onedev.agent.AgentSocket - Updating agent to version 3.0.9... 20:36:12 ERROR io.onedev.agent.AgentSocket - Error processing websocket message javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: (certificate_unknown) PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -
This issue is actually fixed since 15.1. However the bug in 15.0.x prevents agent from auto-updating itself when using a self-signed certificate. Please re-install new agents by downloading from 15.1.2 agents page. Subsequent agent upgrade will no longer experience this issue.
-
For agents running with docker, just re-pull the image is enough.
docker pull 1dev/agent
-
Previous Value Current Value 15.1.2 update causes agents to no longer connect
15.1.2 update causes agents using self-signed certificate to no longer connect
-
Thanks Robin. Image pull did the trick for my Docker agent and for Windows, I did create a new agent like you suggested and it connected right away.
-
Previous Value Current Value Open
Closed
| Type |
Bug
|
| Priority |
Major
|
| Assignee | |
| Affected Versions |
15.1.2
|
| Labels |
No labels
|
I recently updated to OneDev server to 15.1.2 and after the update neither of my agents connect back to OneDev server. I have my own PKI and have my certs in
conf/trust-certs. The logs show the following: