Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Airbyte Open Source, while configuring File connectors, all are failing with "An unknown error occurred. (HTTP 504)" #42135

Closed
1 task
saurabhpandeyt opened this issue Jul 20, 2024 · 10 comments
Assignees
Labels

Comments

@saurabhpandeyt
Copy link

Connector Name

File (CSV, JSON, Excel, Feather, Parquet)

Connector Version

v0.63.8 source-file:0.5.3

What step the error happened?

Configuring a new connector

Relevant information

I installed latest abctl 0.8.2.0 version on ubuntu and trying to create file connector. All the connector including https source using https://storage.googleapis.com/covid19-open-data/v2/latest/epidemiology.csv is failing with error "An unknown error occurred. (HTTP 504)"

Relevant log output

There are no logs available this message is displayed on screen.

Contribute

  • Yes, I want to contribute
@natikgadzhi
Copy link
Contributor

Not good. Can you try this in Airbyte Cloud and tell me if that works?

@marcosmarxm
Copy link
Member

I having the same issue with abctl latest version.

@perangel perangel self-assigned this Jul 22, 2024
@marcosmarxm
Copy link
Member

This is very likely similar to #42404

@saurabhpandeyt
Copy link
Author

saurabhpandeyt commented Jul 22, 2024 via email

@saurabhpandeyt
Copy link
Author

Not good. Can you try this in Airbyte Cloud and tell me if that works?

  1. For web sources airbyte cloud is able to connect public https source, however same is not working for local installation.

  2. In addition, error message is more clear in airbyte cloud then airbyte local.

AirbyteCloud Error Message: Failed to load scp:///home/saurabh/or.txt. You could have provided an invalid URL, please verify it: TimeoutError(110, 'Connection timed out').

AirbyteLocal Error Message: An unknown error occurred. (HTTP 504)

  1. Using airbyte cloud, I am not able to connect to local unix machine as well. The same is not working for local ubuntu installation as well.

Regards,
Saurabh Pandey

@johnwasserman
Copy link
Contributor

johnwasserman commented Jul 22, 2024

Hi @saurabhpandeyt for abctl I was able to reproduce the issue and confirmed 504 was caused by under-resourced deployment in docker

you can verify this by:

  1. Running kubectl get po -n airbyte-abctl
  2. identifying any pods with status pending and "check" in the name (e.x. my e2e connector was ion-e2e-test-check-adef9c6a-0eaf-43ee-966d-cfcd905adda0-0-mmyfl
  3. Describe pod kubectl describe po -n airbyte-abctl [pending-pod-name]
  4. Confirming there are logs showing insufficient resourcing

After increasing my Docker Desktop resource limits (8CPU and 12 Gi) and then running abctl local uninstall then abctl local install my 504 issue went away when creating connectors.

Let me know if this was your issue as well or not!

@natikgadzhi
Copy link
Contributor

natikgadzhi commented Jul 23, 2024 via email

@saurabhpandeyt
Copy link
Author

saurabhpandeyt commented Jul 23, 2024 via email

@marcosmarxm
Copy link
Member

@saurabhpandeyt where are you running Airbyte? an EC2 instance? How much memory/cpu/disk the instance has?

@marcosmarxm
Copy link
Member

@perangel can we close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants