-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Job Sync fails with StackOverflow
error: an exception occurred processing Appender SecretMaskRewrite
#38924
Comments
@ragyabraham, could you give more details about your deployment? Like resources of your cluster and the number and type of connectors you're using? |
Hi, @marcosmarxm. The deployment is currently very simple. We are just trying to get it to a state where it works and syncs data. At the moment, everything is running on a single cluster that has a single node pool with a limit of 6 nodes. Airbyte is deployed with a vanilla helm chart, we have not changed any of the values as of yet. We are only running a single connector, BigQuery. |
@ragyabraham did you configured the secret manager or it this actually a defautl chart value run? I didn't see any other user complain using the default values. |
StackOverflow
error: an exception occurred processing Appender SecretMaskRewrite
@marcosmarxm This is a complete vanilla implementation. I have not changed any values at all. The only thing that's 'changed' is that it's being deployed in a specific namespace. Also, I should add that this error only occurs on the sync after airbyte has pulled the schema from BQ. Which tells me it can communicate with BQ. So not sure why it fails on the sync step |
I'm also experiencing this issue using the almost default docker-compose setup v0.63.0. Only real difference to the default is that we have AWS secrets manager enabled for secret storage. |
I tried switching to Google Secret Manger as the secret store, following the instructions in this doc. However, gives me the below error 2024-06-19 00:04:35 ERROR i.a.s.e.UncaughtExceptionHandler(handle):31 - Uncaught exception
java.lang.RuntimeException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
at io.airbyte.server.apis.ApiHelper.execute(ApiHelper.java:46) ~[io.airbyte-airbyte-server-0.60.1.jar:?]
at io.airbyte.server.apis.SourceApiController.createSource(SourceApiController.java:94) ~[io.airbyte-airbyte-server-0.60.1.jar:?]
at io.airbyte.server.apis.$SourceApiController$Definition$Exec.dispatch(Unknown Source) ~[io.airbyte-airbyte-server-0.60.1.jar:?]
at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecutableMethodsDefinition.java:461) ~[micronaut-inject-4.4.8.jar:4.4.8]
at io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:4232) ~[micronaut-inject-4.4.8.jar:4.4.8]
at io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:271) ~[micronaut-router-4.4.8.jar:4.4.8]
at io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:488) ~[micronaut-http-server-4.4.8.jar:4.4.8]
at io.micronaut.http.server.RouteExecutor.lambda$callRoute$6(RouteExecutor.java:465) ~[micronaut-http-server-4.4.8.jar:4.4.8]
at io.micronaut.core.execution.ExecutionFlow.lambda$async$1(ExecutionFlow.java:87) ~[micronaut-core-4.4.8.jar:4.4.8]
at io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:211) ~[micronaut-core-4.4.8.jar:4.4.8]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1659) ~[gson-2.10.1.jar:?]
at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1465) ~[gson-2.10.1.jar:?]
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:602) ~[gson-2.10.1.jar:?]
at com.google.gson.stream.JsonReader.peek(JsonReader.java:433) ~[gson-2.10.1.jar:?]
at com.google.api.client.json.gson.GsonParser.nextToken(GsonParser.java:149) ~[google-http-client-gson-1.44.1.jar:?]
at com.google.api.client.json.JsonParser.startParsing(JsonParser.java:213) ~[google-http-client-1.44.1.jar:1.44.1]
at com.google.api.client.json.JsonParser.parse(JsonParser.java:358) ~[google-http-client-1.44.1.jar:1.44.1]
at com.google.api.client.json.JsonParser.parse(JsonParser.java:335) ~[google-http-client-1.44.1.jar:1.44.1]
at com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:79) ~[google-http-client-1.44.1.jar:1.44.1]
at com.google.api.client.json.JsonObjectParser.parseAndClose(JsonObjectParser.java:73) ~[google-http-client-1.44.1.jar:1.44.1]
at com.google.auth.oauth2.GoogleCredentials.fromStream(GoogleCredentials.java:189) ~[google-auth-library-oauth2-http-1.23.0.jar:1.23.0]
at com.google.auth.oauth2.ServiceAccountCredentials.fromStream(ServiceAccountCredentials.java:469) ~[google-auth-library-oauth2-http-1.23.0.jar:1.23.0]
at com.google.auth.oauth2.ServiceAccountCredentials.fromStream(ServiceAccountCredentials.java:452) ~[google-auth-library-oauth2-http-1.23.0.jar:1.23.0]
at io.airbyte.config.secrets.persistence.GoogleSecretManagerServiceClient.createClient(GoogleSecretManagerPersistence.kt:138) ~[io.airbyte.airbyte-config-config-secrets-0.60.1.jar:?]
at io.airbyte.config.secrets.persistence.GoogleSecretManagerPersistence.writeWithExpiry(GoogleSecretManagerPersistence.kt:96) ~[io.airbyte.airbyte-config-config-secrets-0.60.1.jar:?]
at io.airbyte.config.secrets.SecretsRepositoryWriter.splitSecretConfig(SecretsRepositoryWriter.kt:144) ~[io.airbyte.airbyte-config-config-secrets-0.60.1.jar:?]
at io.airbyte.config.secrets.SecretsRepositoryWriter.splitSecretConfig$default(SecretsRepositoryWriter.kt:128) ~[io.airbyte.airbyte-config-config-secrets-0.60.1.jar:?]
at io.airbyte.config.secrets.SecretsRepositoryWriter.statefulSplitSecrets(SecretsRepositoryWriter.kt:58) ~[io.airbyte.airbyte-config-config-secrets-0.60.1.jar:?]
at io.airbyte.data.services.impls.jooq.SourceServiceJooqImpl.writeSourceConnectionWithSecrets(SourceServiceJooqImpl.java:723) ~[io.airbyte-airbyte-data-0.60.1.jar:?]
at io.airbyte.commons.server.handlers.SourceHandler.persistSourceConnection(SourceHandler.java:492) ~[io.airbyte-airbyte-commons-server-0.60.1.jar:?]
at io.airbyte.commons.server.handlers.SourceHandler.createSource(SourceHandler.java:177) ~[io.airbyte-airbyte-commons-server-0.60.1.jar:?]
at io.airbyte.commons.server.handlers.SourceHandler.createSourceWithOptionalSecret(SourceHandler.java:140) ~[io.airbyte-airbyte-commons-server-0.60.1.jar:?]
at io.airbyte.server.apis.SourceApiController.lambda$createSource$4(SourceApiController.java:94) ~[io.airbyte-airbyte-server-0.60.1.jar:?]
at io.airbyte.server.apis.ApiHelper.execute(ApiHelper.java:28) ~[io.airbyte-airbyte-server-0.60.1.jar:?] |
Helm Chart Version
0.87.4
What step the error happened?
During the Sync
Relevant information
Currently running airbyte on GKE using the airbyte helm chart. However, when trying to sync a datasource we get the following error in the worker pod. This causes the sync to timeout
Relevant log output
No response
The text was updated successfully, but these errors were encountered: