martin.snizek

XOG Error: Status-Code: 502: Bad Gateway

Discussion created by martin.snizek on Aug 26, 2013
Latest reply on Aug 27, 2013 by martin.snizek
Hello,
we have got an issue with custom GEL script in process, the script was running for months without problems, but now it's giving following error (Other processes with custom GEL scripts are running without errors):
BPM-0704: An error occurred while executing custom script: org.apache.commons.jelly.JellyTagException: null:329:71: <soap:invoke> 
Failed to send a SOAP message generated to 'https://url.com/niku/xog'.HTTP Error: Status-Code: 502: Bad Gateway 
at com.niku.union.gel.tags.soap.InvokeTag.doTag(InvokeTag.java:77) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) 
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) 
at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) 
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at 
com.niku.union.gel.tags.ScriptTag.doTag(ScriptTag.java:20) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at 
com.niku.union.gel.GELScript.run(GELScript.java:43) at com.niku.union.gel.GELController.invoke(GELController.java:20) at 
com.niku.bpm.services.ExecuteCustomAction.run(ExecuteCustomAction.java:180) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727) 
at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.RuntimeException: HTTP Error: Status-Code: 502: Bad Gateway 
at com.niku.union.xml.SimpleSOAPMessage.processRequest(SimpleSOAPMessage.java:264) at com.niku.union.xml.SimpleSOAPMessage.send(SimpleSOAPMessage.java:86) 
at com.niku.union.xml.SimpleSOAPMessage.send(SimpleSOAPMessage.java:61) at com.niku.union.gel.tags.soap.InvokeTag.doTag(InvokeTag.java:73) ... 
14 more Root cause java.lang.RuntimeException: HTTP Error: Status-Code: 502: Bad Gateway at com.niku.union.xml.SimpleSOAPMessage.processRequest(SimpleSOAPMessage.java:264) at 
com.niku.union.xml.SimpleSOAPMessage.send(SimpleSOAPMessage.java:86) at com.niku.union.xml.SimpleSOAPMessage.send(SimpleSOAPMessage.java:61) 
at com.niku.union.gel.tags.soap.InvokeTag.doTag(InvokeTag.java:73) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at 
org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at 
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at 
com.niku.union.gel.tags.ScriptTag.doTag(ScriptTag.java:20) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at 
com.niku.union.gel.GELScript.run(GELScript.java:43) at com.niku.union.gel.GELController.invoke(GELController.java:20) at 
com.niku.bpm.services.ExecuteCustomAction.run(ExecuteCustomAction.java:180) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727) 
at java.lang.Thread.run(Thread.java:662)
Does anyone touched this error or does anyone some solution for this?

Thanks,
Martin

Outcomes