Summary
The user is encountering an error while testing a source in the Connector Builder tutorial. The error message indicates an internal error during the activity execution, specifically related to checking the connection.
Question
I’m trying to just run the https://docs.airbyte.com/connector-development/connector-builder-ui/tutorial|Tutorial for using the Builder and running into this error while trying to use it to create a Source. When it is Testing the Source, I get the below errors
I think there may be a problem in my local setup, I’m running in Docker on an EC2. Same setup works fine on Airbyte Cloud
Answers in <#C01AHCD885S|ask-ai> weren’t helpful
Internal message: Check failed because of an internal error
Failure origin: source
Stacktrace
io.temporal.failure.ActivityFailure: Activity with activityType='RunWithJobOutput' failed: 'Activity task failed'. scheduledEventId=12, startedEventId=13, activityId=76db7ec7-2af3-3ffd-be69-e047f6ea8ebf, identity='1@1073d50fce7a', retryState=RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED
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.$Proxy87.runWithJobOutput(Unknown Source)
at io.airbyte.workers.temporal.check.connection.CheckConnectionWorkflowImpl.run(CheckConnectionWorkflowImpl.java:55)
at CheckConnectionWorkflowImplProxy.run$accessor$sPCBT5ok(Unknown Source)
at CheckConnectionWorkflowImplProxy$auxiliary$3fCf6fl6.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$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: io.temporal.failure.ApplicationFailure: message='Unexpected error while getting checking connection.', type='io.airbyte.workers.exception.WorkerException', nonRetryable=false
at io.airbyte.workers.general.DefaultCheckConnectionWorker.run(DefaultCheckConnectionWorker.java:135)
at io.airbyte.workers.general.DefaultCheckConnectionWorker.run(DefaultCheckConnectionWorker.java:44)
at io.airbyte.workers.temporal.TemporalAttemptExecution.get(TemporalAttemptExecution.java:142)
at io.airbyte.workers.temporal.check.connection.CheckConnectionActivityImpl.lambda$runWithJobOutput$1(CheckConnectionActivityImpl.java:226)
at io.airbyte.commons.temporal.HeartbeatUtils.withBackgroundHeartbeat(HeartbeatUtils.java:57)
... 14 more
Caused by: io.temporal.failure.ApplicationFailure: message='/tmp/workspace/29ab916c-439f-4fba-bdfa-3835d3e5399e/0', type='io.airbyte.workers.exception.WorkerException', nonRetryable=false
at io.airbyte.workers.process.DockerProcessFactory.create(DockerProcessFactory.java:191)
at io.airbyte.workers.process.AirbyteIntegrationLauncher.check(AirbyteIntegrationLauncher.java:149)
at io.airbyte.workers.general.DefaultCheckConnectionWorker.run(DefaultCheckConnectionWorker.java:71)
... 18 more
Caused by: io.temporal.failure.ApplicationFailure: message='/tmp/workspace/29ab916c-439f-4fba-bdfa-3835d3e5399e/0', type='java.nio.file.NoSuchFileException', nonRetryable=false
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:438)
at java.base/java.nio.file.Files.createDirectory(Files.java:699)
at io.airbyte.workers.process.DockerProcessFactory.create(DockerProcessFactory.java:121)
... 20 more```
<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/p1714426122133519) if you want to access the original thread.
[Join the conversation on Slack](https://slack.airbyte.com)
<sub>
["error", "testing-source", "connector-builder-tutorial", "internal-error", "docker", "ec2", "airbyte-cloud"]
</sub>