Open leonardo-lages-hyperflow opened 10 months ago
If we put the region occurs another error that showed in the log below:
Caused by: java.lang.IllegalStateException: Only one of Region or EndpointConfiguration may be set.
at com.amazonaws.client.builder.AwsClientBuilder.setRegion(AwsClientBuilder.java:450)
at com.amazonaws.client.builder.AwsClientBuilder.configureMutableProperties(AwsClientBuilder.java:424)
at com.amazonaws.client.builder.AwsSyncClientBuilder.build(AwsSyncClientBuilder.java:46)
at com.van.logging.aws.AwsClientHelpers.buildClient(AwsClientHelpers.java:88)
at com.van.logging.aws.S3PublishHelper.
@jdpgrailsdev is this the problem you had with the latest version of Airbyte and Log4j?
I think the solution was done by https://github.com/airbytehq/airbyte-platform/commit/28e4bfc35b31a2535c0970dfcfd77fcf72b53ca4 probably need wait a new release of Helm Chart.
@leonardo-lages-hyperflow can you share the Chart App version you're using?
@leonardo-lages-hyperflow there is a new release platform 0.50.45 and chart 0.50.115 please run some tests with the new version
Confirmed the logs are showing in latest Helm version
Hi @marcosmarxm that problem was solved Thank you!
But now I'm getting another problem, the worker can't connect to the external minio, as you can see in the log bellow:
2024-01-27 15:56:38 [32mINFO[m i.a.w.ApplicationInitializer(registerWorkerFactory):182 - Registering worker factories.... 2024-01-27 15:56:39 [32mINFO[m i.a.w.ApplicationInitializer(registerGetSpec):278 - Get Spec Workflow registered. 2024-01-27 15:56:39 [32mINFO[m i.a.w.ApplicationInitializer(registerCheckConnection):231 - Check Connection Workflow registered. 2024-01-27 15:56:39 [32mINFO[m i.a.w.ApplicationInitializer(registerDiscover):264 - Discover Workflow registered. 2024-01-27 15:56:39 [32mINFO[m i.a.w.ApplicationInitializer(registerSync):291 - Registering sync workflow for task queue 'SYNC'... 2024-01-27 15:56:39 [32mINFO[m i.a.w.ApplicationInitializer(registerSync):301 - Sync Workflow registered. 2024-01-27 15:56:39 [32mINFO[m i.a.w.ApplicationInitializer(registerConnectionManager):247 - Connection Manager Workflow registered. 2024-01-27 15:56:39 [32mINFO[m i.a.w.ApplicationInitializer(registerNotification):209 - registering new notification workflow 2024-01-27 15:56:39 [32mINFO[m i.a.w.ApplicationInitializer(onApplicationEvent):149 - Starting worker factory... 2024-01-27 15:56:39 [32mINFO[m i.t.i.w.Poller(start):91 - start: Poller{name=Workflow Poller taskQueue="DISCOVER_SCHEMA", namespace="default", identity=1@airbyte-worker-69cbb669fc-wdsq2} 2024-01-27 15:56:39 [32mINFO[m i.t.i.w.Poller(start):91 - start: Poller{name=Activity Poller taskQueue="DISCOVER_SCHEMA", namespace="default", identity=1@airbyte-worker-69cbb669fc-wdsq2} 2024-01-27 15:56:39 [32mINFO[m i.t.i.w.Poller(start):91 - start: Poller{name=Workflow Poller taskQueue="NOTIFY", namespace="default", identity=1@airbyte-worker-69cbb669fc-wdsq2} 2024-01-27 15:56:39 [32mINFO[m i.t.i.w.Poller(start):91 - start: Poller{name=Activity Poller taskQueue="NOTIFY", namespace="default", identity=1@airbyte-worker-69cbb669fc-wdsq2} 2024-01-27 15:56:39 [32mINFO[m i.t.i.w.Poller(start):91 - start: Poller{name=Workflow Poller taskQueue="CONNECTION_UPDATER", namespace="default", identity=1@airbyte-worker-69cbb669fc-wdsq2} 2024-01-27 15:56:39 [32mINFO[m i.t.i.w.Poller(start):91 - start: Poller{name=Activity Poller taskQueue="CONNECTION_UPDATER", namespace="default", identity=1@airbyte-worker-69cbb669fc-wdsq2} 2024-01-27 15:56:39 [32mINFO[m i.t.i.w.Poller(start):91 - start: Poller{name=Workflow Poller taskQueue="CHECK_CONNECTION", namespace="default", identity=1@airbyte-worker-69cbb669fc-wdsq2} 2024-01-27 15:56:39 [32mINFO[m i.t.i.w.Poller(start):91 - start: Poller{name=Activity Poller taskQueue="CHECK_CONNECTION", namespace="default", identity=1@airbyte-worker-69cbb669fc-wdsq2} 2024-01-27 15:56:39 [32mINFO[m i.t.i.w.Poller(start):91 - start: Poller{name=Workflow Poller taskQueue="SYNC", namespace="default", identity=1@airbyte-worker-69cbb669fc-wdsq2} 2024-01-27 15:56:39 [32mINFO[m i.t.i.w.Poller(start):91 - start: Poller{name=Activity Poller taskQueue="SYNC", namespace="default", identity=1@airbyte-worker-69cbb669fc-wdsq2} 2024-01-27 15:56:39 [32mINFO[m i.t.i.w.Poller(start):91 - start: Poller{name=Workflow Poller taskQueue="GET_SPEC", namespace="default", identity=1@airbyte-worker-69cbb669fc-wdsq2} 2024-01-27 15:56:39 [32mINFO[m i.t.i.w.Poller(start):91 - start: Poller{name=Activity Poller taskQueue="GET_SPEC", namespace="default", identity=1@airbyte-worker-69cbb669fc-wdsq2} 2024-01-27 15:56:39 [32mINFO[m i.a.w.ApplicationInitializer(onApplicationEvent):152 - Application initialized. 2024-01-27 15:56:39 appender-core-5.0.0.jar:?:98 - Startup completed in 17084ms. Server Running: http://airbyte-worker-69cbb669fc-wdsq2:9000 2024-01-27 15:57:33 [1;31mERROR[m c.v.l.BufferPublisher(startPublish):38 - Cannot start publish with com.van.logging.aws.S3PublishHelper@fd56c64 due to error java.lang.RuntimeException: Cannot start publishing: Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: null; S3 Extended Request ID: null; Proxy: null) at com.van.logging.aws.S3PublishHelper.start(S3PublishHelper.java:80) ~[appender-core-5.0.0.jar:?] at com.van.logging.BufferPublisher.startPublish(BufferPublisher.java:36) ~[appender-core-5.0.0.jar:?] at com.van.logging.LoggingEventCache.publishEventsFromFile(LoggingEventCache.java:199) ~[appender-core-5.0.0.jar:?] at com.van.logging.LoggingEventCache.lambda$publishCache$0(LoggingEventCache.java:255) ~[appender-core-5.0.0.jar:?] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?] 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.amazonaws.services.s3.model.AmazonS3Exception: Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: null; S3 Extended Request ID: null; Proxy: null) at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1879) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleServiceErrorResponse(AmazonHttpClient.java:1418) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1387) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1157) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:814) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:781) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:755) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:715) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:697) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:561) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:541) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5437) ~[aws-java-sdk-s3-1.12.6.jar:?] at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5384) ~[aws-java-sdk-s3-1.12.6.jar:?] at com.amazonaws.services.s3.AmazonS3Client.headBucket(AmazonS3Client.java:1445) ~[aws-java-sdk-s3-1.12.6.jar:?] at com.amazonaws.services.s3.AmazonS3Client.doesBucketExist(AmazonS3Client.java:1381) ~[aws-java-sdk-s3-1.12.6.jar:?] at com.van.logging.aws.S3PublishHelper.start(S3PublishHelper.java:73) ~[appender-core-5.0.0.jar:?] ... 8 more 2024-01-27 15:57:33 [1;31mERROR[m c.v.l.BufferPublisher(endPublish):69 - Cannot end publish with com.van.logging.aws.S3PublishHelper@fd56c64 due to error java.lang.RuntimeException: Cannot end publishing: Cannot publish to S3: Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: null; S3 Extended Request ID: null; Proxy: null) at com.van.logging.AbstractFilePublishHelper.end(AbstractFilePublishHelper.java:66) ~[appender-core-5.0.0.jar:?] at com.van.logging.BufferPublisher.endPublish(BufferPublisher.java:67) ~[appender-core-5.0.0.jar:?] at com.van.logging.LoggingEventCache.publishEventsFromFile(LoggingEventCache.java:210) ~[appender-core-5.0.0.jar:?] at com.van.logging.LoggingEventCache.lambda$publishCache$0(LoggingEventCache.java:255) ~[appender-core-5.0.0.jar:?] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) ~[?:?] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) ~[?:?] 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: java.lang.RuntimeException: Cannot publish to S3: Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: null; S3 Extended Request ID: null; Proxy: null) at com.van.logging.aws.S3PublishHelper.publishFile(S3PublishHelper.java:131) ~[appender-core-5.0.0.jar:?] at com.van.logging.AbstractFilePublishHelper.end(AbstractFilePublishHelper.java:61) ~[appender-core-5.0.0.jar:?] ... 8 more Caused by: com.amazonaws.services.s3.model.AmazonS3Exception: Bad Request (Service: Amazon S3; Status Code: 400; Error Code: 400 Bad Request; Request ID: null; S3 Extended Request ID: null; Proxy: null) at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1879) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleServiceErrorResponse(AmazonHttpClient.java:1418) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1387) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1157) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:814) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:781) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:755) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:715) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:697) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:561) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:541) ~[aws-java-sdk-core-1.12.510.jar:?] at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5437) ~[aws-java-sdk-s3-1.12.6.jar:?] at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:5384) ~[aws-java-sdk-s3-1.12.6.jar:?] at com.amazonaws.services.s3.AmazonS3Client.access$300(AmazonS3Client.java:421) ~[aws-java-sdk-s3-1.12.6.jar:?] at com.amazonaws.services.s3.AmazonS3Client$PutObjectStrategy.invokeServiceCall(AmazonS3Client.java:6508) ~[aws-java-sdk-s3-1.12.6.jar:?] at com.amazonaws.services.s3.AmazonS3Client.uploadObject(AmazonS3Client.java:1856) ~[aws-java-sdk-s3-1.12.6.jar:?] at com.amazonaws.services.s3.AmazonS3Client.putObject(AmazonS3Client.java:1816) ~[aws-java-sdk-s3-1.12.6.jar:?] at com.van.logging.aws.S3PublishHelper.publishFile(S3PublishHelper.java:126) ~[appender-core-5.0.0.jar:?] at com.van.logging.AbstractFilePublishHelper.end(AbstractFilePublishHelper.java:61) ~[appender-core-5.0.0.jar:?] ... 8 more
I recommend to use the default minio for now. There are some work being done to improve the existing chart.
I make it workairbyte/worker:0.50.47
and helm chart 0.53.52
-> https://github.com/airbytehq/airbyte/issues/31988#issuecomment-1927252063
At Airbyte, we seek to be clear about the project priorities and roadmap. This issue has not had any activity for 180 days, suggesting that it's not as critical as others. It's possible it has already been fixed. It is being marked as stale and will be closed in 20 days if there is no activity. To keep it open, please comment to let us know why it is important to you and if it is still reproducible on recent versions of Airbyte.
Platform Version
0.50.14
What step the error happened?
On deploy
Revelant information
When the worker start happens an error which blocks the use of connectors.
The documentation tells to disable minio, enable externalMinio and then put the s3 region empty. But when we do this occurs the error showed in the log.
Relevant log output