After updating plugins on either the CJOC or the Master, the Master will no longer connect to the CJOC

Issue

I am seeing one or multiple of my masters disconnected with the CJOC due to this error:

java.lang.NoSuchMethodError: com.ning.http.client.AsyncHttpClientConfig$Builder.setFollowRedirects(Z)Lcom/ning/http/client/AsyncHttpClientConfig$Builder; 
at com.cloudbees.opscenter.agent.AgentProtocolEndpointLocator.locate(AgentProtocolEndpointLocator.java:385) 
at com.cloudbees.opscenter.client.plugin.OperationsCenterRegistrar$PushRegistrationConfirmation.<init>(OperationsCenterRegistrar.java:500)

Environment

Cause

During the plugin update one of the sides (either the CJOC or master) had the Asynch HTTP Client plugin updated and now they do not connect correctly.

Resolution

You will need to look at the version difference between the CJOC and master and either upgrade the lower one or downgrade/restore from a backup on the updated plugin version. Luckily this plugin does not modify too much setting and job code so a downgrade is relatively safe from previous experience.

Have more questions?

0 Comments

Please sign in to leave a comment.