Comments (15)
Still in v0.63.2
from airbyte.
Can the folks on this thread try updating their URL from localhost:8006
-> localhost:8001/api/public
and let us know if that resolves the issue? We just tested on 63.2 and were able to confirm that the issue doesn't happen when making a call to the new URL but does happen with the old URL.
This means your URL will go from looking something like this: localhost:8006/v1/connections
-> localhost:8001/api/public/v1/connections
.
Here's a page detailing what's going on, but the summary is that we have two versions of the Airbyte API right now and are planning to deprecate the one that you're referencing here. It seems as though some fixes that have gone into the new version have not made it into the old version that's being deprecated.
from airbyte.
Still in v0.63.1
from airbyte.
This error is reproductible with the launcher script :
# clone Airbyte from GitHub
git clone --depth=1 https://github.com/airbytehq/airbyte.git
# switch into Airbyte directory
cd airbyte
# start Airbyte
./run-ab-platform.sh
# GET jobs
curl http://airbyte:password@localhost:8006/v1/jobs?workspaceIds=688993b4-a749-4360-b372-1289600851e9&status=running
{"type":"about:blank","status":500}
from airbyte.
Just updated to v0.63.1 and hitting the same issue
from the logs:
2024-06-20 16:07:11 ERROR i.m.h.s.RouteExecutor(logException):282 - Unexpected error occurred: No enum constant io.airbyte.api.client.model.generated.JobStatus.incomplete
java.lang.IllegalArgumentException: No enum constant io.airbyte.api.client.model.generated.JobStatus.incomplete
at java.base/java.lang.Enum.valueOf(Enum.java:293) ~[?:?]
at io.airbyte.api.client.model.generated.JobStatus.valueOf(JobStatus.kt) ~[io.airbyte-airbyte-api-0.63.1.jar:?]
at io.airbyte.api.server.filters.JobsFilter.getConfigApiStatus(JobsFilter.kt:43) ~[io.airbyte-airbyte-api-server-0.63.1.jar:?]
at io.airbyte.api.server.services.JobServiceImpl.getJobList(JobService.kt:211) ~[io.airbyte-airbyte-api-server-0.63.1.jar:?]
at io.airbyte.api.server.controllers.JobsController.listJobs$lambda$5(JobsController.kt:232) ~[io.airbyte-airbyte-api-server-0.63.1.jar:?]
at io.airbyte.api.server.apiTracking.TrackingHelper.callWithTracker(TrackingHelper.kt:107) ~[io.airbyte-airbyte-api-server-0.63.1.jar:?]
at io.airbyte.api.server.controllers.JobsController.listJobs(JobsController.kt:230) ~[io.airbyte-airbyte-api-server-0.63.1.jar:?]
at io.airbyte.api.server.controllers.$JobsController$Definition$Exec.dispatch(Unknown Source) ~[io.airbyte-airbyte-api-server-0.63.1.jar:?]
at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecutableMethodsDefinition.java:461) ~[micronaut-inject-4.4.10.jar:4.4.10]
at io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:4232) ~[micronaut-inject-4.4.10.jar:4.4.10]
at io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:271) ~[micronaut-router-4.4.10.jar:4.4.10]
at io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:488) ~[micronaut-http-server-4.4.10.jar:4.4.10]
at io.micronaut.http.server.RouteExecutor.lambda$callRoute$6(RouteExecutor.java:465) ~[micronaut-http-server-4.4.10.jar:4.4.10]
at io.micronaut.core.execution.ExecutionFlow.lambda$async$1(ExecutionFlow.java:87) ~[micronaut-core-4.4.10.jar:4.4.10]
at io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:211) ~[micronaut-core-4.4.10.jar:4.4.10]
at io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:211) ~[micronaut-core-4.4.10.jar:4.4.10]
at java.base/java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run(ThreadPerTaskExecutor.java:314) ~[?:?]
at java.base/java.lang.VirtualThread.run(VirtualThread.java:309) ~[?:?]
This happens for all statuses, not just incomplete
from airbyte.
any change someone could investigate the issue?
from airbyte.
I tried to investigate but without success to find the root cause :(
from airbyte.
@descampsk @benbauer-draeger the team is working on a fix and will release it soon. Sorry for the lack of updates about the problem.
from airbyte.
I am able to reproduce an error (400 with a similar stack trace) in the 63.1 release using the curl @descampsk provided, but unable to do so with 63.2. Can anyone provide a fresh stack trace from >= 63.2?
There was an enum serialization fix that went out with 63.2, so I'm wondering if there's another issue / complication going here.
Steps I took:
- Download the release here
- cd in and run via
./run-ab-platform.sh
- attempt repro via
curl -i http://airbyte:password@localhost:8006/v1/jobs?connectionId=e3c6eec3-7240-490a-95be-eb58ea635fb1&status=running
from airbyte.
@tryangul
this happens on 0.63.4, not sure if related but I get the same 500 errors
2024-07-09 08:42:00 ERROR i.m.h.s.RouteExecutor(logException):282 - Unexpected error occurred: No enum constant io.airbyte.api.client.model.generated.Geography.auto
java.lang.IllegalArgumentException: No enum constant io.airbyte.api.client.model.generated.Geography.auto
at java.base/java.lang.Enum.valueOf(Enum.java:293) ~[?:?]
at io.airbyte.api.client.model.generated.Geography.valueOf(Geography.kt) ~[io.airbyte-airbyte-api-0.63.4.jar:?]
at io.airbyte.api.server.mappers.ConnectionUpdateMapper.from(ConnectionUpdateMapper.kt:54) ~[io.airbyte-airbyte-api-server-0.63.4.jar:?]
at io.airbyte.api.server.services.ConnectionServiceImpl.updateConnection(ConnectionService.kt:202) ~[io.airbyte-airbyte-api-server-0.63.4.jar:?]
at io.airbyte.api.server.controllers.ConnectionsController.patchConnection$lambda$19(ConnectionsController.kt:386) ~[io.airbyte-airbyte-api-server-0.63.4.jar:?]
at io.airbyte.api.server.apiTracking.TrackingHelper.callWithTracker(TrackingHelper.kt:107) ~[io.airbyte-airbyte-api-server-0.63.4.jar:?]
at io.airbyte.api.server.controllers.ConnectionsController.patchConnection(ConnectionsController.kt:384) ~[io.airbyte-airbyte-api-server-0.63.4.jar:?]
at io.airbyte.api.server.controllers.$ConnectionsController$Definition$Exec.dispatch(Unknown Source) ~[io.airbyte-airbyte-api-server-0.63.4.jar:?]
at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecutableMethodsDefinition.java:461) ~[micronaut-inject-4.5.3.jar:4.5.3]
at io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:4325) ~[micronaut-inject-4.5.3.jar:4.5.3]
at io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:271) ~[micronaut-router-4.5.3.jar:4.5.3]
at io.micronaut.web.router.DefaultUriRouteMatch.execute(DefaultUriRouteMatch.java:39) ~[micronaut-router-4.5.3.jar:4.5.3]
at io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:490) ~[micronaut-http-server-4.5.3.jar:4.5.3]
at io.micronaut.http.server.RouteExecutor.lambda$callRoute$6(RouteExecutor.java:467) ~[micronaut-http-server-4.5.3.jar:4.5.3]
at io.micronaut.core.execution.ExecutionFlow.lambda$async$1(ExecutionFlow.java:87) ~[micronaut-core-4.5.3.jar:4.5.3]
at io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:211) ~[micronaut-core-4.5.3.jar:4.5.3]
at io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:211) ~[micronaut-core-4.5.3.jar:4.5.3]
at java.base/java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run(ThreadPerTaskExecutor.java:314) ~[?:?]
at java.base/java.lang.VirtualThread.run(VirtualThread.java:309) ~[?:?]
from airbyte.
@JonsSpaghetti changing the url for accessing the server instead of the deprecated api-server solves the issue for me, thanks!
from airbyte.
@JonsSpaghetti thanks for your solution. I could validate that it works for 63.5 as well.
Does anybody know whether this will be reflected in the Airflow provider package as the url now has the api/public part in it?
from airbyte.
Will test that tomorow thanks for the tip
from airbyte.
@benbauer-draeger I believe the Airflow operator uses the API that lives at /api
, not the public API that lives at /api/public
so for now that should not be affected as far as I'm aware.
from airbyte.
Yes, that's correct and with the change it's working. I just wanted to point out, that the default should probably be updated with one of the next updates :)
from airbyte.
Related Issues (20)
- [source-microsoft-sharepoint] Verify OAuth application
- Live tests: keep artifacts off of host machine when running locally
- Ongoing: support for DB sources running CATs HOT 1
- [source-stripe] Wrong source-defined cursor field was set in Stripe source HOT 1
- [source-amazon-seller-partner] Configure the 'LastUpdatedAfter' Parameter setting for the Orders Stream by setting the start date
- Add Support for Incremental Sync of Non-Incremental Streams with Incremental Parent
- [helm] Heating 429 Too Many Requests on orchestrator-repl-job pods HOT 5
- [source-aircall] stream 'calls' not loading all rows of data HOT 1
- How do you guys debug this?
- [source-yandex] Add error details HOT 2
- [destination-bigquery] Infinite synchronisation - negativ memory allocation
- Connector extracting the data for the first property ID HOT 2
- Update low code connectors with config error instead of IGNORE action
- [source-amazon-ads] - sponsored_products_report_stream - No Rows Being Acquired - Logs Show 400 HTTP Code Error HOT 1
- [source-railz] Python MRO error due to unnecessary multiple inheritance
- source-xero: enable on Cloud and disable OAuth. HOT 2
- destination-postgres I Keep getting "an unknown errror occurred" whenever I try to test the destination I've set up HOT 3
- In Airbyte Open Source, while configuring File connectors, all are failing with "An unknown error occurred. (HTTP 504)" HOT 10
- [Bug] Connector Specification Storybook Widget Broken
- [blocker] Airbyte worker ports are not releasing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airbyte.