DERApplicationSpecific

58 views
Skip to first unread message

Kobi Dikrman

unread,
Apr 18, 2025, 5:06:32 PM4/18/25
to rundeck-discuss
hi
after upgrade from 5.6 to 5.11
i'm getting this error while running inline script jobs

Failed: PluginFailed: org/bouncycastle/asn1/DERApplicationSpecific

[PluginFailed: org/bouncycastle/asn1/DERApplicationSpecific + {dataContext=MultiDataContextImpl(map={}, base=null)} ]}, flow control: Continue, status: failed]

any reason ?

rac...@rundeck.com

unread,
Apr 21, 2025, 8:38:28 AM4/21/25
to rundeck-discuss
Hi,

Which Java version are you using? (You can obtain it via the `java -version` command)

Can you share the service.log output at the moment of executing that script?

Thanks!

Kobi Dikrman

unread,
Apr 21, 2025, 9:53:54 AM4/21/25
to rundeck-discuss
openjdk 21.0.6 2025-01-21
OpenJDK Runtime Environment (build 21.0.6+7-Ubuntu-122.04.1)
OpenJDK 64-Bit Server VM (build 21.0.6+7-Ubuntu-122.04.1, mixed mode, sharing)
rundeck-service-log.txt

rac...@rundeck.com

unread,
Apr 21, 2025, 10:01:08 AM4/21/25
to rundeck-discuss
Hi, Try with Java 11 or 17. Please take a look at this.

Regards.

Kobi Dikrman

unread,
Apr 24, 2025, 5:17:40 PM4/24/25
to rundeck-discuss
I've upgrade to:

java --version
openjdk 17.0.14 2025-01-21
OpenJDK Runtime Environment (build 17.0.14+7-Ubuntu-122.04.1)
OpenJDK 64-Bit Server VM (build 17.0.14+7-Ubuntu-122.04.1, mixed mode, sharing)

same issue..

[2025-04-25T00:15:53,426] ERROR node.NodeStepPluginAdapter - Uncaught throwable executing node step.
java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DERApplicationSpecific
        at com.hierynomus.spnego.SpnegoToken.writeGss(SpnegoToken.java:43) ~[?:?]
        at com.hierynomus.spnego.NegTokenInit.write(NegTokenInit.java:93) ~[?:?]
        at com.hierynomus.smbj.auth.NtlmAuthenticator.negTokenInit(NtlmAuthenticator.java:154) ~[?:?]
        at com.hierynomus.smbj.auth.NtlmAuthenticator.authenticate(NtlmAuthenticator.java:75) ~[?:?]
        at com.hierynomus.smbj.connection.Connection.authenticationRound(Connection.java:189) ~[?:?]
        at com.hierynomus.smbj.connection.Connection.authenticate(Connection.java:155) ~[?:?]
        at com.xebialabs.overthere.smb.SmbConnection.createConnection(SmbConnection.java:117) ~[?:?]
        at com.xebialabs.overthere.smb.SmbConnection.connect(SmbConnection.java:106) ~[?:?]
        at com.xebialabs.overthere.smb.SmbProcessConnection.connect(SmbProcessConnection.java:50) ~[?:?]
        at com.xebialabs.overthere.smb.SmbConnectionBuilder.connect(SmbConnectionBuilder.java:67) ~[?:?]
        at com.dtolabs.rundeck.plugin.overthere.OTWinRMFileCopier.copyFileStream(OTWinRMFileCopier.java:96) ~[?:?]
        at com.dtolabs.rundeck.plugin.overthere.OTWinRMFileCopier.copyFile(OTWinRMFileCopier.java:139) ~[?:?]
        at com.dtolabs.rundeck.core.execution.ExecutionServiceImpl.fileCopyFile(ExecutionServiceImpl.java:320) ~[rundeck-core-5.11.1-20250415.jar!/:?]
        at com.dtolabs.rundeck.core.execution.workflow.steps.node.impl.DefaultScriptFileNodeStepUtils.executeScriptFile(DefaultScriptFileNodeStepUtils.java:172) ~[rundeck-core-5.11.1-20250415.jar!/:?]
        at org.rundeck.plugin.scriptnodestep.ScriptFileNodeStepExecutor.executeScriptFile(ScriptFileNodeStepExecutor.groovy:89) ~[?:?]
        at org.rundeck.plugin.scriptnodestep.ScriptNodeStepPlugin.executeNodeStep(ScriptNodeStepPlugin.groovy:108) ~[?:?]
        at com.dtolabs.rundeck.core.execution.workflow.steps.node.NodeStepPluginAdapter.executeNodeStep(NodeStepPluginAdapter.java:180) ~[rundeck-core-5.11.1-20250415.jar!/:?]
        at com.dtolabs.rundeck.core.execution.ExecutionServiceImpl.executeNodeStep(ExecutionServiceImpl.java:207) ~[rundeck-core-5.11.1-20250415.jar!/:?]
        at com.dtolabs.rundeck.core.execution.dispatch.SequentialNodeDispatcher.dispatch(SequentialNodeDispatcher.java:130) ~[rundeck-core-5.11.1-20250415.jar!/:?]
        at com.dtolabs.rundeck.core.execution.dispatch.SequentialNodeDispatcher.dispatch(SequentialNodeDispatcher.java:61) ~[rundeck-core-5.11.1-20250415.jar!/:?]
        at com.dtolabs.rundeck.core.execution.ExecutionServiceImpl.dispatchToNodesWith(ExecutionServiceImpl.java:263) ~[rundeck-core-5.11.1-20250415.jar!/:?]
        at com.dtolabs.rundeck.core.execution.ExecutionServiceImpl.dispatchToNodes(ExecutionServiceImpl.java:234) ~[rundeck-core-5.11.1-20250415.jar!/:?]
        at com.dtolabs.rundeck.core.execution.workflow.steps.NodeDispatchStepExecutor.executeWorkflowStep(NodeDispatchStepExecutor.java:66) ~[rundeck-core-5.11.1-20250415.jar!/:?]
        at com.dtolabs.rundeck.core.execution.ExecutionServiceImpl.executeStep(ExecutionServiceImpl.java:111) ~[rundeck-core-5.11.1-20250415.jar!/:?]
        at com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowExecutor.executeWFItem(BaseWorkflowExecutor.java:285) ~[rundeck-core-5.11.1-20250415.jar!/:?]
        at com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowExecutor.executeWorkflowStep(BaseWorkflowExecutor.java:681) ~[rundeck-core-5.11.1-20250415.jar!/:?]
        at com.dtolabs.rundeck.core.execution.workflow.engine.StepCallable.apply(StepCallable.java:71) ~[rundeck-core-5.11.1-20250415.jar!/:?]
        at com.dtolabs.rundeck.core.execution.workflow.engine.StepOperation.apply(StepOperation.java:76) ~[rundeck-core-5.11.1-20250415.jar!/:?]
        at com.dtolabs.rundeck.core.execution.workflow.engine.StepOperation.apply(StepOperation.java:32) ~[rundeck-core-5.11.1-20250415.jar!/:?]
        at com.dtolabs.rundeck.core.rules.WorkflowEngineOperationsProcessor.lambda$beginOperation$1(WorkflowEngineOperationsProcessor.java:323) ~[rundeck-core-5.11.1-20250415.jar!/:?]
        at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131) ~[guava-32.0.1-jre.jar!/:?]
        at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:75) ~[guava-32.0.1-jre.jar!/:?]
        at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82) ~[guava-32.0.1-jre.jar!/:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]

rac...@rundeck.com

unread,
Apr 25, 2025, 9:10:02 AM4/25/25
to rundeck-discuss

Hi,

at com.dtolabs.rundeck.plugin.overthere.OTWinRMFileCopier.copyFileStream(OTWinRMFileCopier.java:96) ~[?:?] at com.dtolabs.rundeck.plugin.overthere.OTWinRMFileCopier.copyFile(OTWinRMFileCopier.java:139) ~[?:?]

Can you double-check what Node Executor / File Copier you are using? IT seems that you are using the Overthere WinRM Plugin in a modern Rundeck instance (5.11); this plugin is outdated and unmaintained. As a Java plugin isn’t updated anymore to be compatible with the latest Rundeck requirements/updates (like Java 17).

You can find all installed plugins in the libext directory.

If you need to connect to Windows remote nodes, please use the Rundeck Python-Winrm Plugin (out of the box with Rundeck). Here you can check the configuration reference.

Greetings.

Kobi Dikrman

unread,
Apr 27, 2025, 2:43:25 PM4/27/25
to rundeck-discuss
looking good!

but when I'm trying to upload file using file option
the transfer is very very slow - i read about the limitation of the file copier
4MB file failed after 10 min...
Reply all
Reply to author
Forward
0 new messages