Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Sync configuration failed (a response status of 500) #1700

absalom1 ·
I tried to sync part of my configuration to the other part of same server.

But it fails with below error message.

So I searched this forum and found a topic about same issue but it's not solve with same method.

viewtopic.php?f=1&t=1576&p=5451&hilit=a+response+status+of+500&sid=1026e9acdcc6aab5405b8545314e2f2a#p5451

ERROR - Step 'master>Sync_A' is failed.
com.sun.jersey.api.client.UniformInterfaceException: GET http://10.244.106.201:8820/rest/version returned a response status of 500
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:563)
at com.sun.jersey.api.client.WebResource.get(WebResource.java:179)
at com.pmease.quickbuild.maintenance.ConfigurationSyncStep.run(ConfigurationSyncStep.java:137)
at com.pmease.quickbuild.maintenance.ConfigurationSyncStep$$EnhancerByCGLIB$$2fe2e9a3.CGLIB$run$0(<generated>)
at com.pmease.quickbuild.maintenance.ConfigurationSyncStep$$EnhancerByCGLIB$$2fe2e9a3$$FastClassByCGLIB$$321c35a2.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:270)
at com.pmease.quickbuild.maintenance.ConfigurationSyncStep$$EnhancerByCGLIB$$2fe2e9a3.run(<generated>)
at com.pmease.quickbuild.stepsupport.Step.execute(Step.java:473)
at com.pmease.quickbuild.stepsupport.StepExecutionJob.executeStepAwareJob(StepExecutionJob.java:29)
at com.pmease.quickbuild.stepsupport.StepAwareJob.executeBuildAwareJob(StepAwareJob.java:47)
at com.pmease.quickbuild.BuildAwareJob.execute(BuildAwareJob.java:61)
at com.pmease.quickbuild.grid.GridJob.run(GridJob.java:78)
at java.lang.Thread.run(Thread.java:636)

Current Configuration
root - A (Source)
- B
- C - A' (Target)

Sync Configuration step setting
Name : Sync_A
Remote Server URL : ${system.getUrl()}
User Name : ${system.getUserManager().get("admin").getId()}
Password : ${system.getUserManager().get("admin").getPassword()}
Source Configuration : root/${current.getName().split('_')[1]}
Destination Configuration : root/C/${current.getName().split('_')[1]}
  • replies 3
  • views 2069
  • stars 0
robinshen ADMIN ·
The user name needs to be specified as:
User Name : ${system.getUserManager().get("admin").getName()}

If it still reports error, please check the console log to see the error details.
absalom1 ·
The user name was one of the problem.
And ${system.getUserManager().get("admin").getPassword()} on Password text box does not work as I expected.
So I inserted password text on it and it works fine <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Thank you very much <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
robinshen ADMIN ·
That is correct. The password retrieved on user object is hash form of the password for security reasons.