Skip to main content

Troubleshoot Builds and Deployments

Build fails on an unresolved dependency​

Maven cannot download an artifact. The build log names it.

CauseCheckFix
The artifact is not in any configured repositoryThe build log names the missing coordinatesAdd the repository in Repositories on the integration, or in the Maven settings of the Camel Integration Service
Wrong notationcamel:<name> or mvn:group:artifact:versionCorrect the entry in Dependencies
The repository needs credentials or a private CA401 or a TLS error in the build logMaven Settings configuration; CA secret of the Maven setting

Build fails because the image push is refused​

The image was built but the registry of the environment refused it.

CauseCheckFix
Registry credentials missing or expiredunauthorized in the build logPull secret of the Registry setting of the environment
Registry signed by a private CAx509 in the build logCA secret of the Registry setting

Build fails because the source does not compile or parse​

The build log gives the file and the line. For YAML DSL, check indentation and that steps is under from.

Integration running but never ready​

The process started, but its routes did not: the readiness check keeps failing.

CauseCheckFix
Missing propertyProperty with key [...] not found in the logsProperty files setting, or a default: {{key:default}}
A mounted file is absentFileNotFoundException in the logsMounted files setting; make the configuration available to the environment
A system called at startup is unreachableConnection errors in the logsNetwork policies of the environment; the address
Probe too strict for the startup timeRestarts before the routes are upHealth probes

Restart loop​

The integration starts, stops and starts again.

CauseCheckFix
Container killed on its memory limitLast state of the instance: out of memoryRaise the memory limit, or lower -Xmx. See Scaling
Exception at startupFirst stack trace in the logsDepends on the exception
Truststore build failsLogs of the build-truststore init stepThe PEM file holds no certificate, or is not PEM. See JVM truststore

PKIX path building failed on an outgoing call​

The server is signed by an authority the JVM does not trust. Add the CA in the JVM setting, Trusted CA Certificates. See JVM truststore.

Outgoing call times out​

A route calls a system and gets no answer at all, rather than an error.

CauseCheckFix
Egress blockedNo egress rule for the destination and portNetwork policies, egress rule; DNS preset
Destination only reachable on a private networkThe address is privatePrivate link

Change applied but nothing changed​

A setting restarts the integration; a source or dependency change rebuilds it. Check that Apply changes was used on the environment you are looking at, and that a new revision exists.