-
Task
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
False
-
-
False
-
-
When running the orchestrator plugin in local devmode following these instructions, workflows that call APIs fail. For example the create notification. The workflow API calls fail.
The error is:
Caused by: org.apache.http.ProtocolException: Content-Length header already present at org.apache.http.protocol.RequestContent.process(RequestContent.java:97) at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:133) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ... 161 more
The root cause is that the devmode image used by default contains a bug. The image is quay.io/kubesmarts/incubator-kie-sonataflow-devmode:9.103.x-prod
A workaround is to override this locally, but the default should be correct