574 questions
1
vote
1
answer
17
views
Error "error: ERR 211 Not enough local stack" while building on GeneXus 17
When building a KB in GeneXus 17, it outputs the following error:
error: ERR 211 Not enough local stack
Followed by:
warning: [BuildDaemon] Auto restarting Specifier daemon. True - AutoRestartCount:
...
0
votes
1
answer
69
views
How can I disable ssl upon sqs on localstack?
Upon a symfony app I try to use localstack for local sqs:
services:
php:
container_name: php
build:
context: ./php
args:
TIMEZONE: ${...
0
votes
0
answers
43
views
What is the correct configuration of Testcontainers and LocalStack to test S3ControlClient createAccessPoint?
When testing s3ControlClient.createAccessPoint(request); I am getting a NPE due to the underlying URL having the default accountId + localhost as the URI. This AWS toolkit cannot identify a host and ...
0
votes
0
answers
57
views
How to configure Java application to use LocalStack?
I have a Java application, which uses AWS SDK Java 2.31.12 to list objects in a S3 bucket. I setup LocalStack, but I can't configure my Java application to use LocalStack instead of AWS.
Profile
I ...
1
vote
0
answers
43
views
How can I get Maven to build a Java project automatically for hot-reloading (with Localstack)
First, a little background:
I’m working on a proof of concept Java project that demonstrates how to develop, run and debug AWS Lambda functions locally using Localstack.
This is the code for this ...
0
votes
1
answer
287
views
Connection refused error (127.0.0.1:4566) for Localstack S3 in NestJS
I'm quite new to AWS and docker.
In my local development environment, I want to upload files from the app server and place the files in localstack s3.
However, when I try to access localstack s3 from ...
0
votes
0
answers
40
views
How to integrate the sam-cli with localstack?
I want to test my projects that consist of lambda functions on localstack. How should I integrate it?
0
votes
1
answer
63
views
running localstack on docker compose throws java.net.UnknownHostException: module-1.localstack exception
I am running spring boot application and localstack with docker compose, it seems that I configured correctly but still throws the exception. my compose file:
version: '3.9'
services:
localstack:
...
0
votes
1
answer
372
views
How to local test a java AWS lambda function using LocalStack
I was following the article baeldung site
I did the step
docker run \
--rm -it \
-p 127.0.0.1:4566:4566 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ./target:/opt/code/...
0
votes
1
answer
120
views
SNS Errors on LocalStack when Publishing with MassTransit
I am trying to send a simple message between two applications using MassTransit and AWS/Localstack:
public record AddContextMessage
{
public required string Host { get; init; } = string.Empty;
...
0
votes
2
answers
343
views
Test Springboot + SQS + Localstack throws exceptions
I have an application with Springboot and AWS Cloud SQS and I want to test it using Localstack.
All my tests run with a green status successfully, but my terminal is full of errors. The errors are as ...
0
votes
0
answers
54
views
Aws localstack get dynamo DB from lambda in localstack
Ive a lambda and a dynaoDB set in a localstack.
The dyanmodDB table is correctly created(visible in web localstack + awslocal dynamodb list-tables in localstack-main container bash)
In localstack-...
0
votes
1
answer
180
views
Localstack cdklocal --version throwing error on Ubuntu
I am seeing the following error while trying check version of cdklocal
My OS is ubuntu
I am using NVM and tried with versions from 19~23. All giving this error not sure what is misconfigured.
../...
0
votes
0
answers
56
views
Logger connected to CloudWatch doesn't work when trying to send logs using localstack inside a Dagster unit test
I've been trying to send logs to a localstack Docker container inside a Dagster Unit/Integration Test, with the following configurations:
For the custom logger:
@logger(
{
"name":...
0
votes
1
answer
88
views
Generate static id in the generated URL, when using api gateway with localstack and sam template
Is is possible to generate custom id for the api gateway generated url, when using SAM template and localstack.
I have read the documentation provided by localstack, where they have mentioned that ...
0
votes
0
answers
151
views
Why can't my Docker container communicate with LocalStack on Apache Airflow?
I'm trying to test a Docker container that interacts with LocalStack using Testcontainers within an Apache Airflow DockerOperator.
In my setup, I have:
An Airflow DAG that uses the DockerOperator to ...
0
votes
1
answer
162
views
EndpointConnectionError using Localstack with Django
I'm working on setting up Localstack in my Django app so we don't need to connect to S3 for local development. This is the relevant part of my docker-compose:
app:
build:
context: .
...
1
vote
1
answer
2k
views
Localstack SQS Missing Action
I'm using a fairly simple set up with local stack to emulate reading from an AWS SQS queue. When I run this boiler plate code I get an error about missing action.
Exception has occurred: CLR/Amazon....
2
votes
2
answers
196
views
ERROR: failed to register layer: Error processing tar file(exit status 1)
When I am running Localstack then I am getting the error:
PS D:\Localstack> docker-compose up Pulling localstack
(localstack/localstack:latest)... latest: Pulling from
localstack/localstack ...
1
vote
1
answer
1k
views
How do I delete or purge localstack completely from my machine? (MAC OS 14.3.1 (23D60))
I've had issues with localstack, so I wanted to delete it and reinstall a new. I tried multiple commands to remove it which included pip uninstall localstack-cli, pip3 uninstall localstack-cli and ...
1
vote
1
answer
318
views
How do I persist S3 buckets across restarts in localstack?
I am having trouble persisting S3 buckets (and their contents) across restarts in my localstack deployment on my dev machine.
This is my docker-compose.yaml file
version: "3.8"
services:
...
0
votes
1
answer
369
views
How can I get a Testcontainers localstack s3 signed URLs to time out and return FORBIDDEN?
I'm trying to test out the timeout for a signed PUT S3 URL but files always get uploaded to localstack s3 regardless. Same code works (Spring Boot) and does time out returning 403 FORBIDDEN on an ...
1
vote
2
answers
593
views
UnknownHostException with Quarkus and LocalStack S3
I have quarkus application with an REST endpoint to upload file to S3.
With devservices by default I can see localstack container running.
I am trying to build s3client as below and the application ...
0
votes
2
answers
377
views
File "/usr/local/lib/python3.11/threading.py", line 964, in start _start_new_thread(self._bootstrap, ()) RuntimeError: can't start new thread [closed]
When I am trying to rub localstack/localstack by
docker run --rm -it -p 4566:4566 -p 4510-4559:4510-4559 localstack/localstack
I am getting error
LocalStack version: 3.5.1.dev
LocalStack build date: ...
1
vote
1
answer
1k
views
AWSlocal Error: 500 when calling aws sqs queue through localstack - (reached max retries: 4)
I am new to Docker and AWS, but trying do a small project.
Aim is to get data from AWS SQS queue through localstack, make a few transformations in local machine and store it in Postgres database. I am ...