Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

53612: bind: address already in use #808

Open
JachMinen opened this issue Dec 18, 2023 · 3 comments
Open

53612: bind: address already in use #808

JachMinen opened this issue Dec 18, 2023 · 3 comments

Comments

@JachMinen
Copy link

JachMinen commented Dec 18, 2023


name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''


Describe the bug
Lambda will occasionally encounter this error during initialization of environment:
telemetryAPI.Listener
Unexpected stop on HTTP Server
listen tcp ---.---.---.---:53612: bind: address already in use
When this happens, the next invocation will run successfully at first, but then time out when trying to export metrics.
This only seems to happen on cold start of new environment and usually resolves itself after 1 or 2 invocations in that environment.

Steps to reproduce
Unknown

What did you expect to see?
Lambda runs and metrics are exported successfully

What did you see instead?
Lambda times out

What version of collector/language SDK version did you use?
Version: aws-otel-python-amd64-ver-1-20-0:3

What language layer did you use?
Config: Python3.9

Additional context
Lambda also has layers for Lambda Insights and Python libraries

@drobert
Copy link

drobert commented Mar 4, 2024

We've been bumping into this, too. We're using a fastapi python app in a docker-based lambda also using aws-otel-python-amd64-ver-1-20-0:3

@Xaaris
Copy link

Xaaris commented Mar 8, 2024

Same here on aws-otel-collector-arm64-ver-0-90-1:1

@jan-xyz
Copy link
Contributor

jan-xyz commented Apr 25, 2024

@drobert and @JachMinen are you using otlptracegrpc.WithDialOption(grpc.WithBlock()) for your SDK client setup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants