<@U04SE163WC8> With OSS deployment by Docker Compo...
# help-api-cli-orchestration
n
@kapa.ai With OSS deployment by Docker Composer on GCP VM, do I need to expose Airbyte IP to the public for using Terraform to configure Airbyte objects?
u
New message text here
n
@kapa.ai I got the error
Copy code
dial tcp [::1]:8006: connectex: No connection could be made because the target machine actively refused it.
when trying to use the command Terraform apply, why is that?
u
A message from kapa.ai
n
@kapa.ai Why do I get the error 408, request took too long, when trying to create a connection from defined sources and destinations?
u
A message from kapa.ai
u
Based on the information provided in the extracts, a 408 error typically indicates that the server timed out waiting for the rest of the request from the client. This could happen for a few reasons when creating a connection in Airbyte: 1. The source or destination system took too long to respond. This could be due to network latency, system performance, or the system being temporarily unavailable. 2. The amount of data being processed is too large and it's taking too long to complete. This could be the case if you're trying to sync a large amount of data. 3. There could be an issue with the specific connector you're using. Some connectors might have known issues that can cause timeouts. To troubleshoot this issue, you could try the following: - Check the status and performance of the source and destination systems. If they're experiencing issues, that could be causing the timeout. - Try reducing the amount of data being synced to see if that resolves the issue. - Check if there are any known issues with the connector you're using. You can do this by checking the connector's documentation or the [Airbyte GitHub page](https://github.com/airbytehq/airbyte). - If you're running Airbyte on a server, make sure the server has enough resources (CPU, memory, disk space) to handle the data sync. If none of the above solutions work, you might want to reach out to the Airbyte community on [Slack](https://airbytehq.slack.com) or [Discourse](https://discuss.airbyte.io) for further assistance.
n
@kapa.ai How do we create custom connectors using Terraform?
u
A message from kapa.ai
u
Based on the information provided in the extracts, there is no specific guidance on creating custom connectors using Terraform. However, you can create custom connectors in Airbyte and then use them in your Terraform configuration. Here's a general process on how you can create a custom connector in Airbyte: 1. If the connector catalog does not fulfill your needs, you can build your own Airbyte connectors. There are two approaches you can take: build a connector for an external source or destination (public API, off-the-shelf DBMS, data warehouses, etc.) or build a connector for an internal source or destination (private API) specific to your organization. [source](https://docs.airbyte.com/operator-guides/using-custom-connectors) 2. You can develop your own connector. Airbyte connectors can be written in any language. Here is a link to instruct on how to code new sources and destinations: [building new connectors](https://docs.airbyte.com/connector-development/). [source](https://docs.airbyte.com/integrations/custom-connectors) 3. Once you have developed your connector, you can add it to the Airbyte UI by following these steps: Get the Docker coordinate of a custom connector from Dockerhub (or any image repository that Airbyte can access). In the UI, go to the Admin section, and click on
[+ New connector]
on the top right. Fill in the display name, the Docker repository name (repository + image name), tag and documentation URL for that connector. [source](https://docs.airbyte.com/integrations/custom-connectors) 4. If you want to contribute your connector back to the Airbyte connector catalog to make it available outside of your workspace, you can export the connector specification into a file and build a docker image containing the connector which can be shared more widely. [source](https://docs.airbyte.com/connector-development/connector-builder-ui/overview) Once you have your custom connector created and added to Airbyte, you can then use it in your Terraform configuration. However, the extracts do not provide specific information on how to do this. You may need to refer to the [Terraform documentation](https://www.terraform.io/docs/cli/run/index.html) or the [Airbyte with Terraform guide](https://registry.terraform.io/providers/airbytehq/airbyte/latest/docs) for more details.