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 Exchange Rates API: The connection tests failed. AttributeError("'NoneType' object has no attribute 'get'") #17690

Closed
sh4sh opened this issue Oct 6, 2022 — with Slack · 3 comments · Fixed by #18726

Comments

Copy link
Contributor

sh4sh commented Oct 6, 2022

Environment

  • Airbyte version: v0.40.10
  • OS Version / Instance: MacOS
  • Deployment: Docker
  • Source Connector and version: Source Exchange Rates API v1.26
  • Destination Connector and version:
  • Step where error happened: Check connection

Current Behavior

Check connection failed

Expected Behavior

Check connection succeeds

Logs

2022-10-06 18:53:24 INFO i.a.w.t.TemporalAttemptExecution(get):108 - Docker volume job log path: /tmp/workspace/600c9860-199d-4b30-a80a-c1bfee38b958/0/logs.log
2022-10-06 18:53:24 INFO i.a.w.t.TemporalAttemptExecution(get):113 - Executing worker wrapper. Airbyte version: 0.40.10
2022-10-06 18:53:24 INFO i.a.c.i.LineGobbler(voidCall):114 - 
2022-10-06 18:53:24 INFO i.a.c.i.LineGobbler(voidCall):114 - ----- START CHECK -----
2022-10-06 18:53:24 INFO i.a.c.i.LineGobbler(voidCall):114 - 
2022-10-06 18:53:24 INFO i.a.c.i.LineGobbler(voidCall):114 - Checking if airbyte/source-exchange-rates:1.2.6 exists...
2022-10-06 18:53:24 INFO i.a.c.i.LineGobbler(voidCall):114 - airbyte/source-exchange-rates:1.2.6 not found locally. Attempting to pull the image...
2022-10-06 18:53:42 INFO i.a.c.i.LineGobbler(voidCall):114 - Pulled airbyte/source-exchange-rates:1.2.6 from remote.
2022-10-06 18:53:42 INFO i.a.w.p.DockerProcessFactory(create):119 - Creating docker container = source-exchange-rates-check-600c9860-199d-4b30-a80a-c1bfee38b958-0-codyk with resources io.airbyte.config.ResourceRequirements@3f819c54[cpuRequest=,cpuLimit=,memoryRequest=,memoryLimit=]
2022-10-06 18:53:42 INFO i.a.w.p.DockerProcessFactory(create):163 - Preparing command: docker run --rm --init -i -w /data/600c9860-199d-4b30-a80a-c1bfee38b958/0 --log-driver none --name source-exchange-rates-check-600c9860-199d-4b30-a80a-c1bfee38b958-0-codyk --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e DEPLOYMENT_MODE=OSS -e USE_STREAM_CAPABLE_STATE=true -e AIRBYTE_ROLE= -e WORKER_ENVIRONMENT=DOCKER -e WORKER_CONNECTOR_IMAGE=airbyte/source-exchange-rates:1.2.6 -e WORKER_JOB_ATTEMPT=0 -e AIRBYTE_VERSION=0.40.10 -e WORKER_JOB_ID=600c9860-199d-4b30-a80a-c1bfee38b958 airbyte/source-exchange-rates:1.2.6 check --config source_config.json
2022-10-06 18:53:43 INFO i.a.w.i.DefaultAirbyteStreamFactory(internalLog):103 - Ping response code: 401
2022-10-06 18:53:43 ERROR i.a.w.i.DefaultAirbyteStreamFactory(internalLog):99 - Check failed
2022-10-06 18:53:43 INFO i.a.c.i.LineGobbler(voidCall):114 - 
2022-10-06 18:53:43 INFO i.a.w.t.TemporalAttemptExecution(get):134 - Stopping cancellation check scheduling...
2022-10-06 18:53:43 INFO i.a.c.i.LineGobbler(voidCall):114 - ----- END CHECK -----
2022-10-06 18:53:43 INFO i.a.c.i.LineGobbler(voidCall):114 - 

Steps to Reproduce

  1. Create connection with Exchange Rates API
  2. Run sync
  3. The connection tests failed. AttributeError("'NoneType' object has no attribute 'get'")

Original report

hello !
Airbyte exchange rate connector seems to have been failing continuously since Sept. 15... I thought it was an issue on my end, but even after upgrading to basic plan and trying to recreate the source it's still not working. Connections tests are failing with
The connection tests failed.
AttributeError("'NoneType' object has no attribute 'get'")
Any idea what might be wrong? Anyone that makes it work?

Slack Message

@mrhallak
Copy link
Contributor

mrhallak commented Oct 7, 2022

Happening also on AWS EC2 for me.

@alexchouraki
Copy link
Contributor

alexchouraki commented Oct 21, 2022

Re-creating the source from scratch after downgrading the connector appears to make it work - this is no longer an issue on my end, but the update to 1.2.6 definitely screwed up the connector...

@lazebnyi lazebnyi self-assigned this Oct 26, 2022
@martin-brummerstedt-at-miinto

This is also happening on Airbyte Cloud for me

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

Successfully merging a pull request may close this issue.

6 participants