<@U04S8PLJWMT> I have deployed airbyte using helm ...
# ask-ai
s
@kapa.ai I have deployed airbyte using helm charts and argo. I am having issues with the workload-launcher. It gives me the following error.
Copy code
2025-07-08 10:10:50,317 [main]	INFO	i.m.c.e.DefaultEnvironment(<init>):168 - Established active environments: [control-plane, oss]
2025-07-08 10:10:51,239 [main]	INFO	c.z.h.HikariDataSource(<init>):79 - config-pool - Starting...
2025-07-08 10:10:51,262 [main]	INFO	c.z.h.HikariDataSource(<init>):81 - config-pool - Start completed.
2025-07-08 10:10:51,468 [main]	INFO	i.m.l.PropertiesLoggingLevelsConfigurer(configureLogLevelForPrefix):113 - Setting log level 'INFO' for logger: 'io.netty'
2025-07-08 10:10:52,034 [main]	INFO	i.m.l.PropertiesLoggingLevelsConfigurer(configureLogLevelForPrefix):113 - Setting log level 'ERROR' for logger: 'com.zaxxer.hikari'
2025-07-08 10:10:52,040 [main]	INFO	i.m.l.PropertiesLoggingLevelsConfigurer(configureLogLevelForPrefix):113 - Setting log level 'INFO' for logger: 'io.grpc'
2025-07-08 10:10:52,041 [main]	INFO	i.m.l.PropertiesLoggingLevelsConfigurer(configureLogLevelForPrefix):113 - Setting log level 'INFO' for logger: 'io.temporal'
2025-07-08 10:10:52,043 [main]	INFO	i.m.l.PropertiesLoggingLevelsConfigurer(configureLogLevelForPrefix):113 - Setting log level 'ERROR' for logger: 'com.zaxxer.hikari.pool'
2025-07-08 10:10:52,043 [main]	INFO	i.m.l.PropertiesLoggingLevelsConfigurer(configureLogLevelForPrefix):113 - Setting log level 'INFO' for logger: 'io.fabric8.kubernetes.client'
2025-07-08 10:10:52,227 [scheduled-executor-thread-2]	INFO	i.a.f.ConfigFileClient(<init>):113 - path /flags does not exist, will return default flag values
2025-07-08 10:10:52,276 [scheduled-executor-thread-2]	INFO	i.a.c.t.TemporalUtils(getTemporalClientWhenConnected):155 - Waiting for temporal server...
2025-07-08 10:10:52,278 [scheduled-executor-thread-2]	WARN	i.a.c.t.TemporalUtils(getTemporalClientWhenConnected):166 - Waiting for namespace default to be initialized in temporal...
2025-07-08 10:10:54,108 [main]	WARN	i.a.m.l.MetricClientFactory(initialize):72 - MetricClient was not recognized or not provided. Accepted values are `datadog` or `otel`.
2025-07-08 10:10:54,626 [scheduled-executor-thread-2]	INFO	i.t.s.WorkflowServiceStubsImpl(<init>):86 - Created WorkflowServiceStubs for channel: ManagedChannelOrphanWrapper{delegate=ManagedChannelImpl{logId=1, target=airbyte-prod-temporal:7233}}
2025-07-08 10:10:59,987 [scheduled-executor-thread-2]	INFO	i.a.c.t.TemporalUtils(getTemporalClientWhenConnected):183 - Temporal namespace default initialized!
2025-07-08 10:11:00,534 [main]	INFO	i.m.r.Micronaut(start):101 - Startup completed in 12129ms. Server Running: http://airbyte-prod-workload-launcher-55f6b656b8-cnnl4:8016
2025-07-08 10:11:30,947 [Thread-2]	ERROR	i.a.w.l.StartupApplicationEventListener$onApplicationEvent$1(invoke):40 - Failed to retrieve and resume claimed workloads, exiting.
io.airbyte.workload.api.client.generated.infrastructure.ClientException: Client error : 400 Bad Request {"message":"Bad Request","logref":null,"path":null,"_links":{"self":{"href":"/api/v1/workload/list","templated":false,"profile":null,"deprecation":null,"title":null,"hreflang":null,"type":null,"name":null}},"_embedded":{"errors":[{"message":"Failed to obtain JDBC Connection","logref":null,"path":null,"_links":{},"_embedded":{}}]}}
	at io.airbyte.workload.api.client.generated.WorkloadApi.workloadList(WorkloadApi.kt:578)
	at io.airbyte.workload.launcher.ClaimedProcessor.getWorkloadList$lambda$5(ClaimedProcessor.kt:117)
	at dev.failsafe.Functions.lambda$toCtxSupplier$11(Functions.java:243)
	at dev.failsafe.Functions.lambda$get$0(Functions.java:46)
	at dev.failsafe.internal.RetryPolicyExecutor.lambda$apply$0(RetryPolicyExecutor.java:74)
	at dev.failsafe.SyncExecutionImpl.executeSync(SyncExecutionImpl.java:187)
	at dev.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:376)
	at dev.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:112)
	at io.airbyte.workload.launcher.ClaimedProcessor.getWorkloadList(ClaimedProcessor.kt:117)
	at io.airbyte.workload.launcher.ClaimedProcessor.retrieveAndProcess(ClaimedProcessor.kt:64)
	at io.airbyte.workload.launcher.StartupApplicationEventListener$onApplicationEvent$1.invoke(StartupApplicationEventListener.kt:36)
	at io.airbyte.workload.launcher.StartupApplicationEventListener$onApplicationEvent$1.invoke(StartupApplicationEventListener.kt:34)
	at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)
2025-07-08 10:11:31,056 [Thread-4]	INFO	i.m.r.Micronaut(lambda$start$0):118 - Embedded Application shutting down
k
The error message you are seeing in the Airbyte workload-launcher:
Copy code
Failed to retrieve and resume claimed workloads, exiting. io.airbyte.workload.api.client.generated.infrastructure.ClientException: Client error : 400 Bad Request ... "Failed to obtain JDBC Connection"
indicates that the workload-launcher is unable to establish a JDBC connection to the database. This is a known issue that has been reported by other users, especially when using an external database such as RDS Postgres. The error typically means that the workload-launcher cannot connect to the configured database, even if other components (like Temporal) can connect successfully. Possible causes and troubleshooting steps: 1. Database Connectivity Issues: - Double-check the database connection details (host, port, username, password, and database name) in your Airbyte Helm values or environment variables. - Ensure that the Kubernetes cluster where Airbyte is running can reach the database endpoint (network policies, security groups, VPC peering, etc.). 2. Database Permissions: - Make sure the user configured for Airbyte has the necessary permissions to connect and perform operations on the database. 3. Database Connection Limits: - If the database is under heavy load or has reached its connection limit, new connections (like from the workload-launcher) may be refused. 4. Configuration Consistency: - Sometimes, other components (like Temporal) may use a different configuration or connection pool, so verify that all Airbyte components are using the same and correct database settings. This exact error and scenario have been discussed by other users, and unfortunately, the knowledge sources do not provide a definitive solution beyond these general troubleshooting steps. If you have confirmed all the above and the issue persists, you may want to check for any additional logs from the database itself or increase the logging level for more details. You can also refer to the related discussion for more context: [I received an error in airbyte-workload-launcher about Failed to obtain JDBC Connection](https://github.com/airbytehq/airbyte/discussions/55862). If you resolve the issue, sharing your solution in the Airbyte community may help others facing the same problem.
s
How do I increase the logging level? @kapa.ai
k
A message from kapa.ai
To increase the logging level in Airbyte when deployed via Helm charts, you can set the log level for each component (such as the workload-launcher, worker, or server) in your
values.yaml
file using the
log.level
parameter. For example:
Copy code
yaml workload-launcher:   log:     level: "DEBUG"
Or for the worker:
Copy code
yaml worker:   log:     level: "DEBUG"
After updating the
values.yaml
file, apply the changes by upgrading your Helm release. Note: The knowledge sources confirm the presence of the
log.level
parameter for various components, but do not provide a comprehensive list of all possible log levels or further details about dynamic log level changes at runtime. If you need to increase the logging level for troubleshooting, set it to
"DEBUG"
as shown above and redeploy the affected component(s) using Helm. For more details, see the example configuration in [this GitHub issue](https://github.com/airbytehq/airbyte/issues/49843). Also, be aware that enabling
DEBUG
logs in production or at scale is not recommended, as it may overload the server pod and impact deployment stability. Only use
DEBUG
logs for testing or troubleshooting purposes, and revert to a less verbose level (like
INFO
) when doneĀ [Scaling Airbyte After Installation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte#debug-logs).