Hey guys, recently set up airbyte via `abctl` on a...
# replication-troubleshooting
b
Hey guys, recently set up airbyte via
abctl
on an EC2 with https using nginx reverse proxy. UI loads and login works but when i try to setup a connection to a postgres aurora db running on the same vpn i get the following error in the ui (see image) Digged in the worker logs and this is what i get:
Copy code
2025-08-19 23:03:43,388 [Activity Executor taskQueue="ui_commands", namespace="default": 9]	WARN	i.t.i.a.ActivityTaskExecutors$BaseActivityTaskExecutor(execute):126 - Activity failure. ActivityId=1ed258e7-3adc-3525-acb2-c6c6df85e259, activityType=StartCommand, attempt=4
java.lang.RuntimeException: io.airbyte.api.client.ApiException: Unauthorized
	at io.airbyte.workers.sync.WorkloadClient.createWorkload(WorkloadClient.kt:54)
	at io.airbyte.workers.commands.WorkloadCommandBase.start(WorkloadCommandBase.kt:27)
	at io.airbyte.workers.temporal.workflows.ConnectorCommandActivityImpl.startCommand$lambda$0(ConnectorCommandWorkflow.kt:142)
	at io.airbyte.workers.temporal.workflows.ConnectorCommandActivityImpl.withInstrumentation$lambda$5(ConnectorCommandWorkflow.kt:200)
	at io.airbyte.commons.timer.Stopwatch.time(Stopwatch.kt:45)
	at io.airbyte.workers.temporal.workflows.ConnectorCommandActivityImpl.withInstrumentation(ConnectorCommandWorkflow.kt:200)
	at io.airbyte.workers.temporal.workflows.ConnectorCommandActivityImpl.withInstrumentation$default(ConnectorCommandWorkflow.kt:170)
	at io.airbyte.workers.temporal.workflows.ConnectorCommandActivityImpl.startCommand(ConnectorCommandWorkflow.kt:140)
	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.activity.RootActivityInboundCallsInterceptor$POJOActivityInboundCallsInterceptor.executeActivity(RootActivityInboundCallsInterceptor.java:64)
	at io.temporal.internal.activity.RootActivityInboundCallsInterceptor.execute(RootActivityInboundCallsInterceptor.java:43)
	at io.temporal.internal.activity.ActivityTaskExecutors$BaseActivityTaskExecutor.execute(ActivityTaskExecutors.java:107)
	at io.temporal.internal.activity.ActivityTaskHandlerImpl.handle(ActivityTaskHandlerImpl.java:124)
	at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handleActivity(ActivityWorker.java:290)
	at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handle(ActivityWorker.java:254)
	at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handle(ActivityWorker.java:217)
	at io.temporal.internal.worker.PollTaskExecutor.lambda$process$1(PollTaskExecutor.java:96)
	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.airbyte.api.client.ApiException: Unauthorized
	at io.airbyte.workload.api.client.WorkloadApiClient.unit(WorkloadApiClient.kt:405)
	at io.airbyte.workload.api.client.WorkloadApiClient.workloadCreate(WorkloadApiClient.kt:50)
	at io.airbyte.workers.sync.WorkloadClient.createWorkload(WorkloadClient.kt:44)
	... 20 common frames omitted
fixed 1
Tried changing the timeout conf but didnt work
Copy code
root@airbyte-abctl-control-plane:/# kubectl -n airbyte-abctl get ingress ingress-abctl -o yaml | grep -i timeout
    nginx.ingress.kubernetes.io/proxy-connect-timeout: "300"
    nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
    nginx.ingress.kubernetes.io/proxy-send-timeout: "300"
This is some of my nginx.conf file with relevant data:
Copy code
server {
	listen       80;
        listen       [::]:80;
        server_name  my_domain_name;
        root         /usr/share/nginx/html;

        # Load configuration files for the default server block.
        include /etc/nginx/default.d/*.conf;

        error_page 404 /404.html;
        location = /404.html {
        }

        error_page 500 502 503 504 /50x.html;
        location = /50x.html {
        }

        return 301 https://$host$request_uri;
    }    


server {
        listen       443 ssl;
        listen       [::]:443 ssl;
        http2        on;
        server_name  my_domain_name;
        root         /usr/share/nginx/html;

        client_max_body_size 200M;

        ssl_certificate "/home/ec2-user/FullChain.crt";
        ssl_certificate_key "/home/ec2-user/airbyte.org.key";
        ssl_session_cache shared:SSL:1m;
        ssl_session_timeout  10m;
        ssl_ciphers PROFILE=SYSTEM;
        ssl_prefer_server_ciphers on;

        location / {
                proxy_pass http://127.0.0.1:8000;
                proxy_set_header Cookie $http_cookie;  # If you use Airbyte's basic auth
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_read_timeout 3600;  # Adjust timeout as needed
        }
h
same here. please advise...
i reverted back to version 1.7.2
b
Did that fix it for you? Mind sharing your nginx.conf?
downgrade indeed fixed it
c
i have the same issue, how did you downgrade if using abctl?
b
youd use --chart-version
image.png
And then i think just put an old one, we did 1.7.2
c
thanks, that worked
✅ 1
c
ypu this is what fixed it to me. figured this out a couple days ago after like a week of reading docs. completely new, so didn't know where to start.
y
I am facing the same issue, were you all also using 1.8.1?
b
we were, yes
y
I see. Mine is also 1.8.1, but Helm deployment on EKS
fyi @[DEPRECATED] Marcos Marx