Arthur Ho
06/13/2023, 7:37 AMYour connection from Postgres to BigQuery just failed...
This happened with sync started on Monday, June 12, 2023 at 12:58:41 PM Coordinated Universal Time, running for 1 minute 20 seconds, as the Job was cancelled.
You can access its logs here: <http://airbyte-airbyte-webapp-svc:80/workspaces/679da635-0911-4722-91c2-62d4170fe629/connections/6a4ea414-db91-40f4-a472-5aa6c9c7df9c>
Job ID: 152
Really happy to post this message somewhere else if needed.
Have a great day !Ignacio Martínez de Toda
06/13/2023, 7:46 AMIndar
06/13/2023, 11:57 AMmongo
or a MongoDB client.
2. Check Airbyte Configuration: Review your Airbyte configuration file for the MongoDB source connector. Ensure that the JSON schema for the source is correctly defined, including the proper field types and structures. Any inconsistencies in the schema can result in errors when fetching data.
3. Check MongoDB Data: Ensure that the MongoDB collection you are trying to stream data from has valid and well-formed JSON documents. If there are any malformed documents or unexpected data types, it can cause the "Non-json response" error. You may need to perform data cleaning or transformation within MongoDB to ensure the data is in the expected format.
4. Update Airbyte and MongoDB Connectors: Make sure you are using the latest versions of Airbyte and the MongoDB source connector. Check the Airbyte documentation and the GitHub repository for any known issues or bug fixes related to MongoDB connectivity. Updating to the latest versions might resolve the problem.
5. Increase Resource Allocation: If the GCP VM is crashing due to resource limitations, consider allocating more resources to the VM. This can involve increasing the VM's memory, CPU, or disk space to handle the processing and streaming requirements.
6. Check Logs and Error Messages: Examine the logs and error messages generated by Airbyte to get more detailed information about the issue. Look for any specific error codes or stack traces that can provide insights into the root cause.
7. Engage with Airbyte Community: Reach out to the Airbyte community through their official documentation, GitHub repository, or community forums. Describe your issue in detail and provide relevant logs/error messages. The community members and developers can help troubleshoot the problem and provide specific guidance.
By following these steps and leveraging the resources available within the Airbyte community, you should be able to identify and resolve the issues you are facing with the MongoDB source connection and the stability of your GCP VM running Airbyte.Thiago Villani
06/13/2023, 12:09 PMNazif Ishrak
06/13/2023, 1:03 PMRicha Rochna
06/13/2023, 1:29 PM2023-06-13 13:17:51 ERROR i.a.s.e.UncaughtExceptionHandler(handle):28 - Uncaught exception
org.jooq.exception.DataAccessException: SQL [select * from "public"."connection" where "public"."connection"."id" = cast(? as uuid)]; Error while reading field: "public"."connection"."notify_schema_changes", at JDBC index: 19
Caused by: java.sql.SQLException: Error while reading field: "public"."connection"."notify_schema_changes", at JDBC index: 19
Caused by: org.postgresql.util.PSQLException: Cannot cast to boolean: "ignore"
Octavia Squidington III
06/13/2023, 1:45 PMNazif Ishrak
06/13/2023, 3:34 PMNohelia Merino
06/13/2023, 5:34 PMClinton Berry
06/13/2023, 8:20 PMNipuna Prashan
06/14/2023, 12:59 AMNipuna Prashan
06/14/2023, 3:53 AMIndar
06/14/2023, 4:55 AMkubectl cluster-info
Ensure that the API server is listed and running without any errors. If there are issues with the API server, you may need to investigate and resolve them before the pod-sweeper can establish a connection.
2. Check Pod-Sweeper Configuration: Ensure that the pod-sweeper component is configured correctly. Check the configuration files or environment variables related to the pod-sweeper component and ensure that they match your cluster's setup. Pay attention to the API server URL and any authentication or authorization settings that may be required.
3. Verify Network Connectivity: Confirm that there is network connectivity between the machine running the pod-sweeper and the Kubernetes API server. Ensure that there are no network restrictions or firewalls blocking the communication between the two.
4. Check Pod-Sweeper Logs: Review the logs of the pod-sweeper component to gather more information about the error. The logs may provide additional details or error messages that can help identify the root cause. You can retrieve the logs using the following command:
kubectl logs <pod-sweeper-pod-name>
Replace <pod-sweeper-pod-name>
with the actual name of the pod-sweeper pod.
5. Ensure Correct Namespace: If you have multiple namespaces in your Kubernetes cluster, verify that the pod-sweeper component is deployed in the correct namespace where the Airbyte deployment resides. The pod-sweeper needs to be deployed in the same namespace as Airbyte to access the relevant resources.
6. Reach Out to Airbyte Community: If the issue persists, consider reaching out to the Airbyte community for further assistance. Check their documentation, GitHub repository, or community forums to report the issue and seek guidance from other users or developers who may have encountered a similar problem.
By following these steps and investigating the underlying causes, you should be able to troubleshoot and resolve the connection issue with the Airbyte pod-sweeper component.Mikhail Masyagin
06/14/2023, 7:26 AMat io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handle(ActivityWorker.java:206) ~[temporal-sdk-1.17.0.jar:?]
at io.temporal.internal.worker.ActivityWorker$TaskHandlerImpl.handle(ActivityWorker.java:179) ~[temporal-sdk-1.17.0.jar:?]
at io.temporal.internal.worker.PollTaskExecutor.lambda$process$0(PollTaskExecutor.java:93) ~[temporal-sdk-1.17.0.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1589) ~[?:?]
2023-06-14 07:12:51 WARN i.t.i.a.ActivityTaskExecutors$BaseActivityTaskExecutor(execute):114 - Activity failure. ActivityId=56274297-7f99-3c25-ae80-949e9b8ac6cd, activityType=RecordWorkflowCountMetric, attempt=5
io.airbyte.commons.temporal.exception.RetryableException: io.airbyte.api.client.invoker.generated.ApiException: getWorkspaceByConnectionId call failed with: 500 - {"message":"Internal Server Error: io.airbyte.config.persistence.ConfigNotFoundException: config type: STANDARD_WORKSPACE id: f4e4619c-da4f-480f-9f02-a10f509e44bb","exceptionClassName":"java.lang.RuntimeException","exceptionStack":["java.lang.RuntimeException: io.airbyte.config.persistence.ConfigNotFoundException: config type: STANDARD_WORKSPACE id: f4e4619c-da4f-480f-9f02-a10f509e44bb","\tat io.airbyte.config.persistence.ConfigRepository.getStandardWorkspaceFromConnection(ConfigRepository.java:452)","\tat io.airbyte.commons.server.handlers.WorkspacesHandler.getWorkspaceByConnectionId(WorkspacesHandler.java:188)","\tat io.airbyte.server.apis.WorkspaceApiController.lambda$getWorkspaceByConnectionId$7(WorkspaceApiController.java:124)","\tat io.airbyte.server.apis.ApiHelper.execute(ApiHelper.java:26)","\tat io.airbyte.server.apis.WorkspaceApiController.getWorkspaceByConnectionId(WorkspaceApiController.java:124)","\tat io.airbyte.server.apis.$WorkspaceApiController$Definition$Exec.dispatch(Unknown Source)","\tat io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invoke(AbstractExecutableMethodsDefinition.java:371)","\tat io.micronaut.context.DefaultBeanContext$4.invoke(DefaultBeanContext.java:594)","\tat io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:303)","\tat io.micronaut.web.router.RouteMatch.execute(RouteMatch.java:111)","\tat io.micronaut.http.context.ServerRequestContext.with(ServerRequestContext.java:103)","\tat io.micronaut.http.server.RouteExecutor.lambda$executeRoute$14(RouteExecutor.java:659)","\tat reactor.core.publisher.FluxDeferContextual.subscribe(FluxDeferContextual.java:49)","\tat reactor.core.publisher.InternalFluxOperator.subscribe(InternalFluxOperator.java:62)","\tat reactor.core.publisher.FluxSubscribeOn$SubscribeOnSubscriber.run(FluxSubscribeOn.java:194)","\tat io.micronaut.reactive.reactor.instrument.ReactorInstrumentation.lambda$init$0(ReactorInstrumentation.java:62)","\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84)","\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37)","\tat io.micronaut.scheduling.instrument.InvocationInstrumenterWrappedCallable.call(InvocationInstrumenterWrappedCallable.java:53)","\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)","\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)","\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)","\tat java.base/java.lang.Thread.run(Thread.java:1589)","Caused by: io.airbyte.config.persistence.ConfigNotFoundException: config type: STANDARD_WORKSPACE id: f4e4619c-da4f-480f-9f02-a10f509e44bb","\tat io.airbyte.config.persistence.ConfigRepository.lambda$getStandardWorkspaceNoSecrets$1(ConfigRepository.java:232)","\tat java.base/java.util.Optional.orElseThrow(Optional.java:403)","\tat io.airbyte.config.persistence.ConfigRepository.getStandardWorkspaceNoSecrets(ConfigRepository.java:232)","\tat io.airbyte.config.persistence.ConfigRepository.getStandardWorkspaceFromConnection(ConfigRepository.java:450)","\t... 22 more"],"rootCauseExceptionClassName":"java.lang.Class","rootCauseExceptionStack":["io.airbyte.config.persistence.ConfigNotFoundException: config type: STANDARD_WORKSPACE id: f4e4619c-da4f-480f-9f02-a10f509e44bb","\tat io.airbyte.config.persistence.ConfigRepository.lambda$getStandardWorkspaceNoSecrets$1(ConfigRepository.java:232)","\tat java.base/java.util.Optional.orElseThrow(Optional.java:403)","\tat io.airbyte.config.persistence.ConfigRepository.getStandardWorkspaceNoSecrets(ConfigRepository.java:232)","\tat io.airbyte.config.persistence.ConfigRepository.getStandardWorkspaceFromConnection(ConfigRepository.java:450)","\tat io.airbyte.commons.server.handlers.WorkspacesHandler.getWorkspaceByConnectionId(WorkspacesHandler.java:188)","\tat io.airbyte.server.apis.WorkspaceApiController.lambda$getWorkspaceByConnectionId$7(WorkspaceApiController.java:124)","\tat io.airbyte.server.apis.ApiHelper.execute(ApiHelper.java:26)","\tat io.airbyte.server.apis.WorkspaceApiController.getWorkspaceByConnectionId(WorkspaceApiController.java:124)","\tat io.airbyte.server.apis.$WorkspaceApiController$Definition$Exec.dispatch(Unknown Source)","\tat io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invoke(AbstractExecutableMethodsDefinition.java:371)","\tat io.micronaut.context.DefaultBeanContext$4.invoke(DefaultBeanContext.java:594)","\tat io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:303)","\tat io.micronaut.web.router.RouteMatch.execute(RouteMatch.java:111)","\tat io.micronaut.http.context.ServerRequestContext.with(ServerRequestContext.java:103)","\tat io.micronaut.http.server.RouteExecutor.lambda$executeRoute$14(RouteExecutor.java:659)","\tat reactor.core.publisher.FluxDeferContextual.subscribe(FluxDeferContextual.java:49)","\tat reactor.core.publisher.InternalFluxOperator.subscribe(InternalFluxOperator.java:62)","\tat reactor.core.publisher.FluxSubscribeOn$SubscribeOnSubscriber.run(FluxSubscribeOn.java:194)","\tat io.micronaut.reactive.reactor.instrument.ReactorInstrumentation.lambda$init$0(ReactorInstrumentation.java:62)","\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:84)","\tat reactor.core.scheduler.WorkerTask.call(WorkerTask.java:37)","\tat io.micronaut.scheduling.instrument.InvocationInstrumenterWrappedCallable.call(InvocationInstrumenterWrappedCallable.java:53)","\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)","\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)","\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)","\tat java.base/java.lang.Thread.run(Thread.java:1589)"]}
at io.airbyte.workers.temporal.scheduling.activities.RecordMetricActivityImpl.getWorkspaceId(RecordMetricActivityImpl.java:118) ~[io.airbyte-airbyte-workers-0.44.5.jar:?]
at io.airbyte.workers.temporal.scheduling.activities.$RecordMetricActivityImpl$Definition$Intercepted.$$access$$getWorkspaceId(Unknown Source) ~[io.airbyte-airbyte-workers-0.44.5.jar:?]
at io.airbyte.workers.temporal.scheduling.activities.$RecordMetricActivityImpl$Definition$Exec.dispatch(Unknown Source) ~[io.airbyte-airbyte-workers-0.44.5.jar:?]
at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invoke(AbstractExecutableMethodsDefinition.java:371) ~[micronaut-inject-3.9.1.jar:3.9.1]
at io.micronaut.aop.chain.MethodInterceptorChain.proceed(MethodInterceptorChain.java:128) ~[micronaut-aop-3.9.1.jar:3.9.1]
at io.micronaut.cache.interceptor.CacheInterceptor.doContextProceed(CacheInterceptor.java:736) ~[micronaut-cache-core-3.5.0.jar:3.5.0]
at io.micronaut.cache.interceptor.CacheInterceptor.doProceed(CacheInterceptor.java:740) ~[micronaut-cache-core-3.5.0.jar:3.5.0]
at io.micronaut.cache.interceptor.CacheInterceptor.interceptSync(CacheInterceptor.java:430) ~[micronaut-cache-core-3.5.0.jar:3.5.0]
at io.micronaut.cache.interceptor.CacheInterceptor.intercept(CacheInterceptor.java:156) ~[micronaut-cache-core-3.5.0.jar:3.5.0]
at io.micronaut.aop.chain.MethodInterceptorChain.proceed(MethodInterceptorChain.java:137) ~[micronaut-aop-3.9.1.jar:3.9.1]
at io.airbyte.workers.temporal.scheduling.activities.$RecordMetricActivityImpl$Definition$Intercepted.getWorkspaceId(Unknown Source) ~[io.airbyte-airbyte-workers-0.44.5.jar:?]
at io.airbyte.workers.temporal.scheduling.activities.RecordMetricActivityImpl.generateTags(RecordMetricActivityImpl.java:99) ~[io.airbyte-airbyte-workers-0.44.5.jar:?]
at io.airbyte.workers.temporal.scheduling.activities.RecordMetricActivityImpl.recordWorkflowCountMetric(RecordMetricActivityImpl.java:61) ~[io.airbyte-airbyte-workers-0.44.5.jar:?]
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[?:?]
Nazif Ishrak
06/14/2023, 9:23 AMNazif Ishrak
06/14/2023, 9:32 AMClément Salaün
06/14/2023, 10:42 AMAiman
06/14/2023, 12:36 PMAirbyteJobSensor
if I'm using Python code from scratch via API? I need for my ETL improvement, thank youLuis Vicente
06/14/2023, 1:12 PMGeorge Myrianthous
06/14/2023, 1:19 PM_airbyte_emitted_at
however we would want to change it to a different field. Is this possible?Luis Vicente
06/14/2023, 1:24 PMPedro Doria
06/14/2023, 1:27 PMPeter
06/14/2023, 4:34 PMAman Kesharwani
06/14/2023, 5:18 PM2023-06-14 17:11:37 INFO i.a.w.i.VersionedAirbyteStreamFactory(internalLog):312 - Iterating S3 bucket 'xxxxxxxx' with prefix: 'airbyte'
2023-06-14 17:11:37 ERROR i.a.w.i.VersionedAirbyteStreamFactory(internalLog):308 - Traceback (most recent call last):
File "/airbyte/integration_code/source_s3/source_files_abstract/source.py", line 63, in check_connection
for file_info in stream.filepath_iterator():
File "/airbyte/integration_code/source_s3/stream.py", line 56, in filepath_iterator
response = client.list_objects_v2(**kwargs)
File "/usr/local/lib/python3.9/site-packages/botocore/client.py", line 530, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python3.9/site-packages/botocore/client.py", line 964, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied
2023-06-14 17:11:37 ERROR i.a.w.i.VersionedAirbyteStreamFactory(internalLog):308 - Check failed
2023-06-14 17:11:38 INFO i.a.w.g.DefaultCheckConnectionWorker(run):115 - Check connection job received output: io.airbyte.config.StandardCheckConnectionOutput@3a320cd8[status=failed,message=ClientError('An error occurred (AccessDenied) when calling the ListObjectsV2 operation: Access Denied'),additionalProperties={}]
Octavia Squidington III
06/14/2023, 7:45 PMJoe
06/14/2023, 8:09 PMArun Singh
06/14/2023, 9:19 PMThe form is invalid. Please make sure that all fields are correct.
How can I fix this.Deepank Agarwal
06/15/2023, 4:32 AMUnknown error (http.504.iiBiWsjYibLWn3dGRhuYUd)
My MongoDb database has a large number of collections and documents. Can that be the reason for the error? I tried the exact same process with a new test database with a single collection and it worked perfectly.
It would be really helpful if anyone could help me with the reason/solution for the error.
Thanks.Slackbot
06/15/2023, 4:54 AMSlackbot
06/15/2023, 4:55 AM