Giter Club home page Giter Club logo

Comments (9)

debora-ito avatar debora-ito commented on August 18, 2024 1

@ffried thank you for reaching out - and bonus points for using collapsible sections in the repro steps. We'll investigate.

from aws-sdk-java-v2.

tedahn avatar tedahn commented on August 18, 2024

So this issue occurred for me as well…
we are using some modified version of: amazoncorretto:17 jdk-alpine 3.17

I’m just here to mention we switched the image to amazoncorretto 17 jdk ubuntu 20.04
And it worked 🥹

(But of course you can also use non-crt3 as an alternative…)

from aws-sdk-java-v2.

JeHuiPark avatar JeHuiPark commented on August 18, 2024

I am also encountering this issue.

sdk version: 2.25.7
runtime image: eclipse-temurin:17-jre-alpine

from aws-sdk-java-v2.

gweekleyprovidertrust avatar gweekleyprovidertrust commented on August 18, 2024

I am encountering this issue with:

  • software.amazon.awssdk 2.25.8
  • software.amazon.awssdk.crt:aws-crt 0.29.11
  • runtime image eclipse-temurin:21-alpine

from aws-sdk-java-v2.

agebhar1 avatar agebhar1 commented on August 18, 2024

This problem also occurs when the official Alpine-based Apache Kafka container is used in Eventbridge tests. A simplified version of the failing execution:

try (var ebClient = EventBridgeAsyncClient.builder()
        .region(US_EAST_1)
        .endpointOverride(ENDPOINT)
        .httpClientBuilder(AwsCrtAsyncHttpClient.builder())
        .overrideConfiguration(clientConfig)
        .credentialsProvider(DefaultCredentialsProvider.create())
        .build()
) {
    var entry = PutEventsRequestEntry.builder()
            .eventBusName(EVENTBUS_ARN)
            .source("kafka-connect.eventbridge-e2e-connector")
            .detailType("kafka-connect-eventbridge-e2e")
            .detail("{\"topic\":\"eventbridge-e2e\",\"partition\":0,\"offset\":0,\"timestamp\":1688464495808,\"timestampType\":\"CreateTime\",\"headers\":[],\"key\":null,\"value\":{\"hello\":\"world\"}}")
            .build();
    var request = PutEventsRequest.builder().entries(entry).build();
    logger.info("{}", request);

    try {
        var response = ebClient.putEvents(request).get(SDK_TIMEOUT, MILLISECONDS);
        logger.info("{}", response);
    } catch (InterruptedException | ExecutionException | TimeoutException e) {
        logger.error("Doh!", e);
    }
}

If does not fail when using Java w/ glibc. See attached log files with -Daws.crt.log.level=Debug enabled:

alpine-temurin21.log
ubuntu-temurin21.log

The used versions:

  • software.amazon.awssdk 2.24.10
  • software.amazon.awssdk.crt:aws-crt 0.29.13
  • Eclipse Temurin Container: eclipse-temurin:21-jre/eclipse-temurin:21-jre-alpine

Also, it does not fail if AwsCrtAsyncHttpClient is not used.

from aws-sdk-java-v2.

UditMishraMoodys avatar UditMishraMoodys commented on August 18, 2024

@debora-ito any update on this? we're facing the same issue with alpine and temurin 17 and it's blocking us

from aws-sdk-java-v2.

samleeflang avatar samleeflang commented on August 18, 2024

Got the same issue here as well, running on:

  • software.amazon.awssdk:s3 2.25.23
  • software.amazon.awssdk:aws-crt-client 2.25.23
  • runtime image eclipse-temurin:21-jre-alpine

Same issue running with the S3AsyncClient.builder().build() (no CRT) succeeds, running the CRT client it fails.
Giving exactly the same error messages as posted by agebhar1.

from aws-sdk-java-v2.

KL0nLutiy avatar KL0nLutiy commented on August 18, 2024

Same issue, using:

  • software.amazon.awssdk 2.25.18
  • software.amazon.awssdk.crt:aws-crt 0.29.13
  • runtime image amazoncorretto:11.0.20-alpine

from aws-sdk-java-v2.

vinujan59 avatar vinujan59 commented on August 18, 2024

Changing the base image for the spring boot app from eclipse-temurin:17-jdk-alpine to eclipse-temurin:17-jdk-jammy works

software.amazon.awssdk 2.26.9
software.amazon.awssdk.crt:aws-crt 0.29.25

from aws-sdk-java-v2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.