Summary
The user is encountering an error when trying to create a connection in Airbyte on AWS Postgres, with the error message ‘java.net.ConnectException: Failed to connect to localhost/[0:0:0:0:0:0:0:1]:80’. The full trace indicates an issue with the WorkloadClient.
Question
Hi,
I deployed airbyte successfully on a AWS postgress (at least it all seems fine on argoCD)
But any connetion I try to create immediately fails with this error:
Caused by: io.temporal.failure.ApplicationFailure: message=‘java.net.ConnectException: Failed to connect to localhost/[0:0:0:0:0:0:0:1]:80’, type=‘java.lang.RuntimeException’, nonRetryable=false
Anyone encountered this?
Full trace:
at java.base/java.lang.Thread.getStackTrace(Thread.java:2450)
at io.temporal.internal.sync.ActivityStubBase.execute(ActivityStubBase.java:49)
at io.temporal.internal.sync.ActivityInvocationHandler.lambda$getActivityFunc$0(ActivityInvocationHandler.java:83)
at io.temporal.internal.sync.ActivityInvocationHandlerBase.invoke(ActivityInvocationHandlerBase.java:60)
at jdk.proxy2/jdk.proxy2.$Proxy91.runWithWorkload(Unknown Source)
at io.airbyte.workers.temporal.check.connection.CheckConnectionWorkflowImpl.run(CheckConnectionWorkflowImpl.java:53)
at CheckConnectionWorkflowImplProxy.run$accessor$9JofJ7jq(Unknown Source)
at CheckConnectionWorkflowImplProxy$auxiliary$PkE6cPm9.call(Unknown Source)
at io.airbyte.micronaut.temporal.TemporalActivityStubInterceptor.execute(TemporalActivityStubInterceptor.java:79)
at CheckConnectionWorkflowImplProxy.run(Unknown Source)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at io.temporal.internal.sync.POJOWorkflowImplementationFactory$POJOWorkflowImplementation$RootWorkflowInboundCallsInterceptor.execute(POJOWorkflowImplementationFactory.java:339)
at io.temporal.internal.sync.POJOWorkflowImplementationFactory$POJOWorkflowImplementation.execute(POJOWorkflowImplementationFactory.java:314)
at io.temporal.internal.sync.WorkflowExecutionHandler.runWorkflowMethod(WorkflowExecutionHandler.java:70)
at io.temporal.internal.sync.SyncWorkflow.lambda$start$0(SyncWorkflow.java:135)
at io.temporal.internal.sync.CancellationScopeImpl.run(CancellationScopeImpl.java:102)
at io.temporal.internal.sync.WorkflowThreadImpl$RunnableWrapper.run(WorkflowThreadImpl.java:107)
at io.temporal.worker.ActiveThreadReportingExecutor.lambda$submit$0(ActiveThreadReportingExecutor.java:53)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: io.temporal.failure.ApplicationFailure: message='java.net.ConnectException: Failed to connect to localhost/[0:0:0:0:0:0:0:1]:80', type='java.lang.RuntimeException', nonRetryable=false
at io.airbyte.workers.sync.WorkloadClient.createWorkload(WorkloadClient.kt:45)```
<br>
---
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1724236921168119) if you want
to access the original thread.
[Join the conversation on Slack](https://slack.airbyte.com)
<sub>
["error", "connection", "airbyte", "aws-postgres", "java.net.ConnectException", "WorkloadClient"]
</sub>