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


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( 
at com.cloudbees.opscenter.client.plugin.OperationsCenterRegistrar$PushRegistrationConfirmation.<init>(



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.


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?


Please sign in to leave a comment.