HTTP Node Step - Failed Execution - Illegal Character in scheme Name

39 views
Skip to first unread message

Richard Leadbetter

unread,
Feb 27, 2023, 9:38:41 AM2/27/23
to rundeck-discuss
Hi All

Am using the http node executor for api calls to a web service, and we are getting the following: 
Failed executing node plugin [edu.ohio.ais.rundeck.HttpWorkflowNodeStepPlugin] on node automation.updata.net: java.lang.IllegalArgumentException: Illegal character in scheme name at index 0:

Any idea on how i can find out exactly which character it isn't liking?

https://bsswmappvip.ad.capita.co.uk/api/arsys/v1/entry/HPD:IncidentInterface%3Fq%3D(%27Last%20Name%27%20=%20%22SWAN_Circuit_001307%22)%20AND%20((%27Additional%20Reference%27%20!=%20$NULL$%20)%20OR%20(%27Additional%20Reference%27%20!=%20%22Site%20Down%22))%20AND%20(%27Internal%20Info%27%20=%20%2210.102.114.152%22)%20AND%20((%27Status%27%20=%20%22Pending%22)%20OR%20(%27Status%27%20=%20%22New%22)%20OR%20(%27Status%27%20=%20%22Assigned%22)%20OR%20(%27Status%27%20=%20%22In%20Progress%22)%20OR%20(%27Status%27%20=%20%22Resolved%22))%26fields%3Dvalues(Incident%20Number,%20Submit%20Date,%20Priority) at java.net.URI.create(URI.java:852) at org.apache.http.client.methods.RequestBuilder.setUri(RequestBuilder.java:345) at edu.ohio.ais.rundeck.HttpWorkflowNodeStepPlugin.executeNodeStep(HttpWorkflowNodeStepPlugin.java:93) at com.dtolabs.rundeck.core.execution.workflow.steps.node.NodeStepPluginAdapter.executeNodeStep(NodeStepPluginAdapter.java:167) at com.dtolabs.rundeck.core.execution.ExecutionServiceImpl.executeNodeStep(ExecutionServiceImpl.java:206) at com.dtolabs.rundeck.core.execution.dispatch.SequentialNodeDispatcher.dispatch(SequentialNodeDispatcher.java:130) at com.dtolabs.rundeck.core.execution.dispatch.SequentialNodeDispatcher.dispatch(SequentialNodeDispatcher.java:61) at com.dtolabs.rundeck.core.execution.ExecutionServiceImpl.dispatchToNodesWith(ExecutionServiceImpl.java:262) at com.dtolabs.rundeck.core.execution.ExecutionServiceImpl.dispatchToNodes(ExecutionServiceImpl.java:233) at com.dtolabs.rundeck.core.execution.workflow.steps.NodeDispatchStepExecutor.executeWorkflowStep(NodeDispatchStepExecutor.java:66) at com.dtolabs.rundeck.core.execution.ExecutionServiceImpl.executeStep(ExecutionServiceImpl.java:111) at com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowExecutor.executeWFItem(BaseWorkflowExecutor.java:285) at com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowExecutor.executeWorkflowStep(BaseWorkflowExecutor.java:681) at com.dtolabs.rundeck.core.execution.workflow.engine.StepCallable.apply(StepCallable.java:71) at com.dtolabs.rundeck.core.execution.workflow.engine.StepOperation.apply(StepOperation.java:76) at com.dtolabs.rundeck.core.execution.workflow.engine.StepOperation.apply(StepOperation.java:32) at com.dtolabs.rundeck.core.rules.WorkflowEngineOperationsProcessor.lambda$beginOperation$2(WorkflowEngineOperationsProcessor.java:330) at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125) at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57) at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0:

Thanks Rich

rac...@rundeck.com

unread,
Feb 27, 2023, 9:47:58 AM2/27/23
to rundeck-discuss
Hi Rich,

A good way to debug that is to call the HTTP service via Postman or Thunder Client and then export the call (the URL) to use it on Rundeck.

Regards.

r.p.lea...@gmail.com

unread,
Feb 27, 2023, 11:15:51 AM2/27/23
to rundeck...@googlegroups.com
Hi there..

Yes, I did that and had no errors…. However, I’ll have a dig around and see what I can change induce different errors.

Thanks
Rich 

Sent from my iPhone

On 27 Feb 2023, at 14:48, rac...@rundeck.com <rac...@rundeck.com> wrote:


--
You received this message because you are subscribed to a topic in the Google Groups "rundeck-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rundeck-discuss/8ytnbDev0rE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/b08ec9d1-c290-4f67-8d5b-009ea28b2661n%40googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages