Penstock

Guide / Plans, privacy and help

Troubleshooting

Fixes for the problems people meet most, by symptom. Most come down to an untrusted project, a setting that is not where Penstock looks, or an engine that answered with an error.

Free

First, run the doctor

The doctor prints the settings files that apply, the engine, the profiles, and whether the engine answers. Most problems show up right there.

Run the doctor

JetBrains

Right-click in the Penstock tool window and choose Run Penstock | Doctor.

VS Code

Choose Run Penstock | Doctor in the Penstock view, or run penstock doctor in the terminal.

Command line

penstock doctor

penstock doctor --format json prints the settings that apply after every layer.

Problems that depend on your tool

A blank editor, a file that opens as plain text, a command that will not start: these depend on the tool you use.

Problems in your tool

JetBrains

See Troubleshooting in a JetBrains IDE.

VS Code

See Troubleshooting in VS Code.

Command line

See the common problems at the end of Command line.

Check and lint findings do not appear

No markers on the canvasThe linting button on the canvas turns them off and on. It is hidden while token simulation runs. The findings are in the Problems tab of the sidebar, under Rules.
"The bpmnlint rules could not run"Your .bpmnlintrc uses a bpmnlint plugin. The editor loads plugin rules only from a bundle named by lint.clientBundlePath. See Validation.
My own rules are ignoredlint.configPath is relative to the project root. penstock doctor prints the path and says if it is missing.

Deployment fails

A deployment the engine refuses says which files it refused and why, one line for each, rather than repeating the engine's raw list of element errors. Read it first: it is the engine talking. A request that never arrived says Could not reach the engine at <url>.

No engine addressNeither deployment.url nor the Connection dialog gives one for the profile in force. Press Deploy, then Edit connection… in the popover.
404 on Camunda 8Use the address of the REST API. Penstock adds /v2/deployments. An address that ends in /v2 works too.
401 or 403The user or the client may not deploy. The editor's message offers Edit connection. In a terminal, penstock deploy says which of deployment.auth in penstock.local.yaml, PENSTOCK_PASSWORD, PENSTOCK_CLIENT_SECRET or PENSTOCK_TOKEN to set.
No password sentdeployment.auth.type is basic and PENSTOCK_PASSWORD is not set. penstock deploy and penstock doctor say so before anything is sent. A password: key in penstock.local.yaml is not read.
OAuthA failed token request is reported apart: the endpoint could not be reached, answered with an error, or sent no access_token.
"The preDeploy hook failed, nothing was sent"Read the hook's output that follows. In an untrusted project a configured preDeploy is not run, and the deployment stops.
Certificate errorsPenstock has no option to skip certificate checks. Trust the certificate in the runtime of your tool.
Timeouts10 seconds to connect, 30 seconds for the request, 15 for the token.
Wrong password savedOpen Edit connection… from the Deploy popover, type the right one, Save and Deploy. Set Sign in to Not needed and save to forget it.

See Deployment.

Element templates do not appear

Templates come from .camunda/element-templates folders next to the diagram or above it, and from elementTemplates in penstock.yaml. The Classic BPMN editor ignores them, so check the engine first. A listed path that does not exist adds nothing and says nothing in the editor. penstock doctor reports it as missing. A file over 10 MB is skipped, and a file that is not valid JSON is skipped with a line in the log of your tool. See Element templates.

The connector browser is empty or cannot download

The diagram was changed on disk

The editor asks whether to reload or to keep editing. See The BPMN editor.

A paid feature asks me to buy Pro

Your trial may have ended, or the licence was released or ended. Run penstock license: it says which licence the machine has and where it came from, and during the trial it says the trial is on and until when. A machine in a pipeline needs Team, and a pipeline gets no trial. See Buying and signing in.

The licence is a signed token, checked offline and renewed once a day when the machine is online; offline it keeps working until it runs out, and the message says how many days are left. A machine whose clock has been set back below a time it has already seen is refused, with the reason given.

Test cases will not run

See Scenarios.

Where else to look

Still stuck

Open an issue on the support tracker. Add the tool and its version, the version of Penstock, the engine, the output of the doctor, and a .bpmn file that shows the problem. Security problems go to SECURITY.md, not to a public issue.