Connection was closed while response was still in-flight with localstack-s3

Hello, i’m running locally

docker run -e SERVICES='s3' -e DEFAULT_REGION='eu-west-1' -p 4566:4566 -it localstack/localstack:0.11.6
  • create bucket with aws cli:
aws --endpoint-url=http://localhost:4566 s3 mb s3://testBucket
  • when calling:
S3.checkIfBucketExists("testBucket")

it fails with error:
Connection was closed while response was still in-flight

Am i missing something ?

alpakka.s3.access-style = path

adding this config to application.conf solved it for me.