Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bug: Cannot list external agents and Reset initiated #8432

Closed
@aleRizzolo

Description

@aleRizzolo

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hello,
I was trying to run this code https://github.com/isislab-unisa/WeatherStation/tree/main
using AWS Lambda. Everytime I try to run the function, I got the following message on Docker container:

2023-06-02 18:09:58 time="2023-06-02T16:09:58Z" level=warning msg="Cannot list external agents" func-go.amzn.com/lambda/agents.ListExternalAgentPaths fil mbda-runtime-init/lambda-runtime-init/lambda/agents/agent.go:71" error="open /opt/extensions: no such file or directory"

2023-06-02 18:10:02 time="2023-06-02T16:10:02Z" level=warning msg="Reset initiated: Timeout" func-go.amzn.com/lambda/rapid.handleReset file="/home/runner/work/lambda-runtime-in
it/lambda-runtime-init/lambda/rapid/start.go:589"

and checking the out file I got {"errorMessage":"2023-06-02T16:10:02Z 5306f0c4-deab-4097-9214-ed92a6994374 Task timed out after 3.00 seconds"}

Expected Behavior

The function should execute without problem

How are you starting LocalStack?

With a docker run command

Steps To Reproduce

How are you starting localstack (e.g., bin/localstack command, arguments, or docker-compose.yml)

docker run -d -v /var/run/docker.sock:/var/run/docker.sock --rm -p 4566:4566 --name aws localstack/localstack

Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)

All the ocmmands are available in the repository linked above

Environment

- OS: Windows 10 (WSL2) but I've also tried Ubuntu 23.04
- LocalStack: latest Docker image

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions