- Is this your first time deploying Airbyte? Yes
- OS Version / Instance: Windows 11
- Memory / Disk: 32Gb, 500Gb
- Deployment: Docker
- Airbyte Version: 0.40.32
- Source name/version: NA
- Destination name/version: Custom .NET 6.0 connector
- Step: Trying to add a new destination connector
- Description:
Hello,
I’ve been testing the capabilities of Airbyte for the last week or so. My goal has been to get it set up in a demo environment, reading changes from a Mysql database, and outputting those changes to a .Net Core application. I’ve been slowly deciphering the setup docs and the .Net example repo, and have got to a point where I seem to have a tiny test application running in Visual Studio. I can make calls to spec
and write
and they seem to respond as expected.
I’ve created a new Docker container with that application, and am hosting it in a local Docker registry.
I can run this container manually, and the application starts up. (It actually gives me the command line help text requesting the command/config/catalog arguments, so I know it’s capable of running even if it’s not getting further than that. I simply haven’t supplied the arguments to get further.)
When I try to load it in Airbyte, the “Add new connector” modal gives the error “Internal Server Error: Get Spec job failed.”.
In the airbyte-worker logs, there’s the error:
airbyte-worker | 2023-02-16 09:40:55 INFO i.a.w.p.DockerProcessFactory(create):125 - Creating docker container = localhost-spec-54d41f18-d699-4c2b-aae6-b7c6dc62b1e8-0-hlnay with resources io.airbyte.config.ResourceRequirements@688a62cb[cpuRequest=,cpuLimit=,memoryRequest=,memoryLimit=] and allowedHosts null
airbyte-worker | 2023-02-16 09:40:55 INFO i.a.w.p.DockerProcessFactory(create):170 - Preparing command: docker run --rm --init -i -w /data/54d41f18-d699-4c2b-aae6-b7c6dc62b1e8/0 --log-driver none --name localhost-spec-54d41f18-d699-4c2b-aae6-b7c6dc62b1e8-0-hlnay --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e DEPLOYMENT_MODE=OSS -e FIELD_SELECTION_WORKSPACES= -e USE_STREAM_CAPABLE_STATE=true -e WORKER_ENVIRONMENT=DOCKER -e AIRBYTE_ROLE= -e APPLY_FIELD_SELECTION=false -e WORKER_CONNECTOR_IMAGE=localhost:5000/airbyteconnectortest:latest -e WORKER_JOB_ATTEMPT=0 -e AUTO_DETECT_SCHEMA=true -e AIRBYTE_VERSION=0.40.32 -e WORKER_JOB_ID=54d41f18-d699-4c2b-aae6-b7c6dc62b1e8 localhost:5000/airbyteconnectortest:latest spec
airbyte-worker | 2023-02-16 09:40:56 ERROR i.a.c.i.LineGobbler(voidCall):114 - The command could not be loaded, possibly because:
airbyte-worker | 2023-02-16 09:40:56 ERROR i.a.c.i.LineGobbler(voidCall):114 - * You intended to execute a .NET application:
airbyte-worker | 2023-02-16 09:40:56 ERROR i.a.c.i.LineGobbler(voidCall):114 - The application 'AirbyteConnectorTest.dll' does not exist.
airbyte-worker | 2023-02-16 09:40:56 ERROR i.a.c.i.LineGobbler(voidCall):114 - * You intended to execute a .NET SDK command:
airbyte-worker | 2023-02-16 09:40:56 ERROR i.a.c.i.LineGobbler(voidCall):114 - No .NET SDKs were found.
airbyte-worker | 2023-02-16 09:40:56 ERROR i.a.c.i.LineGobbler(voidCall):114 -
airbyte-worker | 2023-02-16 09:40:56 ERROR i.a.c.i.LineGobbler(voidCall):114 - Download a .NET SDK:
airbyte-worker | 2023-02-16 09:40:56 ERROR i.a.c.i.LineGobbler(voidCall):114 - https://aka.ms/dotnet-download
It looks like its not finding the correct version of dotnet? I’m not sure if this is the worker itself erroring, or if it’s my container erroring, but as I said, running my container manually is working.
I wondered if anyone would have any suggestions?
Thanks,
Mike