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

[source-github] Connection to a Github Enterprise account failed. #35983

Open
DanielBarbosabit opened this issue Mar 12, 2024 · 2 comments
Open

Comments

@DanielBarbosabit
Copy link

DanielBarbosabit commented Mar 12, 2024

Connector Name

source-github

Connector Version

1.6.3

What step the error happened?

Configuring a new connector

Relevant information

I'm trying to set up a connection to a version 3.10 github enterprise. So I'm entering the information when creating the connection using the Github connector, as described below:

Source name: Github

Authentication:

Github Repositories: <My organization/Repo name>

Start date: Empty

API URL: https:///api/v3 (See docs)

The deployment is being done on a Linux VM and when I make the request via a curl command, the response is successful.

Relevant log output

2024-03-12 11:38:29 platform > Docker volume job log path: /tmp/workspace/4a37594a-789b-4ac2-9e3d-19abf2245f6e/0/logs.log
2024-03-12 11:38:29 platform > Executing worker wrapper. Airbyte version: 0.50.52
2024-03-12 11:38:29 platform > Attempt 0 to save workflow id for cancellation
2024-03-12 11:38:29 platform > Using default value for environment variable SIDECAR_KUBE_CPU_LIMIT: '2.0'
2024-03-12 11:38:29 platform > Using default value for environment variable SOCAT_KUBE_CPU_LIMIT: '2.0'
2024-03-12 11:38:29 platform > Using default value for environment variable SIDECAR_KUBE_CPU_REQUEST: '0.1'
2024-03-12 11:38:29 platform > 
2024-03-12 11:38:29 platform > ----- START CHECK -----
2024-03-12 11:38:29 platform > 
2024-03-12 11:38:29 platform > Using default value for environment variable SOCAT_KUBE_CPU_REQUEST: '0.1'
2024-03-12 11:38:29 platform > Using default value for environment variable LAUNCHDARKLY_KEY: ''
2024-03-12 11:38:29 platform > Checking if airbyte/source-github:1.6.3 exists...
2024-03-12 11:38:29 platform > airbyte/source-github:1.6.3 was found locally.
2024-03-12 11:38:29 platform > Creating docker container = source-github-check-4a37594a-789b-4ac2-9e3d-19abf2245f6e-0-whtsj with resources io.airbyte.config.ResourceRequirements@4adfb677[cpuRequest=,cpuLimit=,memoryRequest=,memoryLimit=,additionalProperties={}] and allowedHosts null
2024-03-12 11:38:29 platform > Preparing command: docker run --rm --init -i -w /data/4a37594a-789b-4ac2-9e3d-19abf2245f6e/0 --log-driver none --name source-github-check-4a37594a-789b-4ac2-9e3d-19abf2245f6e-0-whtsj --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e DEPLOYMENT_MODE=OSS -e WORKER_CONNECTOR_IMAGE=airbyte/source-github:1.6.3 -e AUTO_DETECT_SCHEMA=true -e LAUNCHDARKLY_KEY= -e SOCAT_KUBE_CPU_REQUEST=0.1 -e SOCAT_KUBE_CPU_LIMIT=2.0 -e FIELD_SELECTION_WORKSPACES= -e USE_STREAM_CAPABLE_STATE=true -e AIRBYTE_ROLE=dev -e WORKER_ENVIRONMENT=DOCKER -e APPLY_FIELD_SELECTION=false -e WORKER_JOB_ATTEMPT=0 -e OTEL_COLLECTOR_ENDPOINT=http://host.docker.internal:4317 -e FEATURE_FLAG_CLIENT=config -e AIRBYTE_VERSION=0.50.52 -e WORKER_JOB_ID=4a37594a-789b-4ac2-9e3d-19abf2245f6e airbyte/source-github:1.6.3 check --config source_config.json
2024-03-12 11:38:29 platform > Reading messages from protocol version 0.2.0
2024-03-12 11:38:32 platform > Check failed
2024-03-12 11:38:32 platform > Check connection job received output: io.airbyte.config.StandardCheckConnectionOutput@3845f086[status=failed,message='AttributeError("\'NoneType\' object has no attribute \'get\'")',additionalProperties={}]
2024-03-12 11:38:32 platform > 
2024-03-12 11:38:32 platform > ----- END CHECK -----
2024-03-12 11:38:32 platform >

Contribute

  • Maybe
@DanielBarbosabit DanielBarbosabit added area/connectors Connector related issues needs-triage type/bug Something isn't working labels Mar 12, 2024
@marcosmarxm marcosmarxm changed the title Source Github: Connection to a Github Enterprise account failed. [source-github] Connection to a Github Enterprise account failed. Mar 14, 2024
@joeybenamy
Copy link

We have the same issue with regular GitHub.

@mert-ozturk-lgs
Copy link

Any news on this? I also cannot connect to a GitHub enterprise instance.

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

No branches or pull requests

6 participants